CVE-2024-58017 - CVE House
Back to Database
Status published Unknown CVE-2024-58017

printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-58017

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, 55b2c1ccb82143be1ed9e1922976dbe63917fe68, 089d475a4cdb5848998b3cb37e545413ed054784, 695583334b6b7f82c39ee124edfbfa48145ed571, 3404019d6d0f4c0108b77d44e97e2e39ca937e6f, 4.4.203, 4.9.203, 4.14.156, 4.19.86, 4.20, 0, 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.78, 6.12.14, 6.13.3, 6.14

Timeline

Official Publish: February 27th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.