CVE-2026-98215
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel-livepatch-6.18.54-121.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-livepatch-6.12.113-138.209 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| Linux | Linux | 8c0c602202b9a4909b00bc3354e3c0355bc69e65, 7.1, 6.18.54, 6.12.112, 6.6.158 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bc6c380c1159de52a252ed11f19a42c47f60a735, 8bacd09f12c27710228562e4d13163e58c5f4a45, d844702198395d3f80222777030f69db6be6b709 |
| Linux | Linux | 7.1, 0, 6.6.158 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| Linux | Linux | 6.6.158, *, 7.3 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
…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