CVE-2026-80755: selinux: reject a permission value exceeding the class permission count

Published Sep 3, 2026
·
Updated

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

selinux: reject a permission value exceeding the class permission count

permread() bounds a permission value by SELVECMAX but never by the nprim of the owning class or common, which is taken verbatim from the policy image. securitygetpermissions() then writes perms[value - 1] into an nprim-sized kcalloc() array, so a class declaring fewer permissions than its largest permission value drives an out-of-bounds heap write. The top-level symbol tables are validated this way; the nested per-class permission table is not.

Reject a permission whose value exceeds nprim, which is already set when permread() runs. Well-formed policies are unaffected.

[PM: tweak comment for line length]

Event History

Sep 3, 2026
CVE Published
via MITRE·08:26 AM
Data Sourced
via MITRE·08:26 AM
Description

Frequently Asked Questions

1

What must an attacker control to trigger the out-of-bounds write?

They need to supply or cause the kernel to load an SELinux policy containing a nested per-class permission whose numeric value is greater than that class or common's declared permission count (nprim). The vulnerability is in parsing malformed policy data rather than normal permission checks.

2

Are ordinary, well-formed SELinux policies affected?

No. The fix explicitly preserves well-formed policies; the vulnerable condition requires a class to declare fewer permissions than the largest permission value listed in its nested permission table.

3

What can be done if the kernel update cannot be applied immediately?

Avoid loading untrusted or malformed SELinux policy images, and restrict policy creation, modification, and loading to trusted administrative workflows. The provided information does not identify another mitigation in the kernel.

4

How can administrators determine whether a policy could trigger this issue?

Inspect policy generation or validation processes for per-class and common permission entries whose numeric permission value exceeds the declared nprim permission count. Such a policy is malformed and is rejected by the resolved code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203