# CVE-2024-35983: bounds: Use the right number of bits for power-of-two CONFIG\_NR\_CPUS

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2024-05-20T09:47:51.079Z
- **Modified:** 2026-10-15T01:18:16.113Z

## Who should check

- Anyone running Linux \>= d6077e0d38b4953c863d0db4a5b3f41d21e0d546, \< d34a516f2635090d36a306f84573e8de3d7374ce; \>= 83a2275f9d3230c761014b1467888b1ef469be74, \< 66297b2ceda841f809637731d287bda3a93b49d8; \>= d2a7a81088c6abe778b0a93a7eeb79487a943818, \< 93ba36238db6a74a82feb3dc476e25ea424ad630; \>= 428ca0000f0abd5c99354c52a36becf2b815ca21, \< 9b7c5004d7c5ae062134052a85290869a015814c; \>= b46c822f8b555b9513df44047b0e72c06720df62, \< 15aa09d6d84629eb5296de30ac0aa19a33512f16; \>= cf778fff03be1ee88c49b72959650147573c3301, \< ebfe41889b762f1933c6762f6624b9724a25bee0; \>= f2d5dcb48f7ba9e3ff249d58fc1fa963d374e66a, \< 5af385f5f4cddf908f663974847a4083b2ff2c79; b2e1b090a590d41abe647eadb6bf2a5dc47b63ab; \>= 6.7.12, \< 6.8
- Anyone running Linux \>= 5.4.274, \< 5.4.275; \>= 5.10.215, \< 5.10.216; \>= 5.15.154, \< 5.15.158; \>= 6.1.84, \< 6.1.90; \>= 6.6.24, \< 6.6.30; \>= 6.8.3, \< 6.8.9

## 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.

## Affected and fixed versions

- Linux: \>= d6077e0d38b4953c863d0db4a5b3f41d21e0d546, \< d34a516f2635090d36a306f84573e8de3d7374ce; \>= 83a2275f9d3230c761014b1467888b1ef469be74, \< 66297b2ceda841f809637731d287bda3a93b49d8; \>= d2a7a81088c6abe778b0a93a7eeb79487a943818, \< 93ba36238db6a74a82feb3dc476e25ea424ad630; \>= 428ca0000f0abd5c99354c52a36becf2b815ca21, \< 9b7c5004d7c5ae062134052a85290869a015814c; \>= b46c822f8b555b9513df44047b0e72c06720df62, \< 15aa09d6d84629eb5296de30ac0aa19a33512f16; \>= cf778fff03be1ee88c49b72959650147573c3301, \< ebfe41889b762f1933c6762f6624b9724a25bee0; \>= f2d5dcb48f7ba9e3ff249d58fc1fa963d374e66a, \< 5af385f5f4cddf908f663974847a4083b2ff2c79; b2e1b090a590d41abe647eadb6bf2a5dc47b63ab; \>= 6.7.12, \< 6.8 (cvelist)
- Linux: \>= 5.4.274, \< 5.4.275; \>= 5.10.215, \< 5.10.216; \>= 5.15.154, \< 5.15.158; \>= 6.1.84, \< 6.1.90; \>= 6.6.24, \< 6.6.30; \>= 6.8.3, \< 6.8.9 (cvelist)

## Mitigation

- Upgrade Linux to 6.8 or later.
- Upgrade Linux to 6.8.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35983. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35983.md
Affected: Linux >= d6077e0d38b4953c863d0db4a5b3f41d21e0d546, < d34a516f2635090d36a306f84573e8de3d7374ce; >= 83a2275f9d3230c761014b1467888b1ef469be74, < 66297b2ceda841f809637731d287bda3a93b49d8; >= d2a7a81088c6abe778b0a93a7eeb79487a943818, < 93ba36238db6a74a82feb3dc476e25ea424ad630; >= 428ca0000f0abd5c99354c5…
Fixed in: Linux 66297b2ceda841f809637731d287bda3a93b49d8, Linux 93ba36238db6a74a82feb3dc476e25ea424ad630, Linux 9b7c5004d7c5ae062134052a85290869a015814c, Linux 15aa09d6d84629eb5296de30ac0aa19a33512f16, Linux 5af385f5f4cddf908f663974847a4083b2ff2c79, Linux 6.8, Linux 5.4.275, Linux 5.10.216, Linux 5.15.158, L…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35983 being exploited?

There is no confirmed exploitation: CVE-2024-35983 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35983?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35983?

Linux \>= d6077e0d38b4953c863d0db4a5b3f41d21e0d546, \< d34a516f2635090d36a306f84573e8de3d7374ce; \>= 83a2275f9d3230c761014b1467888b1ef469be74, \< 66297b2ceda841f809637731d287bda3a93b49d8; \>= d2a7a81088c6abe778b0a93a7eeb79487a943818, \< 93ba36238db6a74a82feb3dc476e25ea424ad630; \>= 428ca0000f0abd5c99354c52a36becf2b815ca21, \< 9b7c5004d7c5ae062134052a85290869a015814c; \>= b46c822f8b555b9513df44047b0e72c06720df62, \< 15aa09d6d84629eb5296de30ac0aa19a33512f16; \>= cf778fff03be1ee88c49b72959650147573c3301, \< ebfe41889b762f1933c6762f6624b9724a25bee0; \>= f2d5dcb48f7ba9e3ff249d58fc1fa963d374e66a, \< 5af385f5f4cddf908f663974847a4083b2ff2c79; b2e1b090a590d41abe647eadb6bf2a5dc47b63ab; \>= 6.7.12, \< 6.8; Linux \>= 5.4.274, \< 5.4.275; \>= 5.10.215, \< 5.10.216; \>= 5.15.154, \< 5.15.158; \>= 6.1.84, \< 6.1.90; \>= 6.6.24, \< 6.6.30; \>= 6.8.3, \< 6.8.9.

### Is there a fix for CVE-2024-35983?

Yes. Fixed in Linux 66297b2ceda841f809637731d287bda3a93b49d8, Linux 93ba36238db6a74a82feb3dc476e25ea424ad630, Linux 9b7c5004d7c5ae062134052a85290869a015814c, Linux 15aa09d6d84629eb5296de30ac0aa19a33512f16, Linux 5af385f5f4cddf908f663974847a4083b2ff2c79, Linux 6.8, Linux 5.4.275, Linux 5.10.216, Linux 5.15.158, Linux 6.1.90, Linux 6.6.30, Linux 6.8.9. Upgrade Linux to 6.8 or later. Upgrade Linux to 6.8.9 or later.

### How do I check if I'm affected by CVE-2024-35983?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d34a516f2635090d36a306f84573e8de3d7374ce>
- patch: <https://git.kernel.org/stable/c/66297b2ceda841f809637731d287bda3a93b49d8>
- patch: <https://git.kernel.org/stable/c/93ba36238db6a74a82feb3dc476e25ea424ad630>
- patch: <https://git.kernel.org/stable/c/9b7c5004d7c5ae062134052a85290869a015814c>
- patch: <https://git.kernel.org/stable/c/15aa09d6d84629eb5296de30ac0aa19a33512f16>
- patch: <https://git.kernel.org/stable/c/ebfe41889b762f1933c6762f6624b9724a25bee0>
- patch: <https://git.kernel.org/stable/c/5af385f5f4cddf908f663974847a4083b2ff2c79>
- patch: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35983>

HTML: <https://flawdb.com/CVE-2024-35983> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35983>
