CVE-2026-46054

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

Published May 27, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw occurs because SELinux does not enforce control checks on the mmap() and mprotect() system calls used with files on overlayfs mounts. Consequently, a process that can influence an overlayfs setup may map or alter the protection of files residing on the lower (backing) filesystem, bypassing SELinux policy. This enables the attacker to read or write data that should be protected, and in some scenarios may allow escalation of privileges beyond the intended access level.

Affected Systems

All Linux kernel releases that implement SELinux with overlayfs support and have not yet been patched, regardless of distribution. The vulnerability applies to any kernel that handles overlayfs without the security_mmap_backing_file hook.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity. The EPSS score of <1% indicates a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA KEV. Because the vulnerability requires control of overlayfs mount, the likely attack vector is inferred to be local and requires the attacker to have the ability to mount or configure overlayfs. No public exploitation evidence is documented. The missing SELinux checks represent Trusted Access Control weaknesses (CWE‑280 and CWE‑862).

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the SELinux overlayfs mmap() and mprotect() security checks fix, as referenced in the commit logs linked in the advisory.
  • Verify that SELinux is enabled and that the kernel is configured with overlayfs support and the security_mmap_backing_file LSM hook; if not enabled, disable overlayfs usage until a patched kernel is available.
  • As a temporary measure, restrict or remove unprivileged users’ ability to mount or modify overlayfs mounts and enforce stricter SELinux policies to limit file access across the lower filesystem.

Generated by OpenCVE AI on October 23, 2026 at 01:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6381-1 linux security update
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8781-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-862
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Weaknesses CWE-280
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
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.
Title selinux: fix overlayfs mmap() and mprotect() access checks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 7:26 PM
Reserved
May 13, 2026, 3:03 PM
Status
Modified
Published
May 27, 2026, 2:17 PM
Modified
Oct 19, 2026, 8:18 PM
Severity
Important
Public date
May 27, 2026, 12:00 AM