# CVE-2024-35983: bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-20T09:47:51.079Z
- Modified: 2026-10-15T01:18:16.113Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d6077e0d38b4953c863d0db4a5b3f41d21e0d546 before d34a516f2635090d36a306f84573e8de3d7374ce; from 83a2275f9d3230c761014b1467888b1ef469be74 before 66297b2ceda841f809637731d287bda3a93b49d8; from d2a7a81088c6abe778b0a93a7eeb79487a943818 before 93ba36238db6a74a82feb3dc476e25ea424ad630; from 428ca0000f0abd5c99354c52a36becf2b815ca21 before 9b7c5004d7c5ae062134052a85290869a015814c; from b46c822f8b555b9513df44047b0e72c06720df62 before 15aa09d6d84629eb5296de30ac0aa19a33512f16; from cf778fff03be1ee88c49b72959650147573c3301 before ebfe41889b762f1933c6762f6624b9724a25bee0; from f2d5dcb48f7ba9e3ff249d58fc1fa963d374e66a before 5af385f5f4cddf908f663974847a4083b2ff2c79; b2e1b090a590d41abe647eadb6bf2a5dc47b63ab; from 6.7.12 before 6.8; from 5.4.274 before 5.4.275; from 5.10.215 before 5.10.216; from 5.15.154 before 5.15.158; and 3 more
- linux linux_kernel: from 5.4.274 before 5.4.275; from 5.10.215 before 5.10.216; from 5.15.154 before 5.15.158; from 6.1.84 before 6.1.90; from 6.6.24 before 6.6.30; from 6.7.12 before 6.8; from 6.8.3 before 6.8.9

## References

- <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> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-35983](https://www.cve.org/CVERecord?id=CVE-2024-35983), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35983](https://nvd.nist.gov/vuln/detail/CVE-2024-35983), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35983 · Whole record: https://cve.day/CVE-2024-35983.json · Rebuilt by cve.day 2026-11-25T22:58:40.652Z
