HarborGuard / CVE
Back to search
HIGHCVE-2026-46054Published Modified CNA Linux

CVE-2026-46054: selinux: fix overlayfs mmap() and mprotect() access checks

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.

Metrics

CVSS v3.1
7.1
Severity
HIGH
Fixed in
0
Affected Products
2

Fix available

07.0.47.1-rc182544d36b1729153c8aeb179e84750f0c085d3b1cd0e707a927a70cdfd8bc5a512a9719a87f5ed51
Affected packages
  • Linux / Linux
    < cd0e707a927a70cdfd8bc5a512a9719a87f5ed51 (from 2f502839e85ab265f03f25f30d6463154aee5473) · < 82544d36b1729153c8aeb179e84750f0c085d3b1 (from 2f502839e85ab265f03f25f30d6463154aee5473)
  • Linux / Linux
    4.19
    Fixed in 0, 7.0.4, 7.1-rc1
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N