Cyber Security News

Linux Kernel FUSE Vulnerability Lets Attackers Gain Root Privileges

A Linux kernel vulnerability in the FUSE subsystem can allow a local attacker to gain root privileges by overflowing the page cache with attacker-controlled directory entries.

The flaw is tracked as CVE-2026-31694 and affects the code path used when the kernel caches FUSE readdir results.

FUSE lets a userspace filesystem talk to the kernel through /dev/fuse, and the kernel may cache directory entries for faster future reads.

Bynario analysis show the bug is in fuse_add_dirent_to_cache(), where the kernel calculates a directory entry size from a server-controlled filename length, then copies the entry into a single cache page without first checking whether the entry itself is larger than a single page.

That matters because a malicious FUSE server can return a directory entry whose serialized size is 4120 bytes on a 4 KiB page system, which is 24 bytes too large for a single page.

When the kernel resets the offset to zero and copies the record anyway, the extra bytes spill into the next page of memory. The dangerous part is not just memory corruption, but where the corrupted data lands.

Linux Kernel FUSE Vulnerability

In the reported validation, the overflow was used to corrupt cached bytes from a SUID binary such as /usr/bin/su, replacing the beginning of executable code with a short payload that calls setuid(0) and setgid(0) before continuing normally.

Once those identity-changing syscalls succeed inside a root-owned program, the attacker can bypass the usual authentication checks and spawn a root shell.

The attack is local, so the attacker needs the ability to mount or run a FUSE filesystem, which may be available through unprivileged user namespaces or fusermount3.

According to Bynario, the issue is exploitable on newer kernels with large readdir buffers and affects only systems using 4 KiB memory pages.

Systems with larger page sizes are not affected by this specific overflow size. The fix is simple: reject any directory entry that does not fit in a single page before caching it.

Administrators can also reduce exposure by limiting FUSE use, removing the setuid bit from fusermount3 when not needed, and restricting unprivileged namespaces where appropriate.

Stop Accepting SLAs Written for 2019 SOCs – Here’s the 2026 AI SLA Vendor ChecklistDownload Free AI SOC SLA Guide

Abinaya

Abi is a Security Editor and fellow reporter with Cyber Security News. She is covering various cyber security incidents happening in the Cyber Space.

Recent Posts

Google Chrome 153 Update Fixes 42 Security Flaws, Including 3 Critical Ones

Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…

2 hours ago

CISA and NIST Release Technical Checklist for Safeguarding Identity Tokens From Theft and Misuse

The Cybersecurity and Infrastructure Security Agency (CISA) and the National Institute of Standards and Technology…

12 hours ago

CISA Shares 17 Techniques Used by Hackers to Compromise Active Directory Environments

CISA and five international cybersecurity agencies have released detailed guidance describing 17 common techniques hackers…

13 hours ago

Apple Rolls Out Massive Security Update Fixing 273 Vulnerabilities Across Its Devices

Apple has released one of its largest coordinated security rollouts, addressing 273 distinct critical vulnerabilities…

13 hours ago

How to Keep Malware’s Rotating Infrastructure From Becoming a Detection Gap

You can’t detect today's attacks with yesterday’s threat intelligence; that’s how you could briefly formulate…

14 hours ago

Microsoft Bans Its AI Models From Launching Cyberattacks or Escalating Their Own Access

Microsoft has published a draft Humanist AI Code of Conduct that would prohibit its in-house…

14 hours ago