CVE-2024-58017
MEDIUM5.5EPSS 0.01%發布日:2025/2/27修改日:2026/4/28
也稱為:DEBIAN-CVE-2024-58017
描述
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.
受影響套件(2)
- Debian/linuxfrom 0, < 5.10.237-1
- Debian/linux-6.1from 0, < 6.1.129-1~deb11u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |