CVE-2026-80982

Source
https://cve.org/CVERecord?id=CVE-2026-80982
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80982.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80982
Downstream
Published
2026-09-11T19:42:42Z
Modified
2026-09-12T11:45:49Z
Summary
net/smc: fix use-after-free in smc_rx_pipe_buf_release()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80982.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9014db202cb764b8e14c53e7bacc81f9a1a2ba7f
Fixed
6a644a7340df978785f3109d1e0726a982ce2c6f
Fixed
0761e49aa78c2f1362511054c6e9670653858837
Fixed
0926f59ca0f94120895b92180c636a48d0ed3a6d
Fixed
c924884743e948e25625b7fbf3ee2a9325a204a7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80982.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
6.12.109
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.50
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80982.json"