WinFsp's extended-attribute parser turns malformed offsets into kernel writes
CVE-2026-138262 affects WinFsp before 2.2.26323. The kernel driver trusts fields in extended-attribute responses. A local user can mount a WinFsp filesystem and answer QueryEa or SetEa requests with malformed NextEntryOffset values. The result is a zero-byte write past a pool allocation in FspEaBufferFromFileSystemValidate, which can crash the system.
The attack is local and requires the ability to mount a filesystem, not a remote login. That distinction matters for prioritization. It also makes the vulnerability relevant to endpoint containment, test labs, and systems that allow unprivileged users to start FUSE-like services. A malicious local user who can already mount a filesystem should not gain kernel memory corruption through malformed metadata.
The boundary between user mode and the kernel
Filesystem clients and servers exchange structured records. Length fields and offsets describe where the next extended-attribute entry begins. When the kernel parser accepts a value from a user-mode server without checking the full record boundary, the server controls more than its own buffer. The CVE description says the malformed offset causes a zero-byte write beyond the allocation. That may sound limited, but pool corruption is a dangerous primitive and can produce a system crash.
Defensive design treats every filesystem response as untrusted input. The kernel should validate the header, entry length, offset progression, and total buffer size before copying or walking the list. User-mode components should reject malformed replies too, but the kernel check is the one that protects the operating system.
Upgrade and exposure review
Upgrade to WinFsp 2.2.26323 or later. Verify the installed driver version rather than only the application installer version.
Review which users and services can create or mount WinFsp filesystems. On managed endpoints, restrict this capability unless a business process requires it.
Inspect crash dumps for faults in the WinFsp driver and extended-attribute paths. A local user who repeatedly causes a pool-corruption crash after mounting a filesystem should be treated as suspicious.
Test the patched driver with malformed QueryEa and SetEa responses in an isolated lab. Confirm that the driver rejects the response and that the system remains stable.
Scope
This is not a remote network vulnerability. The public record describes unprivileged local users. The appropriate enterprise action is still to patch, inventory mounted-filesystem capabilities, and watch for local privilege or availability attempts.
Top comments (0)