CVE-2026-99426
smb: client: hold server info until cifsd exits
What happened?
In the Linux kernel, the following vulnerability has been resolved:
smb: client: hold server info until cifsd exits
The last session reference can be dropped while the cifsd demultiplex thread is still running clean_demultiplex_info(). That thread frees TCP_Server_Info there, racing with cifs_put_tcp_session() as it releases the server crypto state. syzbot reported a KASAN use-after-free in cifs_crypto_secmech_release().
Keep an object reference for the cifsd thread. Defer final crypto, session-key, network namespace, string, and structure cleanup until both the last session reference and the thread reference are dropped. Drop the thread reference after clean_demultiplex_info() has finished using the server.
Build-tested with ARCH=arm64 and W=1 for fs/smb/client/connect.o. The KASAN reproducer was not run on the patched kernel.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 to < 54919a8dcd3c2fcaa535597da5290a7a1dece5b3; affected: a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 to < 3c0a424aabe7a312badd9e9d5c530a73901a104c; affected: a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 to < 20a2fb9842ca504ce8d877ee04fb850a1af5ef73; affected: a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 to < 482c117c6dbeee382790168af10959810450ab09 | See vendor advisory |
| LinuxLinux | affected: 3.17; unaffected: 0 to < 3.17; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.2 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99426
- https://git.kernel.org/stable/c/54919a8dcd3c2fcaa535597da5290a7a1dece5b3
- https://git.kernel.org/stable/c/3c0a424aabe7a312badd9e9d5c530a73901a104c
- https://git.kernel.org/stable/c/20a2fb9842ca504ce8d877ee04fb850a1af5ef73
- https://git.kernel.org/stable/c/482c117c6dbeee382790168af10959810450ab09