# CVE-2026-64596: libfs: set SB\_I\_NOEXEC and SB\_I\_NODEV by default in init\_pseudo()

> 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.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-06T07:13:51.523Z
- **Modified:** 2026-08-17T05:18:06.110Z

## Who should check

- Anyone running Linux \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< b9d45d328fcda4f0d3d281b7d6f12d3f181d9381; \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< 8e931557b317f0fb414839fa51fae1d5feb0ad97; \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< 6de2aeffabaafaeda819e60ec8d04f199711e11a; 9b8076a9404568d6cb6673b9a079558b15051966; \>= 6.15.6, \< 6.16
- Anyone running Linux 6.16

## Description

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

libfs: set SB\_I\_NOEXEC and SB\_I\_NODEV by default in init\_pseudo()

Since commit 1e7ab6f67824 ("anon\_inode: rework assertions"),
path\_noexec() warns when an anonymous-inode file is mmap'd from a
superblock that has not set SB\_I\_NOEXEC. dma-buf backs its files this
way and never set the flag, so mmap of any exported buffer trips the
warning on a CONFIG\_DEBUG\_VFS=y kernel:

  WARNING: CPU: 11 PID: 121813 at fs/exec.c:118 path\_noexec+0x47/0x50
   do\_mmap+0x2b5/0x680
   vm\_mmap\_pgoff+0x129/0x210
   ksys\_mmap\_pgoff+0x177/0x240
   \_\_x64\_sys\_mmap+0x33/0x70

init\_pseudo() sets up internal SB\_NOUSER mounts that are never
path-reachable. Set both flags here so every pseudo filesystem gets
them by default instead of each caller setting them.

SB\_I\_NODEV is inert for unreachable mounts. SB\_I\_NOEXEC has one
visible effect: an executable mapping of a pseudo-fs fd, such as a
dma-buf, now fails with -EPERM, which is the invariant the assertion
enforces. No in-tree caller maps these executable.

Reproduce on CONFIG\_DEBUG\_VFS=y:

  make -C tools/testing/selftests/dmabuf-heaps
  sudo ./tools/testing/selftests/dmabuf-heaps/dmabuf-heap -t system

## Affected and fixed versions

- Linux: \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< b9d45d328fcda4f0d3d281b7d6f12d3f181d9381; \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< 8e931557b317f0fb414839fa51fae1d5feb0ad97; \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< 6de2aeffabaafaeda819e60ec8d04f199711e11a; 9b8076a9404568d6cb6673b9a079558b15051966; \>= 6.15.6, \< 6.16 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 6.16 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-64596. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64596.md
Affected: Linux >= 1e7ab6f67824343ee3e96f100f0937c393749a8a, < b9d45d328fcda4f0d3d281b7d6f12d3f181d9381; >= 1e7ab6f67824343ee3e96f100f0937c393749a8a, < 8e931557b317f0fb414839fa51fae1d5feb0ad97; >= 1e7ab6f67824343ee3e96f100f0937c393749a8a, < 6de2aeffabaafaeda819e60ec8d04f199711e11a; 9b8076a9404568d6cb6673b9a0…
Fixed in: Linux 8e931557b317f0fb414839fa51fae1d5feb0ad97, Linux 6de2aeffabaafaeda819e60ec8d04f199711e11a, Linux 6.16

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-64596 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< b9d45d328fcda4f0d3d281b7d6f12d3f181d9381; \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< 8e931557b317f0fb414839fa51fae1d5feb0ad97; \>= 1e7ab6f67824343ee3e96f100f0937c393749a8a, \< 6de2aeffabaafaeda819e60ec8d04f199711e11a; 9b8076a9404568d6cb6673b9a079558b15051966; \>= 6.15.6, \< 6.16; Linux 6.16.

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

Yes. Fixed in Linux 8e931557b317f0fb414839fa51fae1d5feb0ad97, Linux 6de2aeffabaafaeda819e60ec8d04f199711e11a, Linux 6.16. Upgrade Linux to 6.16 or later.

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

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/b9d45d328fcda4f0d3d281b7d6f12d3f181d9381>
- other: <https://git.kernel.org/stable/c/8e931557b317f0fb414839fa51fae1d5feb0ad97>
- other: <https://git.kernel.org/stable/c/6de2aeffabaafaeda819e60ec8d04f199711e11a>

## 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-64596>

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