CVE-2026-46302 PUBLISHED

selinux: allow multiple opens of /sys/fs/selinux/policy

Assigner: Linux
Reserved: 13.05.2026 Published: 08.06.2026 Updated: 14.06.2026

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

selinux: allow multiple opens of /sys/fs/selinux/policy

Currently there can only be a single open of /sys/fs/selinux/policy at any time. This allows any process to block any other process from reading the kernel policy. The original motivation seems to have been a mix of preventing an inconsistent view of the policy size and preventing userspace from allocating kernel memory without bound, but this is arguably equally bad. Eliminate the policy_opened flag and shrink the critical section that the policy mutex is held. While we are making changes here, drop a couple of extraneous BUG_ONs.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from cee74f47a6baba0ac457e87687fdcf0abd599f0a to 714362f3779dfa453a78ced32396a72726962a41 (excl.)
  • affected from cee74f47a6baba0ac457e87687fdcf0abd599f0a to a02cd6805562305f936e807da83e253b719dd965 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.37 is affected
  • unaffected from 0 to 2.6.37 (excl.)
  • unaffected from 7.0.7 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References