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

selinux: reject a class permission count below its inherited common

security_get_permissions() maps an inherited common's permissions into
an array sized by the class's own permissions.nprim, but class_read()
takes that nprim verbatim from the policy image and never checks that it
covers the common. A class that inherits a common of N permissions while
declaring a smaller nprim is accepted, and on load the common's
permissions are written past the class-sized array -- an out-of-bounds
heap write.

Reject a class whose permission count is below its inherited common's.
Well-formed policies, where the class count already includes the
inherited permissions, are unaffected.
Published: 2026-09-03
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An SELinux module can declare a class that inherits more permissions than it advertises in its own permission count. During policy loading the kernel allocates an array sized by the class’s declared permission count but then copies the inherited permissions into that array without bounds checking. The write therefore can overwrite adjacent kernel heap memory. This out‑of‑bounds heap write could corrupt kernel data structures, potentially allowing privilege escalation to root or causing a system crash, which affects confidentiality, integrity, or availability.

Affected Systems

All Linux kernel distributions that ship the standard SELinux policy handling and that have not applied the recent patch are potentially affected. The vulnerability is present whenever an SELinux policy containing a class with a declared permission count lower than those inherited from a common is loaded. No specific kernel version range is disclosed, so every distribution using the default SELinux implementation should consider the risk.

Risk and Exploitability

The CVSS score is not disclosed and the EPSS data is unavailable; nevertheless, an unchecked out‑of‑bounds heap write is considered high severity. KEV does not list this vulnerability, indicating no confirmed exploits. The likely attack vector is local: an attacker must have the ability to configure or load a custom SELinux policy, which typically requires root privileges or access to a privileged account that can modify policy files. Inferred that the attacker would create a policy where a class’s permission count is smaller than the inherited common’s, thereby triggering the vulnerability. While no public exploits have been reported, the potential for kernel memory corruption and the high impact of successful exploitation warrant immediate mitigation.

Generated by OpenCVE AI on September 3, 2026 at 13:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the fix to reject classes whose permission count is below that of their inherited common
  • If an immediate kernel update is not possible, audit custom SELinux policy files to confirm that each class’s declared permission count is at least equal to the total permissions inherited from any common, and correct or remove any policy that violates this rule
  • Consider deploying a policy load‑time check to validate class permission counts before acceptance
  • If the environment allows, disable SELinux policy reloading by privileged users until a patched kernel is available

Generated by OpenCVE AI on September 3, 2026 at 13:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: selinux: reject a class permission count below its inherited common security_get_permissions() maps an inherited common's permissions into an array sized by the class's own permissions.nprim, but class_read() takes that nprim verbatim from the policy image and never checks that it covers the common. A class that inherits a common of N permissions while declaring a smaller nprim is accepted, and on load the common's permissions are written past the class-sized array -- an out-of-bounds heap write. Reject a class whose permission count is below its inherited common's. Well-formed policies, where the class count already includes the inherited permissions, are unaffected.
Title selinux: reject a class permission count below its inherited common
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-03T08:26:35.005Z

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

Link: CVE-2026-80757

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:15.493

Modified: 2026-09-03T13:06:15.493

Link: CVE-2026-80757

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:45:05Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow