{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7"
            },
            {
              "fixed": "e0285bb152211c00900136b66d4b420c14a59094"
            },
            {
              "fixed": "099869e9343a5f8c22b58497f074b34f63cbf856"
            },
            {
              "fixed": "841aea4d5a25e16273d04cd07a74142b4687e03b"
            },
            {
              "fixed": "d8a10899ea3c84b80de72ca8ee9039e9a5156c9a"
            },
            {
              "fixed": "22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.23"
            },
            {
              "fixed": "6.6.153"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.105"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.46"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80912.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: reject an unclaimed class value in security_get_classes()\n\nsecurity_get_classes() sizes an array by p_classes.nprim and fills it at\nvalue - 1, so a class value the policy never defines leaves a NULL.\nsel_make_classes() passes every entry to sel_make_dir(), reaching the same\nd_alloc_name() dereference as the permission array. The class symbol table\nis allowed to be sparse (policydb_class_isvalid() exists to absorb that),\nbut this getter builds its own array straight from the hash table and has\nno such predicate.\n\nFail the lookup when a value went unclaimed instead of handing out the\nNULL. Conforming policies define every class they declare and are\nunaffected.",
  "id": "CVE-2026-80912",
  "modified": "2026-09-06T03:30:17.610017078Z",
  "published": "2026-09-04T17:19:23.066Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/099869e9343a5f8c22b58497f074b34f63cbf856"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/841aea4d5a25e16273d04cd07a74142b4687e03b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d8a10899ea3c84b80de72ca8ee9039e9a5156c9a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e0285bb152211c00900136b66d4b420c14a59094"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80912.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80912"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "selinux: reject an unclaimed class value in security_get_classes()"
}