selinux: fix overlayfs mmap() and mprotect() access checks (Linux Linux)

CVE-2026-46054
HIGH 7.1

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

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2f502839e85ab265f03f25f30d6463154aee5473 < bc6c380c1159de52a252ed11f19a42c47f60a735 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < 8bacd09f12c27710228562e4d13163e58c5f4a45 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < d844702198395d3f80222777030f69db6be6b709 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < cd0e707a927a70cdfd8bc5a512a9719a87f5ed51 ; affected 2f502839e85ab265f03f25f30d6463154aee5473 < 82544d36b1729153c8aeb179e84750f0c085d3b1
Linux · Linuxaffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD