{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-74692","id":"CVE-2026-74692","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 th","descriptionLong":"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.","published":"2026-08-22T15:32:55.873Z","updated":"2026-11-17T07:03:40.589307552Z","reserved":"2026-08-15T05:44:03.926Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa","status":"affected","versionType":"git"},{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"feb71634bb1abab3e8fb5cde874b27001cc1282e","status":"affected","versionType":"git"},{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"01865e1ddb126b25ac9eba5cdd7ec49e11183a64","status":"affected","versionType":"git"},{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"00f89433777236ced4771211047fb5d4cd581cea","status":"affected","versionType":"git"},{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67","status":"affected","versionType":"git"},{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"ff5bcd804b5bc5c64736b7d318c20e12ea9506b8","status":"affected","versionType":"git"},{"version":"fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9","lessThan":"185a4caeecabc150106deda1da170b09f2ad803f","status":"affected","versionType":"git"},{"version":"d1d004585b40c212b338fc8a40cbaaf230ea4703","status":"affected","versionType":"git"},{"version":"4.19.299","lessThan":"4.20","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.15.216","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.183","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.152","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.104","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.45","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa","tags":["web"]},{"url":"https://git.kernel.org/stable/c/feb71634bb1abab3e8fb5cde874b27001cc1282e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/01865e1ddb126b25ac9eba5cdd7ec49e11183a64","tags":["web"]},{"url":"https://git.kernel.org/stable/c/00f89433777236ced4771211047fb5d4cd581cea","tags":["web"]},{"url":"https://git.kernel.org/stable/c/78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ff5bcd804b5bc5c64736b7d318c20e12ea9506b8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/185a4caeecabc150106deda1da170b09f2ad803f","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74692.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74692","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0049,"epssPercentile":0.42894,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-74692","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74692","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-74692","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-74692","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}