CVE-2024-58017
Published: Feb 27, 2025
Modified: May 23, 2026
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e - < 54c14022fa2ba427dc543455c2cf9225903a7174affected e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e - < dfb7b179741ee09506dc7719d92f9e1cea01f10eaffected e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e - < bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1affected e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e - < 9a6d43844de2479a3ff8d674c3e2a16172e01598affected e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e - < 4acf6bab775dbd22a9a799030a808a7305e01d63+11 more versions |
Linux | Linux | affected 4.20unaffected 0 - < 4.20unaffected 5.4.291 - <= 5.4.*unaffected 5.10.235 - <= 5.10.*unaffected 5.15.179 - <= 5.15.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now