All reports
Medium

kernel: bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-35983

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS bits_per() rounds up to the next power of two when passed a power of two. This causes crashes on some machines and configurations.

A vulnerability was found in the Linux kernel related to the improper handling of power-of-two values for CONFIG_NR_CPUS. The bits_per() function incorrectly rounds up to the next power of two when given a power of two, causing crashes on certain systems.