Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
selinux: fix overlayfs mmap() and mprotect() access checks
The existing SELinux security model for overlayfs is to allow access if the current task is able to access the top level file (the “user” file) and the mounter’s credentials are sufficient to access the lower level file (the “backing” file). Unfortunately, the current code does not properly enforce these access controls for both mmap() and mprotect() operations on overlayfs filesystems.
This patch makes use of the newly created security_mmap_backing_file() LSM hook to provide the missing backing file enforcement for mmap() operations, and leverages the backing file API and new LSM blob to provide the necessary information to properly enforce the mprotect() access controls.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU
- Affected packages:
- kernel @ 3.10.0 (+5 more)
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Will Not Fix |
111 kernels
|
| AlmaLinux 9 | Will Not Fix |
111 kernels
|
| CentOS 8 | Will Not Fix |
21 kernels
|
| CloudLinux OS 7h | Will Not Fix |
104 kernels
|
| CloudLinux OS 8 | Will Not Fix |
101 kernels
|
| Debian 13 | Planned | — |
| Oracle Linux 8 | Will Not Fix |
120 kernels
|
| Oracle Linux 9 | Will Not Fix |
110 kernels
|
| RHEL 10 | In Progress | — |
| RHEL 8 | Will Not Fix |
115 kernels
|
| RHEL 9 | Will Not Fix |
109 kernels
|
| Rocky Linux 8 | Will Not Fix |
93 kernels
|
| Rocky Linux 9 | Will Not Fix |
89 kernels
|