CVE-2026-80912

selinux: reject an unclaimed class value in security_get_classes()

State
Published
Severity
Not scored
Published
Sep 4, 2026
Updated
Sep 14, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before d2e7f7035d6f407119ba5467f7218cc4370844fcAffected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before f38a71868888285efc9c0ab5b032e23919c5a0a1Affected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before 3480c081c23d559fd9a6921b76955664f2e95153Affected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before e0285bb152211c00900136b66d4b420c14a59094Affected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before 099869e9343a5f8c22b58497f074b34f63cbf856Affected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before 841aea4d5a25e16273d04cd07a74142b4687e03bAffected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before d8a10899ea3c84b80de72ca8ee9039e9a5156c9aAffected
  • 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 to before 22b05fec62c0fe9864cfceb52f7d0f3a34d9b1ddAffected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.153 through 6.6.*Not affected
  • 6.12.105 through 6.12.*Not affected
  • 6.18.46 through 6.18.*Not affected
  • 7.1.10 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.