CVE-2026-64596: libfs: set SB_I_NOEXEC and SB_I_NODEV by default in init_pseudo()

Published Aug 6, 2026
·
Updated

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

libfs: set SBINOEXEC and SBINODEV by default in initpseudo()

Since commit 1e7ab6f67824 ("anoninode: rework assertions"), pathnoexec() warns when an anonymous-inode file is mmap'd from a superblock that has not set SBINOEXEC. dma-buf backs its files this way and never set the flag, so mmap of any exported buffer trips the warning on a CONFIGDEBUGVFS=y kernel:

WARNING: CPU: 11 PID: 121813 at fs/exec.c:118 pathnoexec+0x47/0x50 dommap+0x2b5/0x680 vmmmappgoff+0x129/0x210 ksysmmappgoff+0x177/0x240 x64sysmmap+0x33/0x70

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

SBINODEV is inert for unreachable mounts. SBINOEXEC 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 CONFIGDEBUGVFS=y:

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

Affected Software

1 affected component
Linux Kernel

Event History

Aug 6, 2026
CVE Published
via MITRE·07:13 AM
Data Sourced
via MITRE·07:13 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64596?

CVE-2026-64596 has a severity rating of 5, indicating a medium risk level.

2

What vulnerability does CVE-2026-64596 address?

CVE-2026-64596 addresses the default setting of SB_I_NOEXEC and SB_I_NODEV in the init_pseudo() function in the Linux kernel.

3

How do I mitigate CVE-2026-64596?

You can mitigate CVE-2026-64596 by ensuring that your Linux kernel version is updated to include the patch addressing this vulnerability.

4

What is the impact of CVE-2026-64596?

The impact of CVE-2026-64596 is that it may allow for improper handling of file permissions for anonymous inode files.

5

Is there a patch available for CVE-2026-64596?

Yes, a patch for CVE-2026-64596 has been implemented in the Linux kernel to resolve the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203