selinux: fix overlayfs mmap() and mprotect() access checks (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-280 — Improper Handling of Insufficient Permissions or Privileges
- CWE-862 — Missing Authorization
References
- https://git.kernel.org/stable/c/bc6c380c1159de52a252ed11f19a42c47f60a735
- https://git.kernel.org/stable/c/8bacd09f12c27710228562e4d13163e58c5f4a45
- https://git.kernel.org/stable/c/d844702198395d3f80222777030f69db6be6b709
- https://git.kernel.org/stable/c/cd0e707a927a70cdfd8bc5a512a9719a87f5ed51
- https://git.kernel.org/stable/c/82544d36b1729153c8aeb179e84750f0c085d3b1
- https://access.redhat.com/security/cve/CVE-2026-46054
- https://bugzilla.redhat.com/show_bug.cgi?id=2482025
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46054.json
- https://access.redhat.com/errata/RHSA-2026:52764
- https://access.redhat.com/errata/RHSA-2026:25191
- https://access.redhat.com/errata/RHSA-2026:67723
- https://access.redhat.com/errata/RHSA-2026:51746
- https://access.redhat.com/errata/RHSA-2026:52667
- https://access.redhat.com/errata/RHSA-2026:30848
- https://access.redhat.com/errata/RHSA-2026:27811
- https://access.redhat.com/errata/RHSA-2026:59091
- https://access.redhat.com/errata/RHSA-2026:59473
- https://access.redhat.com/errata/RHSA-2026:52649
- https://access.redhat.com/errata/RHSA-2026:27812
- https://access.redhat.com/errata/RHSA-2026:67721
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
European references
- ENISA EUVD · EUVD-2026-32436
- GCVE · GCVE-0-2026-46054
CERT-FR advisories
- CERTFR-2026-AVI-1204 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1203 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1094 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1092 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1028 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0926 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0862 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0808 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0747 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.19 < 7.0.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 2f502839e85ab265f03f25f30d6463154aee5473 < bc6c380c1159de52a252ed11f19a42c47f60a735 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < 8bacd09f12c27710228562e4d13163e58c5f4a45 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < d844702198395d3f80222777030f69db6be6b709 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < cd0e707a927a70cdfd8bc5a512a9719a87f5ed51 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < 82544d36b1729153c8aeb179e84750f0c085d3b1 |
| Linux · Linux | affected 4.19 ; unaffected 0 < 4.19 ; unaffected 6.6.144 ≤ 6.6.* ; unaffected 6.12.95 ≤ 6.12.* ; unaffected 6.18.38 ≤ 6.18.* ; unaffected 7.0.4 ≤ 7.0.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |