smb: client: delete compound mids on send failure before unlock (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 14 ()
- 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: delete compound mids on send failure before unlock When sending a compound request fails, smb_send_rqst() kicks off a reconnect. compound_send_recv() still has those mids on pending_mid_q, but it unlocks the server without removing them first. During reconnect, cifs_abort_connection() walks pending_mid_q and runs each mid callback. With no response yet, those callbacks return credits and drop in_flight. Then compound_send_recv()'s send-error path returns the same credits again. in_flight ends up decremented twice and smb2_add_credits() WARNs. syzbot hits this during SMB2_negotiate when the socket send fails. cifs_call_async() already calls delete_mid() before unlock on send failure. Do the same for compound chains and set cancelled_mid[] so the out: path does not delete them again.
References
- https://git.kernel.org/stable/c/4e9a1d5c763f751fcc2928f7131f143251e01760
- https://git.kernel.org/stable/c/ae288482a10fb0782b606f20ca4bf32d79efec2b
- https://git.kernel.org/stable/c/36a2ba21d38a86bae84441e4c8d5b10653ef341a
- https://git.kernel.org/stable/c/59d30bdc3dd6fd3a8990f59bc7a137b1cbb3ed4e
- https://git.kernel.org/stable/c/70783946f3b5d0c06ec7df0f5e7bec2bfad24efb
- https://git.kernel.org/stable/c/8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9
European references
- ENISA EUVD · EUVD-2026-103689
- GCVE · GCVE-0-2026-98449
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1594 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ ee258d79159afed52ca9372aeb9c1a51e89b32ee < 4e9a1d5c763f751fcc2928f7131f143251e01760 affected : ≥ ee258d79159afed52ca9372aeb9c1a51e89b32ee < ae288482a10fb0782b606f20ca4bf32d79efec2b affected : ≥ ee258d79159afed52ca9372aeb9c1a51e89b32ee < 36a2ba21d38a86bae84441e4c8d5b10653ef341a affected : ≥ ee258d79159afed52ca9372aeb9c1a51e89b32ee < 59d30bdc3dd6fd3a8990f59bc7a137b1cbb3ed4e affected : ≥ ee258d79159afed52ca9372aeb9c1a51e89b32ee < 70783946f3b5d0c06ec7df0f5e7bec2bfad24efb affected : ≥ ee258d79159afed52ca9372aeb9c1a51e89b32ee < 8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9 affected : 3c57a0be487088b08d9c88998f911eb4a7ba36e4 affected : ≥ 4.20.11 < 4.21 Other versions : unaffected |
| Linux · Linux | affected : 5.0 unaffected : ≥ 0 < 5.0 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.2.9 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * 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 |