Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.95, 6.18.38, 6.6.144, 7.0.4
CVEs
CVE-2026-46054
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:27 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 May 2026, 12:57 UTC

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.

osv:CVE-2026-46054

Kernel

Fixed versions: 6.6.144, 6.12.95, 6.18.38, 7.0.4

Complete source record
{
  "id": "73a52fbe41b078a2de88df0cc5bf8ce8eca385632f41244574c17d9fce0eeaa6",
  "url": "https://osv.dev/vulnerability/CVE-2026-46054",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "selinux: fix overlayfs mmap() and mprotect() access checks",
    "summary": "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.",
    "evidence": "osv:CVE-2026-46054",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.144",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.95",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.38",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-46054",
      "aliases": [
        "CVE-2026-46054"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2f502839e85ab265f03f25f30d6463154aee5473"
                },
                {
                  "fixed": "bc6c380c1159de52a252ed11f19a42c47f60a735"
                },
                {
                  "fixed": "8bacd09f12c27710228562e4d13163e58c5f4a45"
                },
                {
                  "fixed": "d844702198395d3f80222777030f69db6be6b709"
                },
                {
                  "fixed": "cd0e707a927a70cdfd8bc5a512a9719a87f5ed51"
                },
                {
                  "fixed": "82544d36b1729153c8aeb179e84750f0c085d3b1"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46054.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.19.0"
                },
                {
                  "fixed": "6.6.144"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.95"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.38"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46054.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.624305839Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/82544d36b1729153c8aeb179e84750f0c085d3b1",
        "https://git.kernel.org/stable/c/8bacd09f12c27710228562e4d13163e58c5f4a45",
        "https://git.kernel.org/stable/c/bc6c380c1159de52a252ed11f19a42c47f60a735",
        "https://git.kernel.org/stable/c/cd0e707a927a70cdfd8bc5a512a9719a87f5ed51",
        "https://git.kernel.org/stable/c/d844702198395d3f80222777030f69db6be6b709",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46054.json",
        "https://access.redhat.com/errata/RHSA-2026:25191",
        "https://access.redhat.com/errata/RHSA-2026:27811",
        "https://access.redhat.com/errata/RHSA-2026:27812",
        "https://access.redhat.com/errata/RHSA-2026:30848",
        "https://access.redhat.com/errata/RHSA-2026:51746",
        "https://access.redhat.com/errata/RHSA-2026:52649",
        "https://access.redhat.com/errata/RHSA-2026:52667",
        "https://access.redhat.com/errata/RHSA-2026:52764",
        "https://access.redhat.com/errata/RHSA-2026:59091",
        "https://access.redhat.com/errata/RHSA-2026:59473",
        "https://access.redhat.com/errata/RHSA-2026:67721",
        "https://access.redhat.com/errata/RHSA-2026:67723",
        "https://access.redhat.com/security/cve/CVE-2026-46054",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46054.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46054",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2482025",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46054.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46054",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513854,
  "published_at": "2026-05-27T12:57:12.813+00:00"
}