CVE-2024-58017
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-190CVE-2024-58017 is a Integer Overflow vulnerability
What is Integer Overflow?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.4.203,
4.9.203,
4.14.156,
4.19.86,
4.20
and later are affected. Fixed in
5.4.291,
5.10.235,
5.15.179,
6.1.129,
6.6.78,
6.12.14,
6.13.3,
6.14
and their respective stable series.
References
The following references provide additional information about CVE-2024-58017 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3d6f83df8ff2d5de84b50377e4f0d45e25311c7a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/404e5fd918a0b14abec06c7eca128f04c9b98e41
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4a2c4e7265b8eed83c25d86d702cea06493cab18
Frequently asked questions
-
What is CVE-2024-58017?
CVE-2024-58017 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Integer Overflow flaw (CWE-190) . It affects Linux kernel versions from 4.4.203 onward and has been patched in 5.4.291, 5.10.235, 5.15.179 and others. CVE-2024-58017 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-58017?
CVE-2024-58017 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-58017?
Yes — CVE-2024-58017 has been patched. Fixed versions include 5.4.291, 5.10.235, 5.15.179 and others. If you are running Linux kernel 4.4.203 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-58017 actively exploited?
No — CVE-2024-58017 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Integer Overflow (CWE-190)?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. View CWE-190 on MITRE CWE →