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 | Vendor | Version |
|---|---|---|
| Linux | Linux | 5.1.0.7 |
| Linux | Linux | 5.1.0.8 |
| Linux | Linux | Magento 2.3 prior to 2.3.3 or 2.3.2-p1 |
| Linux | Linux | 1.17.0 |