CVE-2026-46054

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

State
Published
Severity
7.1 High
Published
May 27, 2026
Updated
Oct 19, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NLinux
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-280 Improper Handling of Insufficient Permissions or Privileges
  • CWE-862 Missing Authorization

Affected Products

ProductVersions
LinuxLinux
  • 2f502839e85ab265f03f25f30d6463154aee5473 to before bc6c380c1159de52a252ed11f19a42c47f60a735Affected
  • 2f502839e85ab265f03f25f30d6463154aee5473 to before 8bacd09f12c27710228562e4d13163e58c5f4a45Affected
  • 2f502839e85ab265f03f25f30d6463154aee5473 to before d844702198395d3f80222777030f69db6be6b709Affected
  • 2f502839e85ab265f03f25f30d6463154aee5473 to before cd0e707a927a70cdfd8bc5a512a9719a87f5ed51Affected
  • 2f502839e85ab265f03f25f30d6463154aee5473 to before 82544d36b1729153c8aeb179e84750f0c085d3b1Affected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 6.6.144 through 6.6.*Not affected
  • 6.12.95 through 6.12.*Not affected
  • 6.18.38 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.