{"id":"CVE-2026-80984","state":"PUBLISHED","title":"net/smc: do not dereference an unset send buffer on the SMC-D teardown path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: do not dereference an unset send buffer on the SMC-D teardown path\n\nsmc_close_stream_wait() calls smc_tx_prepared_sends() from inside its\nsk_wait_event() condition, and sk_wait_event() evaluates that condition\nonce with the socket lock released. smcd_buf_detach() clears\nconn->sndbuf_desc from smc_conn_kill() under lock_sock(), so a link group\nterminating while a socket waits there leaves the helper dereferencing\nNULL, faulting out of close(). SIOCOUTQ reads the field by hand, and\nsmc_close_cancel_work() drops the lock across two cancel_*_sync() calls.\n\nSample the pointer once in the helper, report nothing prepared while it is\nunset, and bound the ioctl the same way. The receive tasklet dereferences\nthe field directly in smc_cdc_msg_recv_action(), not through this helper;\n1/2 is what keeps it from running that late.","publishedAt":"2026-09-11T19:42:43.573Z","updatedAt":"2026-10-19T08:46:08.671Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"21f6f41e82e59740e26e06e77bdf58dc7f6f08dd","status":"affected","lessThan":"ab26e12dd5d2f43d939fcf456933a816e81d2e51","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"e3fcff8d22a6c9540748846cd800443a643553a6","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"f517cf02033801a28f98d86ca613a3533cf066b3","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"b395dd319cea422239cb45b998fb38d7e373af87","versionType":"git"},{"version":"6.6.66","status":"affected","lessThan":"6.6.157","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c","net/smc/smc_tx.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c","net/smc/smc_tx.h"]}],"references":["https://git.kernel.org/stable/c/ab26e12dd5d2f43d939fcf456933a816e81d2e51","https://git.kernel.org/stable/c/e3fcff8d22a6c9540748846cd800443a643553a6","https://git.kernel.org/stable/c/f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45","https://git.kernel.org/stable/c/f517cf02033801a28f98d86ca613a3533cf066b3","https://git.kernel.org/stable/c/b395dd319cea422239cb45b998fb38d7e373af87"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80984.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80984","state":"PUBLISHED","datePublished":"2026-09-11T19:42:43.573Z","dateUpdated":"2026-10-19T08:46:08.671Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.811Z"},"containers":{"cna":{"title":"net/smc: do not dereference an unset send buffer on the SMC-D teardown path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: do not dereference an unset send buffer on the SMC-D teardown path\n\nsmc_close_stream_wait() calls smc_tx_prepared_sends() from inside its\nsk_wait_event() condition, and sk_wait_event() evaluates that condition\nonce with the socket lock released. smcd_buf_detach() clears\nconn->sndbuf_desc from smc_conn_kill() under lock_sock(), so a link group\nterminating while a socket waits there leaves the helper dereferencing\nNULL, faulting out of close(). SIOCOUTQ reads the field by hand, and\nsmc_close_cancel_work() drops the lock across two cancel_*_sync() calls.\n\nSample the pointer once in the helper, report nothing prepared while it is\nunset, and bound the ioctl the same way. The receive tasklet dereferences\nthe field directly in smc_cdc_msg_recv_action(), not through this helper;\n1/2 is what keeps it from running that late."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"21f6f41e82e59740e26e06e77bdf58dc7f6f08dd","status":"affected","lessThan":"ab26e12dd5d2f43d939fcf456933a816e81d2e51","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"e3fcff8d22a6c9540748846cd800443a643553a6","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"f517cf02033801a28f98d86ca613a3533cf066b3","versionType":"git"},{"version":"ae2be35cbed2c8385e890147ea321a3fcc3ca5fa","status":"affected","lessThan":"b395dd319cea422239cb45b998fb38d7e373af87","versionType":"git"},{"version":"6.6.66","status":"affected","lessThan":"6.6.157","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c","net/smc/smc_tx.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/af_smc.c","net/smc/smc_tx.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/ab26e12dd5d2f43d939fcf456933a816e81d2e51"},{"url":"https://git.kernel.org/stable/c/e3fcff8d22a6c9540748846cd800443a643553a6"},{"url":"https://git.kernel.org/stable/c/f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45"},{"url":"https://git.kernel.org/stable/c/f517cf02033801a28f98d86ca613a3533cf066b3"},{"url":"https://git.kernel.org/stable/c/b395dd319cea422239cb45b998fb38d7e373af87"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:46:08.671Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.66","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.109"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}