Skip to main content
Network Thinking Solutions Logo

CVE-2024-58017

In the Linux kernel, the following vulnerability has been resolved: printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX Shifting 1 << 31 on a 32-bit int causes signed integer overflow, which leads to undefined behavior.

All CVEs
CVE-2024-58017Published 2/27/2025

In the Linux kernel, the following vulnerability has been resolved: printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX Shifting 1 << 31 on a 32-bit int causes signed integer overflow, which leads to undefined behavior.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX Shifting 1 << 31 on a 32-bit int causes signed integer overflow, which leads to undefined behavior. To prevent this, cast 1 to u32 before performing the shift, ensuring well-defined behavior. This change explicitly avoids any potential overflow by ensuring that the shift occurs on an unsigned 32-bit integer.

Published
2/27/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 6.1.129

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.78

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.14

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.3

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 54c14022fa2ba427dc543455c2cf9225903a7174

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < dfb7b179741ee09506dc7719d92f9e1cea01f10e

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 9a6d43844de2479a3ff8d674c3e2a16172e01598

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 4acf6bab775dbd22a9a799030a808a7305e01d63

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 404e5fd918a0b14abec06c7eca128f04c9b98e41

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 4a2c4e7265b8eed83c25d86d702cea06493cab18

Verify advisory

Source
Linux
Linux
≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 3d6f83df8ff2d5de84b50377e4f0d45e25311c7a

Verify advisory

Source
Linux
Linux
55b2c1ccb82143be1ed9e1922976dbe63917fe68

Verify advisory

Source
Linux
Linux
089d475a4cdb5848998b3cb37e545413ed054784

Verify advisory

Source
Linux
Linux
695583334b6b7f82c39ee124edfbfa48145ed571

Verify advisory

Source
Linux
Linux
3404019d6d0f4c0108b77d44e97e2e39ca937e6f

Verify advisory

Source
Linux
Linux
≥ 4.4.203, < 4.5

Verify advisory

Source
Linux
Linux
≥ 4.9.203, < 4.10

Verify advisory

Source
Linux
Linux
≥ 4.14.156, < 4.15

Verify advisory

Source
Linux
Linux
≥ 4.19.86, < 4.20

Verify advisory

Source
Linux
Linux
4.20

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.