net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 12 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data While bytes spliced off the RMB are still in a pipe, recvmsg() waits for the pipe to release them before it copies the data behind them. The path to that wait skips the timeout and signal checks, and smc_rx_wait() returns at once on RCV_SHUTDOWN. With a signal pending, after SHUT_RD, or once the peer closes or shuts down writing, recvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot stop it. MSG_DONTWAIT and an expired SO_RCVTIMEO wait there too instead of returning -EAGAIN. Check the timeout and signals before that wait, and end it when the pipe releases the data or the connection is killed, not on RCV_SHUTDOWN. A zero-length read returns 0 without waiting for the pipe; a non-blocking one returns -EAGAIN while poll() still reports the socket readable (splice() can still take those bytes). The wait sets SOCKWQ_ASYNC_WAITDATA like smc_rx_wait(), so a byte arriving behind the pipe raises no SIGIO on a reader already asleep for it, and a full barrier orders its wait queue entry before its read of splice_pending, so no wake is lost.
Références
- https://git.kernel.org/stable/c/bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a
- https://git.kernel.org/stable/c/6f9fffc0b39a972e6040f340fff63bcd39cc3389
- https://git.kernel.org/stable/c/75197a9f79acb6be19088b01b1d6fb7785860ce1
- https://git.kernel.org/stable/c/a16adc69aa7a6b94d2e08f6b61233a2abd0f9960
- https://git.kernel.org/stable/c/16bbd8c8381c01598ae91bc72e62f617353d9bd9
- https://git.kernel.org/stable/c/f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7
- https://git.kernel.org/stable/c/883b66d11ee3ed89cc22599280d3c319cf38903f
- https://git.kernel.org/stable/c/8288ba942cfd20621c05e16978b7c3da91513ae1
Références européennes
- ENISA EUVD · EUVD-2026-131056
- GCVE · GCVE-0-2026-99606
Avis du CERT-FR
- 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
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 6f9fffc0b39a972e6040f340fff63bcd39cc3389 affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 75197a9f79acb6be19088b01b1d6fb7785860ce1 affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < a16adc69aa7a6b94d2e08f6b61233a2abd0f9960 affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 16bbd8c8381c01598ae91bc72e62f617353d9bd9 affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7 affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 883b66d11ee3ed89cc22599280d3c319cf38903f affectée : ≥ 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 8288ba942cfd20621c05e16978b7c3da91513ae1 Autres versions : non affectée |
| Linux · Linux | affectée : 4.18 non affectée : ≥ 0 < 4.18 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.64 ≤ 6.18.* non affectée : ≥ 7.3.5 ≤ 7.3.* non affectée : ≥ 7.4-rc2 ≤ * Autres versions : affectée |
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 |