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.
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service – kernel crash
Action: Immediate Patch
AI Analysis

Impact

The flaw resides in the Linux kernel’s SELinux subsystem. The function security_get_classes allocates an array according to declared policy classes but writes each entry at index class‑value minus one. When a policy references a class that the kernel has not claimed, the lookup returns a NULL pointer. The subsequent use of this pointer in sel_make_dir and d_alloc_name produces a null‑pointer dereference that crashes the kernel. Based on the description, the impact is a system‑wide denial of service because the crash forces a reboot or lock‑up.

Affected Systems

All Linux kernel releases that contain the unguarded security_get_classes logic are affected. The specific list of affected kernel versions is not provided, so the risk applies broadly to any distribution shipping a kernel with the vulnerable code. Conforming SELinux policies that define every class they declare remain safe, while misconfigured or malicious policies that reference undefined classes can trigger the crash.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker who can influence the SELinux policy—either by loading a crafted policy or by modifying existing policy files—can trigger the fault. The attack vector is local, requiring privilege to alter or overwrite policy files. Exploitation is straightforward because the kernel fails the lookup without a guard, so a single malicious or misconfigured policy reference is sufficient to cause a denial of service.

Generated by OpenCVE AI on September 4, 2026 at 20:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the security fix for the SELinux class lookup defect.
  • Validate all SELinux policies to ensure every referenced class is defined, or remove references to undefined classes.
  • If an update is unavailable, disable the offending SELinux policy or switch to a minimal policy until a patch is applied.
  • Monitor system logs for SELinux‑related panics and investigate any kernel crashes for suspected policy misconfiguration.

Generated by OpenCVE AI on September 4, 2026 at 20:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
History

Mon, 14 Sep 2026 12:30:00 +0000


Fri, 04 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title selinux: reject an unclaimed class value in security_get_classes()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-14T11:58:53.633Z

Reserved: 2026-08-26T14:34:25.801Z

Link: CVE-2026-80912

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T18:18:01.047

Modified: 2026-09-14T13:18:48.763

Link: CVE-2026-80912

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T23:00:15Z

Weaknesses