CVE-2026-46054 In the Linux kernel, the following vulnerability has been resolved: selinux: fix overlayfs mmap() and mprotect()…
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.1 | earliest → < 7.1 | 7.1 |
| Linux 7.0 | earliest → < 7.0.4 | 7.0.4 |
| Linux 6.18 | earliest → < 6.18.38 | 6.18.38 |
| Linux 6.12 | earliest → < 6.12.95 | 6.12.95 |
| Linux 6.6 | earliest → < 6.6.144 | 6.6.144 |
| Linux | 4.19 | No fix stated |
| Red Hat Enterprise Linux AppStream (v. 10) | Versions not published | |
| Red Hat Enterprise Linux AppStream (v. 9) | Versions not published | |
| Red Hat Enterprise Linux BaseOS (v. 10) | Versions not published |
Show the 25 other branches Hide the 25 other branches
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified