{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80912",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-80912"
  ],
  "published": "2026-09-04T17:22:53Z",
  "summary": "selinux: reject an unclaimed class value in security_get_classes()",
  "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80912"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d2e7f7035d6f407119ba5467f7218cc4370844fc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f38a71868888285efc9c0ab5b032e23919c5a0a1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3480c081c23d559fd9a6921b76955664f2e95153"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e0285bb152211c00900136b66d4b420c14a59094"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/099869e9343a5f8c22b58497f074b34f63cbf856"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/841aea4d5a25e16273d04cd07a74142b4687e03b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d8a10899ea3c84b80de72ca8ee9039e9a5156c9a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z"
  }
}
