{"id":"CVE-2026-80912","published":"2026-09-04T17:19:23Z","modified":"2026-09-14T11:58:53Z","title":"selinux: reject an unclaimed class value in security_get_classes()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00165,"percentile":0.05621,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d2e7f7035d6f407119ba5467f7218cc4370844fc","tags":[]},{"url":"https://git.kernel.org/stable/c/f38a71868888285efc9c0ab5b032e23919c5a0a1","tags":[]},{"url":"https://git.kernel.org/stable/c/3480c081c23d559fd9a6921b76955664f2e95153","tags":[]},{"url":"https://git.kernel.org/stable/c/e0285bb152211c00900136b66d4b420c14a59094","tags":[]},{"url":"https://git.kernel.org/stable/c/099869e9343a5f8c22b58497f074b34f63cbf856","tags":[]},{"url":"https://git.kernel.org/stable/c/841aea4d5a25e16273d04cd07a74142b4687e03b","tags":[]},{"url":"https://git.kernel.org/stable/c/d8a10899ea3c84b80de72ca8ee9039e9a5156c9a","tags":[]},{"url":"https://git.kernel.org/stable/c/22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.12}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < d2e7f7035d6f407119ba5467f7218cc4370844fc",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < f38a71868888285efc9c0ab5b032e23919c5a0a1",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < 3480c081c23d559fd9a6921b76955664f2e95153",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < e0285bb152211c00900136b66d4b420c14a59094",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < 099869e9343a5f8c22b58497f074b34f63cbf856",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < 841aea4d5a25e16273d04cd07a74142b4687e03b",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < d8a10899ea3c84b80de72ca8ee9039e9a5156c9a",">= 55fcf09b3fe4325c9395ebbb0322a547a157ebc7, < 22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd"]},{"vendor":"Linux","product":"Linux","versions":["2.6.23"]}],"euvd":{"id":"EUVD-2026-71615","exploited":false,"provenance":"source"}}