Not scored
smb: client: hold server info until cifsd exits
- Severity
- Not scored
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before f2b6e15cb5e5c6b64636aeca4a7b8f6d86d7279a, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before dacdee7d19dbc80a25a0ad21f3b8ce085922900f, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before d659f080d135534cdda44f4b7373dd3c8f37550c, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before 2e8630114a29713a65aa2ed183ba356443ea550f, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before 54919a8dcd3c2fcaa535597da5290a7a1dece5b3, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before 3c0a424aabe7a312badd9e9d5c530a73901a104c, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before 20a2fb9842ca504ce8d877ee04fb850a1af5ef73, from a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 before 482c117c6dbeee382790168af10959810450ab09 and 1 more Not affected: before 3.17, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99426 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-99426 changed 2026-11-23 | Public domain |