smb: client: hold server info until cifsd exits (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/f2b6e15cb5e5c6b64636aeca4a7b8f6d86d7279a
- https://git.kernel.org/stable/c/dacdee7d19dbc80a25a0ad21f3b8ce085922900f
- https://git.kernel.org/stable/c/d659f080d135534cdda44f4b7373dd3c8f37550c
- https://git.kernel.org/stable/c/2e8630114a29713a65aa2ed183ba356443ea550f
- 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
European references
- ENISA EUVD · EUVD-2026-130092
- GCVE · GCVE-0-2026-99426
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < f2b6e15cb5e5c6b64636aeca4a7b8f6d86d7279a affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < dacdee7d19dbc80a25a0ad21f3b8ce085922900f affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < d659f080d135534cdda44f4b7373dd3c8f37550c affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < 2e8630114a29713a65aa2ed183ba356443ea550f affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < 54919a8dcd3c2fcaa535597da5290a7a1dece5b3 affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < 3c0a424aabe7a312badd9e9d5c530a73901a104c affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < 20a2fb9842ca504ce8d877ee04fb850a1af5ef73 affected : ≥ a5c3e1c725af9e84deceb3c33939ca4ffe3fefc8 < 482c117c6dbeee382790168af10959810450ab09 Other versions : unaffected |
| Linux · Linux | affected : 3.17 unaffected : ≥ 0 < 3.17 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |