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.
Published: 2026-05-27
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 0.00018 indicates a very low but non-zero likelihood of exploitation. The vulnerability is not listed in CISA KEV. Because the vulnerability requires control of an 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 a Trusted Access Control weakness (CWE‑280).

Generated by OpenCVE AI on May 30, 2026 at 13:51 UTC.

Remediation

No vendor fix or workaround currently provided.

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 May 30, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Sat, 30 May 2026 11:00:00 +0000

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'}


Thu, 28 May 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Thu, 28 May 2026 00:15:00 +0000

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


Wed, 27 May 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Wed, 27 May 2026 14:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T17:51:00.698Z

Reserved: 2026-05-13T15:03:33.094Z

Link: CVE-2026-46054

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:25.043

Modified: 2026-06-16T15:02:30.753

Link: CVE-2026-46054

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-46054 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-30T14:00:07Z

Weaknesses