{"api_version":"1","generated_at":"2026-08-22T21:52:58+00:00","cve":"CVE-2026-74692","urls":{"html":"https://cve.report/CVE-2026-74692","api":"https://cve.report/api/cve/CVE-2026-74692.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74692","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74692"},"summary":{"title":"net/smc: fix TOCTOU race between smc_listen_out() and listener close","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix TOCTOU race between smc_listen_out() and listener close\n\nsmc_listen_out() reads lsmc->sk.sk_state without the listener lock,\nthen acquires lock_sock_nested() only after the check passes. This\nopens a window where smc_close_active() can transition the listener\nto SMC_CLOSED, call smc_close_cleanup_listen() to drain the accept\nqueue, and release the lock, all between the lockless read and the\ndelayed lock acquisition:\n\n  smc_listen_work (smc_hs_wq)          smc_close_active()\n  -------------------------------      -------------------------\n  release_sock(child)\n  if (sk_state == SMC_LISTEN) TRUE\n                                        lock_sock(listener)\n                                        sk_state = SMC_CLOSED\n                                        smc_close_cleanup_listen()\n                                        release_sock(listener)\n                                        flush_work(tcp_listen_work)\n  lock_sock_nested(listener)\n  smc_accept_enqueue(listener, child) /* child enqueued on dead listener */\n\nsmc_close_active() flushes only tcp_listen_work. Work items already\ndispatched onto smc_hs_wq for the CLC handshake continue running\nunguarded. smc_accept_enqueue() takes a sock_hold() on the child that\nis never released, so the child smc_sock, its clcsock, and the\nreference all leak. A remote peer that opens TCP connections while the\nserver calls close() can exhaust kernel memory.\n\nMove lock_sock_nested() to before the sk_state check so that the test\nand the enqueue are atomic under the listener lock.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-22 16:16:43","updated_at":"2026-08-22 16:16:43"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67","name":"https://git.kernel.org/stable/c/78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/185a4caeecabc150106deda1da170b09f2ad803f","name":"https://git.kernel.org/stable/c/185a4caeecabc150106deda1da170b09f2ad803f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/00f89433777236ced4771211047fb5d4cd581cea","name":"https://git.kernel.org/stable/c/00f89433777236ced4771211047fb5d4cd581cea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ff5bcd804b5bc5c64736b7d318c20e12ea9506b8","name":"https://git.kernel.org/stable/c/ff5bcd804b5bc5c64736b7d318c20e12ea9506b8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/feb71634bb1abab3e8fb5cde874b27001cc1282e","name":"https://git.kernel.org/stable/c/feb71634bb1abab3e8fb5cde874b27001cc1282e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa","name":"https://git.kernel.org/stable/c/53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/01865e1ddb126b25ac9eba5cdd7ec49e11183a64","name":"https://git.kernel.org/stable/c/01865e1ddb126b25ac9eba5cdd7ec49e11183a64","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74692","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74692","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 feb71634bb1abab3e8fb5cde874b27001cc1282e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 01865e1ddb126b25ac9eba5cdd7ec49e11183a64 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 00f89433777236ced4771211047fb5d4cd581cea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 ff5bcd804b5bc5c64736b7d318c20e12ea9506b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 185a4caeecabc150106deda1da170b09f2ad803f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d1d004585b40c212b338fc8a40cbaaf230ea4703 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19.299 4.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.216 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.183 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.152 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.104 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.45 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.9 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * 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/af_smc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"lessThan":"feb71634bb1abab3e8fb5cde874b27001cc1282e","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"lessThan":"01865e1ddb126b25ac9eba5cdd7ec49e11183a64","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"lessThan":"00f89433777236ced4771211047fb5d4cd581cea","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"lessThan":"78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"lessThan":"ff5bcd804b5bc5c64736b7d318c20e12ea9506b8","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"lessThan":"185a4caeecabc150106deda1da170b09f2ad803f","status":"affected","version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","versionType":"git"},{"status":"affected","version":"d1d004585b40c212b338fc8a40cbaaf230ea4703","versionType":"git"},{"lessThan":"4.20","status":"affected","version":"4.19.299","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/smc/af_smc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.1"},{"lessThan":"5.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.216","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.183","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.152","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.104","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.45","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.216","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.183","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.152","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.104","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.45","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.9","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"5.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.299","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix TOCTOU race between smc_listen_out() and listener close\n\nsmc_listen_out() reads lsmc->sk.sk_state without the listener lock,\nthen acquires lock_sock_nested() only after the check passes. This\nopens a window where smc_close_active() can transition the listener\nto SMC_CLOSED, call smc_close_cleanup_listen() to drain the accept\nqueue, and release the lock, all between the lockless read and the\ndelayed lock acquisition:\n\n  smc_listen_work (smc_hs_wq)          smc_close_active()\n  -------------------------------      -------------------------\n  release_sock(child)\n  if (sk_state == SMC_LISTEN) TRUE\n                                        lock_sock(listener)\n                                        sk_state = SMC_CLOSED\n                                        smc_close_cleanup_listen()\n                                        release_sock(listener)\n                                        flush_work(tcp_listen_work)\n  lock_sock_nested(listener)\n  smc_accept_enqueue(listener, child) /* child enqueued on dead listener */\n\nsmc_close_active() flushes only tcp_listen_work. Work items already\ndispatched onto smc_hs_wq for the CLC handshake continue running\nunguarded. smc_accept_enqueue() takes a sock_hold() on the child that\nis never released, so the child smc_sock, its clcsock, and the\nreference all leak. A remote peer that opens TCP connections while the\nserver calls close() can exhaust kernel memory.\n\nMove lock_sock_nested() to before the sk_state check so that the test\nand the enqueue are atomic under the listener lock."}],"providerMetadata":{"dateUpdated":"2026-08-22T15:32:55.873Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa"},{"url":"https://git.kernel.org/stable/c/feb71634bb1abab3e8fb5cde874b27001cc1282e"},{"url":"https://git.kernel.org/stable/c/01865e1ddb126b25ac9eba5cdd7ec49e11183a64"},{"url":"https://git.kernel.org/stable/c/00f89433777236ced4771211047fb5d4cd581cea"},{"url":"https://git.kernel.org/stable/c/78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67"},{"url":"https://git.kernel.org/stable/c/ff5bcd804b5bc5c64736b7d318c20e12ea9506b8"},{"url":"https://git.kernel.org/stable/c/185a4caeecabc150106deda1da170b09f2ad803f"}],"title":"net/smc: fix TOCTOU race between smc_listen_out() and listener close","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74692","datePublished":"2026-08-22T15:32:55.873Z","dateReserved":"2026-08-15T05:44:03.926Z","dateUpdated":"2026-08-22T15:32:55.873Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-22 16:16:43","lastModifiedDate":"2026-08-22 16:16:43","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74692","Ordinal":"1","Title":"net/smc: fix TOCTOU race between smc_listen_out() and listener c","CVE":"CVE-2026-74692","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74692","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix TOCTOU race between smc_listen_out() and listener close\n\nsmc_listen_out() reads lsmc->sk.sk_state without the listener lock,\nthen acquires lock_sock_nested() only after the check passes. This\nopens a window where smc_close_active() can transition the listener\nto SMC_CLOSED, call smc_close_cleanup_listen() to drain the accept\nqueue, and release the lock, all between the lockless read and the\ndelayed lock acquisition:\n\n  smc_listen_work (smc_hs_wq)          smc_close_active()\n  -------------------------------      -------------------------\n  release_sock(child)\n  if (sk_state == SMC_LISTEN) TRUE\n                                        lock_sock(listener)\n                                        sk_state = SMC_CLOSED\n                                        smc_close_cleanup_listen()\n                                        release_sock(listener)\n                                        flush_work(tcp_listen_work)\n  lock_sock_nested(listener)\n  smc_accept_enqueue(listener, child) /* child enqueued on dead listener */\n\nsmc_close_active() flushes only tcp_listen_work. Work items already\ndispatched onto smc_hs_wq for the CLC handshake continue running\nunguarded. smc_accept_enqueue() takes a sock_hold() on the child that\nis never released, so the child smc_sock, its clcsock, and the\nreference all leak. A remote peer that opens TCP connections while the\nserver calls close() can exhaust kernel memory.\n\nMove lock_sock_nested() to before the sk_state check so that the test\nand the enqueue are atomic under the listener lock.","Type":"Description","Title":"net/smc: fix TOCTOU race between smc_listen_out() and listener c"}]}}}