VDB

CVE-2026-98215

CVE-2026-98215 PUBLISHED

selinux: preserve user SID across nested backing files

Reported by linux · Published October 6, 2026

In the Linux kernel, the following vulnerability has been resolved: selinux: preserve user SID across nested backing files SELinux saves the user file SID in a backing-file security blob so it remains available after mmap() replaces vma->vm_file with a backing file. For nested backing files (overlayfs over overlayfs, or FUSE passthrough backed by overlayfs), user_file may itself be a backing file. Its fsec->sid is the SID of the mounter that opened it, rather than the user that opened the top-level file. mprotect() then checks fd { use } against the mounter SID. This can incorrectly deny access without a domain transition, or check the wrong target SID after one. Copy the saved user SID when user_file is a backing file. Keep using the regular file SID for the first backing layer. With two nested overlayfs mounts and SELinux enforcing, mprotect(PROT_READ) returns EACCES with an fd { use } denial against the mounter SID. With this change, mprotect() succeeds. Tested on arm64 QEMU with a small BusyBox initramfs and a purpose-built SELinux policy. The original test was also repeated with Fedora Cloud Base 44 userspace and gave the same result.

EPSS 0.21% · 10.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023
perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
LinuxLinux8c0c602202b9a4909b00bc3354e3c0355bc69e65, 7.1, 6.18.54, 6.12.112, 6.6.158

Risk scores

EPSS Score
0.21%
10.6th percentile

Affected products

VendorProductVersions
LinuxLinuxbc6c380c1159de52a252ed11f19a42c47f60a735, 8bacd09f12c27710228562e4d13163e58c5f4a45, d844702198395d3f80222777030f69db6be6b709
LinuxLinux7.1, 0, 6.6.158
amazon:2023kernel6.12-tools0
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel6.12-modules-extra0
LinuxLinux6.6.158, *, 7.3
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra0

…and 7 more

Timeline

  • Oct 6, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98215
vulnetix vdb fixes CVE-2026-98215

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98215/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›