# CVE-2026-80982: net/smc: fix use-after-free in smc_rx_pipe_buf_release()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-11T19:42:42.243Z
- Modified: 2026-10-19T09:17:30.643Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before dadd97c8296b23aa816e91ed70041820ae087baa; from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before df441f3efbb50eb0f120b8de4bf441c31fb0551d; from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 6a644a7340df978785f3109d1e0726a982ce2c6f; from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 0761e49aa78c2f1362511054c6e9670653858837; from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 0926f59ca0f94120895b92180c636a48d0ed3a6d; from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before c924884743e948e25625b7fbf3ee2a9325a204a7; 4.18 (not affected: before 4.18; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-80982](https://www.cve.org/CVERecord?id=CVE-2026-80982), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-80982](https://nvd.nist.gov/vuln/detail/CVE-2026-80982), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-80982 · Whole record: https://cve.day/CVE-2026-80982.json · Rebuilt by cve.day 2026-11-25T22:59:38.003Z
