CVE-2024-58017: Linux kernel · printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 5 Nov 2026, 23:23 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Exploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux | Affected
| Fixed in– |
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.
References
- git.kernel.org/stable/c/54c14022fa2ba427dc543455c2cf9225903a7174 (opens in a new tab)
- git.kernel.org/stable/c/dfb7b179741ee09506dc7719d92f9e1cea01f10e (opens in a new tab)
- git.kernel.org/stable/c/bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1 (opens in a new tab)
- git.kernel.org/stable/c/9a6d43844de2479a3ff8d674c3e2a16172e01598 (opens in a new tab)
- git.kernel.org/stable/c/4acf6bab775dbd22a9a799030a808a7305e01d63 (opens in a new tab)
- git.kernel.org/stable/c/404e5fd918a0b14abec06c7eca128f04c9b98e41 (opens in a new tab)
- git.kernel.org/stable/c/4a2c4e7265b8eed83c25d86d702cea06493cab18 (opens in a new tab)
- git.kernel.org/stable/c/3d6f83df8ff2d5de84b50377e4f0d45e25311c7a (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-784472.html (opens in a new tab)