CVE-2024-58017
MEDIUM
MEDIUM
Priority: 0.01
BB Relevance:
36/100
Published: 2025-02-27
Modified: 2026-11-05
First seen: 2026-11-05
Status: active
Attack Surface
Low Complexity
No Interaction
CVSS Vector Breakdown
AV:
Local
AC:
Low
PR:
Low
UI:
None
S:
Unchanged
C:
None
I:
None
A:
High
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.
Weakness Classification (1)
Affected Software (18)
| Vendor | Product | Version |
|---|---|---|
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 54c14022fa2ba427dc543455c2cf9225903a7174 |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < dfb7b179741ee09506dc7719d92f9e1cea01f10e |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1 |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 9a6d43844de2479a3ff8d674c3e2a16172e01598 |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 4acf6bab775dbd22a9a799030a808a7305e01d63 |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 404e5fd918a0b14abec06c7eca128f04c9b98e41 |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 4a2c4e7265b8eed83c25d86d702cea06493cab18 |
| Linux | Linux | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 3d6f83df8ff2d5de84b50377e4f0d45e25311c7a |
| Linux | Linux | 55b2c1ccb82143be1ed9e1922976dbe63917fe68 |
| Linux | Linux | 089d475a4cdb5848998b3cb37e545413ed054784 |
| Linux | Linux | 695583334b6b7f82c39ee124edfbfa48145ed571 |
| Linux | Linux | 3404019d6d0f4c0108b77d44e97e2e39ca937e6f |
| Linux | Linux | 4.4.203 < 4.5 |
| Linux | Linux | 4.9.203 < 4.10 |
| Linux | Linux | 4.14.156 < 4.15 |
| Linux | Linux | 4.19.86 < 4.20 |
| Linux | Linux | 4.20 |
| linux | linux_kernel | < 6.1.129 |