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 , Amazon Linux 2 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , Debian 10 ELS , Oracle Linux 7 ELS , TuxCare 9.6 ESU , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.10.0 (+9 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | In Rollout |
43 kernels
|
| AlmaLinux 8 | Will Not Fix |
111 kernels
|
| AlmaLinux 9 | Will Not Fix |
111 kernels
|
| CentOS 8 | Will Not Fix |
33 kernels
|
| CloudLinux OS 7h | Will Not Fix |
110 kernels
|
| CloudLinux OS 8 | Will Not Fix |
105 kernels
|
| Debian 13 | Planned | — |
| Oracle Linux 10 | In Rollout |
36 kernels
|
| Oracle Linux 8 | Will Not Fix |
133 kernels
|
| Oracle Linux 9 | Will Not Fix |
110 kernels
|
| RHEL 10 | In Rollout |
42 kernels
|
| RHEL 8 | Will Not Fix |
128 kernels
|
| RHEL 9 | Will Not Fix |
109 kernels
|
| Rocky Linux 10 | In Rollout |
29 kernels
|
| Rocky Linux 8 | Will Not Fix |
93 kernels
|
| Rocky Linux 9 | Will Not Fix |
89 kernels
|