net/smc: do not dereference an unset send buffer on the SMC-D teardown path (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: do not dereference an unset send buffer on the SMC-D teardown path smc_close_stream_wait() calls smc_tx_prepared_sends() from inside its sk_wait_event() condition, and sk_wait_event() evaluates that condition once with the socket lock released. smcd_buf_detach() clears conn->sndbuf_desc from smc_conn_kill() under lock_sock(), so a link group terminating while a socket waits there leaves the helper dereferencing NULL, faulting out of close(). SIOCOUTQ reads the field by hand, and smc_close_cancel_work() drops the lock across two cancel_*_sync() calls. Sample the pointer once in the helper, report nothing prepared while it is unset, and bound the ioctl the same way. The receive tasklet dereferences the field directly in smc_cdc_msg_recv_action(), not through this helper; 1/2 is what keeps it from running that late.
Références
- https://git.kernel.org/stable/c/ab26e12dd5d2f43d939fcf456933a816e81d2e51
- https://git.kernel.org/stable/c/e3fcff8d22a6c9540748846cd800443a643553a6
- https://git.kernel.org/stable/c/f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45
- https://git.kernel.org/stable/c/f517cf02033801a28f98d86ca613a3533cf066b3
- https://git.kernel.org/stable/c/b395dd319cea422239cb45b998fb38d7e373af87
Références européennes
- ENISA EUVD · EUVD-2026-76307
- GCVE · GCVE-0-2026-80984
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 21f6f41e82e59740e26e06e77bdf58dc7f6f08dd < ab26e12dd5d2f43d939fcf456933a816e81d2e51 ; affected ae2be35cbed2c8385e890147ea321a3fcc3ca5fa < e3fcff8d22a6c9540748846cd800443a643553a6 ; affected ae2be35cbed2c8385e890147ea321a3fcc3ca5fa < f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45 ; affected ae2be35cbed2c8385e890147ea321a3fcc3ca5fa < f517cf02033801a28f98d86ca613a3533cf066b3 ; affected ae2be35cbed2c8385e890147ea321a3fcc3ca5fa < b395dd319cea422239cb45b998fb38d7e373af87 ; affected 6.6.66 < 6.6.157 |
| Linux · Linux | affected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.* |
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 |