selinux: allow multiple opens of /sys/fs/selinux/policy
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7.0.7, Kernel 714362f3779dfa453a78ced32396a72726962a41, Kernel 9795810d116bc9071485929ba6471dc8d5bd158b and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.37 <7.0.7, =7.1, >=cee74f47a6baba0ac457e87687fdcf0abd599f0a <714362f3779dfa453a78ced32396a72726962a41, >=cee74f47a6baba0ac457e87687fdcf0abd599f0a <9795810d116bc9071485929ba6471dc8d5bd158b, >=cee74f47a6baba0ac457e87687fdcf0abd599f0a <a02cd6805562305f936e807da83e253b719dd965, >=cee74f47a6baba0ac457e87687fdcf0abd599f0a <c24d2e190b955baf3a95e05d34b192f61bd201b3, >=cee74f47a6baba0ac457e87687fdcf0abd599f0a <d8cafd0226d5df682d1f4ea978a4318fe3a11210, =2.6.37, >=cee74f47a6baba0ac457e87687fdcf0abd599f0a <0ed712134a3db0075bfe9a0f8536c48728ec745e | 7.0.7, 714362f3779dfa453a78ced32396a72726962a41, 9795810d116bc9071485929ba6471dc8d5bd158b, a02cd6805562305f936e807da83e253b719dd965, c24d2e190b955baf3a95e05d34b192f61bd201b3, d8cafd0226d5df682d1f4ea978a4318fe3a11210, 0ed712134a3db0075bfe9a0f8536c48728ec745e |
| linux-kernel: Kernel | >=2.6.37 <6.1.191, >=6.13.0 <6.18.58, >=6.19.0 <7.0.7, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114 | 6.1.191, 6.18.58, 7.0.7, 6.6.160, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket