# CVE-2026-98214: selinux: recheck intermediate backing files on mprotect()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:44:50.209Z
- **Modified:** 2026-10-19T10:18:22.117Z

## Who should check

- Anyone running Linux \>= bc6c380c1159de52a252ed11f19a42c47f60a735, \< 4d50ebe5a27724e020747ffd61a051dec67cb8ec; \>= 8bacd09f12c27710228562e4d13163e58c5f4a45, \< 89376fbfdcc1a728e1775f98752cdd90b0930a00; \>= d844702198395d3f80222777030f69db6be6b709, \< d127c7e1f3e1231d8ac8b2738e3f00bea12afe74; \>= 82544d36b1729153c8aeb179e84750f0c085d3b1, \< c2bbb905af2293549651b614a52ad91e0b462b60; \>= 82544d36b1729153c8aeb179e84750f0c085d3b1, \< 78fc54b934bfb2c18aad8154c7302067146946f9; cd0e707a927a70cdfd8bc5a512a9719a87f5ed51; \>= 6.6.144, \< 6.6.158; \>= 6.12.95, \< 6.12.112; \>= 6.18.38, \< 6.18.54; \>= 7.0.4, \< 7.1
- Anyone running Linux 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

selinux: recheck intermediate backing files on mprotect()

mprotect() can be used to bypass the SELinux checks that mmap() performs
against the intermediate layers of a stacked filesystem.

mmap() checks every backing layer as the request descends through the
stack.  mprotect() only has the lowest backing file in vma-\>vm\_file, so it
rechecks the top-level user and the lowest mounter, but skips the mounters
of every layer in between.  With two nested overlayfs mounts and a policy
denying mounter\_t -\> middle\_file\_t:file { execute }, a direct
mmap(PROT\_EXEC) is denied:

  avc:  denied  { execute } for  pid=71 comm="nested\_exec"
    path="/payload" dev="overlay" ino=9
    scontext=user\_u:base\_r:mounter\_t
    tcontext=user\_u:object\_r:middle\_file\_t tclass=file permissive=0

while mmap(PROT\_NONE) followed by mprotect(PROT\_EXEC) succeeds.

Preserve each intermediate path, mounter SID and file-description SID in
the backing-file security blob, copying the saved entries when another
backing layer is opened.  Allocate the array only for nested backing files,
and release it and the path references in the backing\_file\_free hook.

During mprotect(), recheck fd { use } and the requested inode permissions
for every saved mounter, and include the intermediate layers in the execmod
checks.  Policy for nested stacking may then need to grant intermediate
mounters what a direct mmap() already requires, and execmod on intermediate
labels for binaries using text relocations.

Tested on arm64 QEMU with a small BusyBox initramfs and a purpose-built
SELinux policy, on a mainline tree containing
commit f2381b546e7e ("fs: fix user path of nested backing files").

\[PM: subject tweak\]

## Affected and fixed versions

- Linux: \>= bc6c380c1159de52a252ed11f19a42c47f60a735, \< 4d50ebe5a27724e020747ffd61a051dec67cb8ec; \>= 8bacd09f12c27710228562e4d13163e58c5f4a45, \< 89376fbfdcc1a728e1775f98752cdd90b0930a00; \>= d844702198395d3f80222777030f69db6be6b709, \< d127c7e1f3e1231d8ac8b2738e3f00bea12afe74; \>= 82544d36b1729153c8aeb179e84750f0c085d3b1, \< c2bbb905af2293549651b614a52ad91e0b462b60; \>= 82544d36b1729153c8aeb179e84750f0c085d3b1, \< 78fc54b934bfb2c18aad8154c7302067146946f9; cd0e707a927a70cdfd8bc5a512a9719a87f5ed51; \>= 6.6.144, \< 6.6.158; \>= 6.12.95, \< 6.12.112; \>= 6.18.38, \< 6.18.54; \>= 7.0.4, \< 7.1 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 7.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98214. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98214.md
Affected: Linux >= bc6c380c1159de52a252ed11f19a42c47f60a735, < 4d50ebe5a27724e020747ffd61a051dec67cb8ec; >= 8bacd09f12c27710228562e4d13163e58c5f4a45, < 89376fbfdcc1a728e1775f98752cdd90b0930a00; >= d844702198395d3f80222777030f69db6be6b709, < d127c7e1f3e1231d8ac8b2738e3f00bea12afe74; >= 82544d36b1729153c8aeb17…
Fixed in: Linux 4d50ebe5a27724e020747ffd61a051dec67cb8ec, Linux 89376fbfdcc1a728e1775f98752cdd90b0930a00, Linux 78fc54b934bfb2c18aad8154c7302067146946f9, Linux 6.6.158, Linux 6.12.112, Linux 6.18.54, Linux 7.1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98214 being exploited?

There is no confirmed exploitation: CVE-2026-98214 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98214?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98214?

Linux \>= bc6c380c1159de52a252ed11f19a42c47f60a735, \< 4d50ebe5a27724e020747ffd61a051dec67cb8ec; \>= 8bacd09f12c27710228562e4d13163e58c5f4a45, \< 89376fbfdcc1a728e1775f98752cdd90b0930a00; \>= d844702198395d3f80222777030f69db6be6b709, \< d127c7e1f3e1231d8ac8b2738e3f00bea12afe74; \>= 82544d36b1729153c8aeb179e84750f0c085d3b1, \< c2bbb905af2293549651b614a52ad91e0b462b60; \>= 82544d36b1729153c8aeb179e84750f0c085d3b1, \< 78fc54b934bfb2c18aad8154c7302067146946f9; cd0e707a927a70cdfd8bc5a512a9719a87f5ed51; \>= 6.6.144, \< 6.6.158; \>= 6.12.95, \< 6.12.112; \>= 6.18.38, \< 6.18.54; \>= 7.0.4, \< 7.1; Linux 7.1.

### Is there a fix for CVE-2026-98214?

Yes. Fixed in Linux 4d50ebe5a27724e020747ffd61a051dec67cb8ec, Linux 89376fbfdcc1a728e1775f98752cdd90b0930a00, Linux 78fc54b934bfb2c18aad8154c7302067146946f9, Linux 6.6.158, Linux 6.12.112, Linux 6.18.54, Linux 7.1. Upgrade Linux to 7.1 or later.

### How do I check if I'm affected by CVE-2026-98214?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4d50ebe5a27724e020747ffd61a051dec67cb8ec>
- other: <https://git.kernel.org/stable/c/89376fbfdcc1a728e1775f98752cdd90b0930a00>
- other: <https://git.kernel.org/stable/c/d127c7e1f3e1231d8ac8b2738e3f00bea12afe74>
- other: <https://git.kernel.org/stable/c/c2bbb905af2293549651b614a52ad91e0b462b60>
- other: <https://git.kernel.org/stable/c/78fc54b934bfb2c18aad8154c7302067146946f9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98214>

HTML: <https://flawdb.com/CVE-2026-98214> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98214>
