CVE-2024-58017: linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2024-58017 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 52 · Related 51Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
+0.01 pp
From 0.25% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu137 products
- linuxAll versions (No fix recorded) | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 54c14022fa2ba427dc543455c2cf9225903a7174 | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < dfb7b179741ee09506dc7719d92f9e1cea01f10e | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1 | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 9a6d43844de2479a3ff8d674c3e2a16172e01598 | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 4acf6bab775dbd22a9a799030a808a7305e01d63 | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 404e5fd918a0b14abec06c7eca128f04c9b98e41 | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 4a2c4e7265b8eed83c25d86d702cea06493cab18 | ≥ e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e, < 3d6f83df8ff2d5de84b50377e4f0d45e25311c7a | 55b2c1ccb82143be1ed9e1922976dbe63917fe68 | 089d475a4cdb5848998b3cb37e545413ed054784 | 695583334b6b7f82c39ee124edfbfa48145ed571 | 3404019d6d0f4c0108b77d44e97e2e39ca937e6f | ≥ 4.4.203, < 4.5 | ≥ 4.9.203, < 4.10 | ≥ 4.14.156, < 4.15 | ≥ 4.19.86, < 4.20 | 4.20
- linux_kernel< 6.1.129 | ≥ 6.2, < 6.6.78 | ≥ 6.7, < 6.12.14 | ≥ 6.13, < 6.13.3
Debian1 product
- linux< 6.1.129-1 | < 6.12.15-1
3 vendors · 140 products