CVE-2026-98452
What it is
A flaw in how the Linux kernel opens folders on a Windows-style (SMB) file server and remembers them for later. If the server opens the folder but a later step of the same request fails, the kernel may not close it on the server, and it could treat an error reply as a success. The record does not say how an attacker could use it.
Written in plain English by AI from the official record. Show the official wording
In the Linux kernel, the following vulnerability has been resolved: smb: client: clean up failed cached directory opens open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If the CREATE succeeds but a later command returns an error, the function must retain the CREATE FID so common cleanup can issue SMB2_close(). It also must not treat a response error as a valid CREATE. Validate the CREATE response before using its fields, record the FIDs, and mark the handle open before handling errors from later compound commands. Move the -EREMCHG reconnect handling before response validation so a missing response does not hide the reconnect request. Count the handle when it is marked open; confirmed close responses decrement the counter, while existing close retry behavior remains best effort on transport failures.
Chance of being attacked in the next 30 days: 0.2 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 6.1.193, 6.6.163, 6.12.112, 6.18.55, 7.2.9, 7.3.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.