{"api_version":"1","generated_at":"2026-09-12T15:30:07+00:00","cve":"CVE-2026-80982","urls":{"html":"https://cve.report/CVE-2026-80982","api":"https://cve.report/api/cve/CVE-2026-80982.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-80982","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-80982"},"summary":{"title":"net/smc: fix use-after-free in smc_rx_pipe_buf_release()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix use-after-free in smc_rx_pipe_buf_release()\n\nsmc_rx_splice() hands RMB pages to a pipe and takes a socket reference\nper entry so the smc_sock stays alive until the reader finishes. The\nconnection does not: a concurrent close runs smc_conn_free(), which\nreleases the receive buffer back to the link group pool.\n\nsmc_rx_pipe_buf_release() tests sk_state before taking the socket lock.\nThe state can change between the test and the lock, and\nsmc_rx_update_cons() then dereferences conn->rmb_desc and walks\nconn->lgr, which smc_conn_free() has already released. On the\nis_reg_err path smcr_buf_unuse() frees the descriptor outright, so\nthis is a use-after-free.\n\nTake the socket lock first and test conn->freed instead.\nsmc_conn_free() sets that flag before releasing anything, and every\ncaller holds the socket lock. The two paths exclude each other: either\nthe pipe release runs first with everything valid, or it sees the flag\nand skips the update.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:04","updated_at":"2026-09-11 20:19:04"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0761e49aa78c2f1362511054c6e9670653858837","name":"https://git.kernel.org/stable/c/0761e49aa78c2f1362511054c6e9670653858837","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c924884743e948e25625b7fbf3ee2a9325a204a7","name":"https://git.kernel.org/stable/c/c924884743e948e25625b7fbf3ee2a9325a204a7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6a644a7340df978785f3109d1e0726a982ce2c6f","name":"https://git.kernel.org/stable/c/6a644a7340df978785f3109d1e0726a982ce2c6f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0926f59ca0f94120895b92180c636a48d0ed3a6d","name":"https://git.kernel.org/stable/c/0926f59ca0f94120895b92180c636a48d0ed3a6d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-80982","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80982","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 6a644a7340df978785f3109d1e0726a982ce2c6f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 0761e49aa78c2f1362511054c6e9670653858837 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 0926f59ca0f94120895b92180c636a48d0ed3a6d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f c924884743e948e25625b7fbf3ee2a9325a204a7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/smc/smc_rx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6a644a7340df978785f3109d1e0726a982ce2c6f","status":"affected","version":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","versionType":"git"},{"lessThan":"0761e49aa78c2f1362511054c6e9670653858837","status":"affected","version":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","versionType":"git"},{"lessThan":"0926f59ca0f94120895b92180c636a48d0ed3a6d","status":"affected","version":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","versionType":"git"},{"lessThan":"c924884743e948e25625b7fbf3ee2a9325a204a7","status":"affected","version":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/smc/smc_rx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.18"},{"lessThan":"4.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"4.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix use-after-free in smc_rx_pipe_buf_release()\n\nsmc_rx_splice() hands RMB pages to a pipe and takes a socket reference\nper entry so the smc_sock stays alive until the reader finishes. The\nconnection does not: a concurrent close runs smc_conn_free(), which\nreleases the receive buffer back to the link group pool.\n\nsmc_rx_pipe_buf_release() tests sk_state before taking the socket lock.\nThe state can change between the test and the lock, and\nsmc_rx_update_cons() then dereferences conn->rmb_desc and walks\nconn->lgr, which smc_conn_free() has already released. On the\nis_reg_err path smcr_buf_unuse() frees the descriptor outright, so\nthis is a use-after-free.\n\nTake the socket lock first and test conn->freed instead.\nsmc_conn_free() sets that flag before releasing anything, and every\ncaller holds the socket lock. The two paths exclude each other: either\nthe pipe release runs first with everything valid, or it sees the flag\nand skips the update."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:42:42.243Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6a644a7340df978785f3109d1e0726a982ce2c6f"},{"url":"https://git.kernel.org/stable/c/0761e49aa78c2f1362511054c6e9670653858837"},{"url":"https://git.kernel.org/stable/c/0926f59ca0f94120895b92180c636a48d0ed3a6d"},{"url":"https://git.kernel.org/stable/c/c924884743e948e25625b7fbf3ee2a9325a204a7"}],"title":"net/smc: fix use-after-free in smc_rx_pipe_buf_release()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-80982","datePublished":"2026-09-11T19:42:42.243Z","dateReserved":"2026-08-26T14:34:25.811Z","dateUpdated":"2026-09-11T19:42:42.243Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:04","lastModifiedDate":"2026-09-11 20:19:04","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"80982","Ordinal":"1","Title":"net/smc: fix use-after-free in smc_rx_pipe_buf_release()","CVE":"CVE-2026-80982","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"80982","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix use-after-free in smc_rx_pipe_buf_release()\n\nsmc_rx_splice() hands RMB pages to a pipe and takes a socket reference\nper entry so the smc_sock stays alive until the reader finishes. The\nconnection does not: a concurrent close runs smc_conn_free(), which\nreleases the receive buffer back to the link group pool.\n\nsmc_rx_pipe_buf_release() tests sk_state before taking the socket lock.\nThe state can change between the test and the lock, and\nsmc_rx_update_cons() then dereferences conn->rmb_desc and walks\nconn->lgr, which smc_conn_free() has already released. On the\nis_reg_err path smcr_buf_unuse() frees the descriptor outright, so\nthis is a use-after-free.\n\nTake the socket lock first and test conn->freed instead.\nsmc_conn_free() sets that flag before releasing anything, and every\ncaller holds the socket lock. The two paths exclude each other: either\nthe pipe release runs first with everything valid, or it sees the flag\nand skips the update.","Type":"Description","Title":"net/smc: fix use-after-free in smc_rx_pipe_buf_release()"}]}}}