7.1high
selinux: fix overlayfs mmap() and mprotect() access checks
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2f502839e85ab265f03f25f30d6463154aee5473 before bc6c380c1159de52a252ed11f19a42c47f60a735, from 2f502839e85ab265f03f25f30d6463154aee5473 before 8bacd09f12c27710228562e4d13163e58c5f4a45, from 2f502839e85ab265f03f25f30d6463154aee5473 before d844702198395d3f80222777030f69db6be6b709, from 2f502839e85ab265f03f25f30d6463154aee5473 before cd0e707a927a70cdfd8bc5a512a9719a87f5ed51, from 2f502839e85ab265f03f25f30d6463154aee5473 before 82544d36b1729153c8aeb179e84750f0c085d3b1, 4.19 Not affected: before 4.19, from 6.6.144 up to 6.6.*, from 6.12.95 up to 6.12.*, from 6.18.38 up to 6.18.*, from 7.0.4 up to 7.0.*, from 7.1 up to * | CVE List |
| kernel | Not specified Not affected: from 0:6.12.0-211.22.1.el10_2 before *, from 0:6.12.0-55.95.1.el10_0 before *, from 0:4.18.0-553.137.1.el8_10 before *, from 0:4.18.0-305.201.1.el8_4 before *, from 0:4.18.0-372.208.1.el8_6 before *, from 0:4.18.0-477.158.1.el8_8 before * | CVE List |
| kernel-rt | Not specified Not affected: from 0:4.18.0-553.137.1.rt7.478.el8_10 before * | CVE List |
| linux linux_kernel | from 4.19 before 7.0.4 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| redhat-SADP | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46054 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-46054 changed 2026-10-19 | Public domain |