net/smc: fix use-after-free in smc_rx_pipe_buf_release() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: fix use-after-free in smc_rx_pipe_buf_release() smc_rx_splice() hands RMB pages to a pipe and takes a socket reference per entry so the smc_sock stays alive until the reader finishes. The connection does not: a concurrent close runs smc_conn_free(), which releases the receive buffer back to the link group pool. smc_rx_pipe_buf_release() tests sk_state before taking the socket lock. The state can change between the test and the lock, and smc_rx_update_cons() then dereferences conn->rmb_desc and walks conn->lgr, which smc_conn_free() has already released. On the is_reg_err path smcr_buf_unuse() frees the descriptor outright, so this is a use-after-free. Take the socket lock first and test conn->freed instead. smc_conn_free() sets that flag before releasing anything, and every caller holds the socket lock. The two paths exclude each other: either the pipe release runs first with everything valid, or it sees the flag and skips the update.
References
- https://git.kernel.org/stable/c/dadd97c8296b23aa816e91ed70041820ae087baa
- https://git.kernel.org/stable/c/df441f3efbb50eb0f120b8de4bf441c31fb0551d
- https://git.kernel.org/stable/c/6a644a7340df978785f3109d1e0726a982ce2c6f
- https://git.kernel.org/stable/c/0761e49aa78c2f1362511054c6e9670653858837
- https://git.kernel.org/stable/c/0926f59ca0f94120895b92180c636a48d0ed3a6d
- https://git.kernel.org/stable/c/c924884743e948e25625b7fbf3ee2a9325a204a7
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-76305
- GCVE · GCVE-0-2026-80982
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · 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
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < dadd97c8296b23aa816e91ed70041820ae087baa ; affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < df441f3efbb50eb0f120b8de4bf441c31fb0551d ; affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 6a644a7340df978785f3109d1e0726a982ce2c6f ; affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 0761e49aa78c2f1362511054c6e9670653858837 ; affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < 0926f59ca0f94120895b92180c636a48d0ed3a6d ; affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f < c924884743e948e25625b7fbf3ee2a9325a204a7 |
| Linux · Linux | affected 4.18 ; unaffected 0 < 4.18 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* |
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 |