8.4high
net: smc: fix splice entry lifetime imbalance in smc_rx_splice
- Severity
- 8.4high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: smc: fix splice entry lifetime imbalance in smc_rx_splice smc_rx_splice() passes pages to splice_to_pipe() before taking the references that cover the lifetime of each splice entry. In the VM-backed RMB path, splice_to_pipe() may drop unqueued entries through smc_rx_spd_release(), while queued entries are released later via the pipe buffer callback. The old post-splice accounting also derives the number of queued VM pages from an offset mutated while building the descriptor, and a multi-page splice pairs one sock_hold() with multiple sock_put() calls. Take the page and socket references for every candidate entry before splice_to_pipe(), and drop the matching private state, page reference, and socket reference from smc_rx_spd_release() for entries that never get queued. This fixes a refcount imbalance that can underflow page refcounts and trigger a use-after-free.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 7ddc7af2ae7fc5a0c0635b245c0824c8b76de5cb, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 07ad246529d136d5ef441d5ab4c305d132ff3090, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before c841789e456ec6751342fa800639ce8e82ff0e6b, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before af02c67ce654356c58db20a0bb2db33ace3b07a8, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before ca8342b5fc24c249fdb998468f6a168b457c67e5, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 0b7d54cedea5cb158e21925ae0c6c2f5c87ed2a0, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 4515c78f4d9fd577270f012efeb062ea58b3682d, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 5d9686af2976741bbd79b150d1c9e60b81e7f12e and 1 more Not affected: before 4.18, from 5.10.266 up to 5.10.*, from 5.15.217 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: smc: fix splice entry lifetime imbalance in smc_rx_splice smc_rx_splice() passes pages to splice_to_pipe() before taking the references that cover the lifetime of each splice entry. In the VM-backed RMB path, splice_to_pipe() may drop unqueued entries through smc_rx_spd_release(), while queued entries are released later via the pipe buffer callback. The old post-splice accounting also derives the number of queued VM pages from an offset mutated while building the descriptor, and a multi-page splice pairs one sock_hold() with multiple sock_put() calls. Take the page and socket references for every candidate entry before splice_to_pipe(), and drop the matching private state, page reference, and socket reference from smc_rx_spd_release() for entries that never get queued. This fixes a refcount imbalance that can underflow page refcounts and trigger a use-after-free.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: smc: corregir el desequilibrio en el tiempo de vida de la entrada de splice en smc_rx_splice smc_rx_splice() pasa páginas a splice_to_pipe() antes de tomar las referencias que cubren el tiempo de vida de cada entrada de splice. En la ruta RMB respaldada por VM, splice_to_pipe() puede descartar entradas no encoladas a través de smc_rx_spd_release(), mientras que las entradas encoladas se liberan más tarde a través de la devolución de llamada del búfer de tubería. La antigua contabilidad post-splice también deriva el número de páginas VM encoladas de un desplazamiento mutado mientras se construye el descriptor, y un splice de varias páginas empareja una llamada a sock_hold() con múltiples llamadas a sock_put(). Tomar las referencias de página y de socket para cada entrada candidata antes de splice_to_pipe(), y descartar el estado privado coincidente, la referencia de página y la referencia de socket de smc_rx_spd_release() para las entradas que nunca se encolan. Esto corrige un desequilibrio en el contador de referencias que puede causar un desbordamiento negativo en los contadores de referencias de página y desencadenar un uso después de liberación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74631 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74631 changed 2026-10-16 | Public domain |