# CVE-2026-80912: selinux: reject an unclaimed class value in security_get_classes()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-04T17:19:23.066Z
- Modified: 2026-09-14T13:18:48.763Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

selinux: reject an unclaimed class value in security_get_classes()

security_get_classes() sizes an array by p_classes.nprim and fills it at
value - 1, so a class value the policy never defines leaves a NULL.
sel_make_classes() passes every entry to sel_make_dir(), reaching the same
d_alloc_name() dereference as the permission array. The class symbol table
is allowed to be sparse (policydb_class_isvalid() exists to absorb that),
but this getter builds its own array straight from the hash table and has
no such predicate.

Fail the lookup when a value went unclaimed instead of handing out the
NULL. Conforming policies define every class they declare and are
unaffected.

(As written by CVE List.)

## Affected

- Linux Linux: from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before d2e7f7035d6f407119ba5467f7218cc4370844fc; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before f38a71868888285efc9c0ab5b032e23919c5a0a1; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before 3480c081c23d559fd9a6921b76955664f2e95153; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before e0285bb152211c00900136b66d4b420c14a59094; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before 099869e9343a5f8c22b58497f074b34f63cbf856; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before 841aea4d5a25e16273d04cd07a74142b4687e03b; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before d8a10899ea3c84b80de72ca8ee9039e9a5156c9a; from 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 before 22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd; 2.6.23 (not affected: before 2.6.23; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.153 up to 6.6.*; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/d2e7f7035d6f407119ba5467f7218cc4370844fc>
- <https://git.kernel.org/stable/c/f38a71868888285efc9c0ab5b032e23919c5a0a1>
- <https://git.kernel.org/stable/c/3480c081c23d559fd9a6921b76955664f2e95153>
- <https://git.kernel.org/stable/c/e0285bb152211c00900136b66d4b420c14a59094>
- <https://git.kernel.org/stable/c/099869e9343a5f8c22b58497f074b34f63cbf856>
- <https://git.kernel.org/stable/c/841aea4d5a25e16273d04cd07a74142b4687e03b>
- <https://git.kernel.org/stable/c/d8a10899ea3c84b80de72ca8ee9039e9a5156c9a>
- <https://git.kernel.org/stable/c/22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd>

## Sources

- CVE List: [CVE-2026-80912](https://www.cve.org/CVERecord?id=CVE-2026-80912), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-80912](https://nvd.nist.gov/vuln/detail/CVE-2026-80912), Public domain, modified 2026-09-14

---

Page: https://cve.day/CVE-2026-80912 · Whole record: https://cve.day/CVE-2026-80912.json · Rebuilt by cve.day 2026-11-25T22:59:36.393Z
