Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.216, 5.15.158, 5.4.275, 6.1.90, 6.6.30, 6.8.9
CVEs
CVE-2024-35983
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:35 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 20 May 2024, 09:47 UTC

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.

osv:CVE-2024-35983

Kernel

Fixed versions: 5.4.275, 5.10.216, 5.15.158, 6.1.90, 6.6.30, 6.8.9

Complete source record
{
  "id": "07633c890c03cfd35ebd468530b3768a7974a91d08da679e2da10e58a2e87807",
  "url": "https://osv.dev/vulnerability/CVE-2024-35983",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS",
    "summary": "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.",
    "evidence": "osv:CVE-2024-35983",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.275",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.216",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.158",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.90",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.30",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-35983",
      "aliases": [
        "CVE-2024-35983"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d6077e0d38b4953c863d0db4a5b3f41d21e0d546"
                },
                {
                  "fixed": "d34a516f2635090d36a306f84573e8de3d7374ce"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "83a2275f9d3230c761014b1467888b1ef469be74"
                },
                {
                  "fixed": "66297b2ceda841f809637731d287bda3a93b49d8"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d2a7a81088c6abe778b0a93a7eeb79487a943818"
                },
                {
                  "fixed": "93ba36238db6a74a82feb3dc476e25ea424ad630"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "428ca0000f0abd5c99354c52a36becf2b815ca21"
                },
                {
                  "fixed": "9b7c5004d7c5ae062134052a85290869a015814c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b46c822f8b555b9513df44047b0e72c06720df62"
                },
                {
                  "fixed": "15aa09d6d84629eb5296de30ac0aa19a33512f16"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cf778fff03be1ee88c49b72959650147573c3301"
                },
                {
                  "fixed": "ebfe41889b762f1933c6762f6624b9724a25bee0"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f2d5dcb48f7ba9e3ff249d58fc1fa963d374e66a"
                },
                {
                  "fixed": "5af385f5f4cddf908f663974847a4083b2ff2c79"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.7.12"
                },
                {
                  "fixed": "6.8"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35983.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.119451112Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-613116.html",
        "https://git.kernel.org/stable/c/15aa09d6d84629eb5296de30ac0aa19a33512f16",
        "https://git.kernel.org/stable/c/5af385f5f4cddf908f663974847a4083b2ff2c79",
        "https://git.kernel.org/stable/c/66297b2ceda841f809637731d287bda3a93b49d8",
        "https://git.kernel.org/stable/c/93ba36238db6a74a82feb3dc476e25ea424ad630",
        "https://git.kernel.org/stable/c/9b7c5004d7c5ae062134052a85290869a015814c",
        "https://git.kernel.org/stable/c/d34a516f2635090d36a306f84573e8de3d7374ce",
        "https://git.kernel.org/stable/c/ebfe41889b762f1933c6762f6624b9724a25bee0",
        "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35983.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35983",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35983.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35983",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 492732,
  "published_at": "2024-05-20T09:47:51.079+00:00"
}