CVE-2024-58017

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedFeb 27, 2025
First seenFeb 27, 2025

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 6.1.129, 6.2 ≤ v < 6.6.78, 6.7 ≤ v < 6.12.14, 6.13 ≤ v < 6.13.36.1.129, 6.6.78, 6.12.14, 6.13.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.