{
  "id": "CVE-2026-74692",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74692",
  "published_at": "2026-08-22T15:32:55.873Z",
  "title": "net/smc: fix TOCTOU race between smc_listen_out() and listener close",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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-\u003esk.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.",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa",
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c feb71634bb1abab3e8fb5cde874b27001cc1282e",
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c 01865e1ddb126b25ac9eba5cdd7ec49e11183a64",
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c 00f89433777236ced4771211047fb5d4cd581cea",
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67",
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c ff5bcd804b5bc5c64736b7d318c20e12ea9506b8",
          "\u003e= fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9, \u003c 185a4caeecabc150106deda1da170b09f2ad803f",
          "d1d004585b40c212b338fc8a40cbaaf230ea4703",
          "\u003e= 4.19.299, \u003c 4.20"
        ],
        "fixed_in": [
          "53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa",
          "feb71634bb1abab3e8fb5cde874b27001cc1282e",
          "01865e1ddb126b25ac9eba5cdd7ec49e11183a64",
          "00f89433777236ced4771211047fb5d4cd581cea",
          "78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67",
          "ff5bcd804b5bc5c64736b7d318c20e12ea9506b8",
          "185a4caeecabc150106deda1da170b09f2ad803f",
          "4.20"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.1"
        ],
        "fixed_in": [
          "0",
          "5.15.216",
          "6.1.183",
          "6.6.152",
          "6.12.104",
          "6.18.45",
          "7.1.9",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 53c7938d8bcfde3296ec1a347ba2a9393c1fdcfa or feb71634bb1abab3e8fb5cde874b27001cc1282e or 01865e1ddb126b25ac9eba5cdd7ec49e11183a64 or 00f89433777236ced4771211047fb5d4cd581cea or 78e5ebcd1c10ed7c8bda0a99e0abd5b62da86d67 or ff5bcd804b5bc5c64736b7d318c20e12ea9506b8 or 185a4caeecabc150106deda1da170b09f2ad803f or 4.20 or later.",
      "Upgrade Linux to 0 or 5.15.216 or 6.1.183 or 6.6.152 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
