{"id":"CVE-2024-35983","summary":"bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS\n\nbits_per() rounds up to the next power of two when passed a power of\ntwo.  This causes crashes on some machines and configurations.","modified":"2026-11-17T07:01:45.133333745Z","published":"2024-05-20T09:47:51.079Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35983.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html"},{"type":"WEB","url":"https://git.kernel.org/stable/c/15aa09d6d84629eb5296de30ac0aa19a33512f16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5af385f5f4cddf908f663974847a4083b2ff2c79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66297b2ceda841f809637731d287bda3a93b49d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93ba36238db6a74a82feb3dc476e25ea424ad630"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b7c5004d7c5ae062134052a85290869a015814c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d34a516f2635090d36a306f84573e8de3d7374ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebfe41889b762f1933c6762f6624b9724a25bee0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35983.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35983"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d6077e0d38b4953c863d0db4a5b3f41d21e0d546"},{"fixed":"d34a516f2635090d36a306f84573e8de3d7374ce"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"83a2275f9d3230c761014b1467888b1ef469be74"},{"fixed":"66297b2ceda841f809637731d287bda3a93b49d8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d2a7a81088c6abe778b0a93a7eeb79487a943818"},{"fixed":"93ba36238db6a74a82feb3dc476e25ea424ad630"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"428ca0000f0abd5c99354c52a36becf2b815ca21"},{"fixed":"9b7c5004d7c5ae062134052a85290869a015814c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b46c822f8b555b9513df44047b0e72c06720df62"},{"fixed":"15aa09d6d84629eb5296de30ac0aa19a33512f16"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cf778fff03be1ee88c49b72959650147573c3301"},{"fixed":"ebfe41889b762f1933c6762f6624b9724a25bee0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f2d5dcb48f7ba9e3ff249d58fc1fa963d374e66a"},{"fixed":"5af385f5f4cddf908f663974847a4083b2ff2c79"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b2e1b090a590d41abe647eadb6bf2a5dc47b63ab"}]}],"versions":["v5.4.274","v5.10.215","v5.15.157","v5.15.156","v5.15.155","v5.15.154","v6.1.89","v6.1.88","v6.1.87","v6.1.86","v6.1.85","v6.1.84","v6.6.29","v6.6.28","v6.6.27","v6.6.26","v6.6.25","v6.6.24","v6.8.8","v6.8.7","v6.8.6","v6.8.5","v6.8.4","v6.8.3","v6.7.12"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35983.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.12"},{"fixed":"6.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.4.274"},{"fixed":"5.4.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.10.215"},{"fixed":"5.10.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.15.154"},{"fixed":"5.15.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.84"},{"fixed":"6.1.90"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.24"},{"fixed":"6.6.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.8.3"},{"fixed":"6.8.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35983.json"}}],"schema_version":"1.9.2"}