{
  "id": "CVE-2026-23240",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-23240",
  "published_at": "2026-03-10T17:28:27.371Z",
  "title": "tls: Fix race condition in tls_sw_cancel_work_tx()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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\ntls: Fix race condition in tls_sw_cancel_work_tx()\n\nThis issue was discovered during a code audit.\n\nAfter cancel_delayed_work_sync() is called from tls_sk_proto_close(),\ntx_work_handler() can still be scheduled from paths such as the\nDelayed ACK handler or ksoftirqd.\nAs a result, the tx_work_handler() worker may dereference a freed\nTLS object.\n\nThe following is a simple race scenario:\n\n          cpu0                         cpu1\n\ntls_sk_proto_close()\n  tls_sw_cancel_work_tx()\n                                 tls_write_space()\n                                   tls_sw_write_space()\n                                     if (!test_and_set_bit(BIT_TX_SCHEDULED, \u0026tx_ctx-\u003etx_bitmask))\n    set_bit(BIT_TX_SCHEDULED, \u0026ctx-\u003etx_bitmask);\n    cancel_delayed_work_sync(\u0026ctx-\u003etx_work.work);\n                                     schedule_delayed_work(\u0026tx_ctx-\u003etx_work.work, 0);\n\nTo prevent this race condition, cancel_delayed_work_sync() is\nreplaced with disable_delayed_work_sync().",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.3:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.3:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.3:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.3:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.3:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.3:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, \u003c a5de36d6cee74a92c1a21b260bc507e64bc451de",
          "\u003e= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, \u003c 854cd32bc74fe573353095e90958490e4e4d641b",
          "\u003e= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, \u003c 17153f154f80be2b47ebf52840f2d8f724eb2f3b",
          "\u003e= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, \u003c 7bb09315f93dce6acc54bf59e5a95ba7365c2be4"
        ],
        "fixed_in": [
          "a5de36d6cee74a92c1a21b260bc507e64bc451de",
          "854cd32bc74fe573353095e90958490e4e4d641b",
          "17153f154f80be2b47ebf52840f2d8f724eb2f3b",
          "7bb09315f93dce6acc54bf59e5a95ba7365c2be4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.3"
        ],
        "fixed_in": [
          "0",
          "6.12.75",
          "6.18.16",
          "6.19.6",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a5de36d6cee74a92c1a21b260bc507e64bc451de or 854cd32bc74fe573353095e90958490e4e4d641b or 17153f154f80be2b47ebf52840f2d8f724eb2f3b or 7bb09315f93dce6acc54bf59e5a95ba7365c2be4 or later.",
      "Upgrade Linux to 0 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
