cbcvebase.
CVE-2024-58017
published 2025-02-27

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…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
13.5th percentile
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.

Affected

34 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.129-1 (bookworm)linux 6.1.129-1 (bookworm)
debianlinux-6.1< linux 6.1.129-1 (bookworm)linux 6.1.129-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 4.14.156 < 4.154.15
linuxlinux>= 4.19.86 < 4.204.20
linuxlinux>= 4.4.203 < 4.54.5
linuxlinux>= 4.9.203 < 4.104.10
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 54c14022fa2ba427dc543455c2cf9225903a717454c14022fa2ba427dc543455c2cf9225903a7174
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < dfb7b179741ee09506dc7719d92f9e1cea01f10edfb7b179741ee09506dc7719d92f9e1cea01f10e
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 9a6d43844de2479a3ff8d674c3e2a16172e015989a6d43844de2479a3ff8d674c3e2a16172e01598
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 4acf6bab775dbd22a9a799030a808a7305e01d634acf6bab775dbd22a9a799030a808a7305e01d63
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 404e5fd918a0b14abec06c7eca128f04c9b98e41404e5fd918a0b14abec06c7eca128f04c9b98e41
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 4a2c4e7265b8eed83c25d86d702cea06493cab184a2c4e7265b8eed83c25d86d702cea06493cab18
linuxlinux>= e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e < 3d6f83df8ff2d5de84b50377e4f0d45e25311c7a3d6f83df8ff2d5de84b50377e4f0d45e25311c7a
linuxlinux_kernel< 6.1.1296.1.129
linuxlinux_kernel>= 0 < 5.10.237-15.10.237-1
linuxlinux_kernel>= 0 < 6.1.129-16.1.129-1
linuxlinux_kernel>= 0 < 6.12.15-16.12.15-1
linuxlinux_kernel>= 0 < 6.12.15-16.12.15-1
linuxlinux_kernel>= 0 < 5.4.0-216.2365.4.0-216.236

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.