Shellfeed logo Shellfeed

CVE-2026-80757 · UNKNOWN

Summary: selinux: reject a class permission count below its inherited common

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [55fcf09b3fe4325c9395ebbb0322a547a157ebc7 – 2002ff745db64ac83ee1bb9ff78196d2d68bfdb3]
  • Linux Kernel [2.6.23 – 5.10.266] [5.11.0 – 5.15.217] [5.16.0 – 6.1.184] [6.2.0 – 6.6.153] [6.7.0 – 6.12.105] [6.13.0 – 6.18.46] [6.19.0 – 7.1.10]

References