selinux: reject an unclaimed class value in security_get_classes()

Summary

CVECVE-2026-80912
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-04 18:18:01 UTC
Updated2026-09-04 18:18:01 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001560000 probability, percentile 0.051070000 (date 2026-09-07)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 e0285bb152211c00900136b66d4b420c14a59094 git Not specified
CNA Linux Linux affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 099869e9343a5f8c22b58497f074b34f63cbf856 git Not specified
CNA Linux Linux affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 841aea4d5a25e16273d04cd07a74142b4687e03b git Not specified
CNA Linux Linux affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 d8a10899ea3c84b80de72ca8ee9039e9a5156c9a git Not specified
CNA Linux Linux affected 55fcf09b3fe4325c9395ebbb0322a547a157ebc7 22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd git Not specified
CNA Linux Linux affected 2.6.23 Not specified
CNA Linux Linux unaffected 2.6.23 semver Not specified
CNA Linux Linux unaffected 6.6.153 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.105 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.46 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.10 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e0285bb152211c00900136b66d4b420c14a59094 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/841aea4d5a25e16273d04cd07a74142b4687e03b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d8a10899ea3c84b80de72ca8ee9039e9a5156c9a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/099869e9343a5f8c22b58497f074b34f63cbf856 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report