{
  "id": "CVE-2026-63980",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63980",
  "published_at": "2026-07-19T14:56:03.887Z",
  "title": "net/handshake: Use spin_lock_bh for hn_lock",
  "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/handshake: Use spin_lock_bh for hn_lock\n\nnvmet_tcp_state_change(), a socket callback that runs in BH context,\ncan reach handshake_req_cancel() via nvmet_tcp_schedule_release_queue()\nand tls_handshake_cancel().  handshake_req_cancel() acquires\nhn-\u003ehn_lock with plain spin_lock().  If a process-context thread on\nthe same CPU holds hn-\u003ehn_lock when a softirq invokes the cancel path,\nthe lock attempt deadlocks.  This is the only caller that invokes\ntls_handshake_cancel() from BH context; every other consumer calls it\nfrom process context.\n\nDeferring the cancel to process context in the NVMe target is not\nstraightforward: nvmet_tcp_schedule_release_queue() must call\ntls_handshake_cancel() atomically with its state transition to\nDISCONNECTING.  If the cancel were deferred, the handshake completion\ncallback could fire in the window before the cancel runs, observe the\nunexpected state, and return without dropping its kref on the queue.\nReworking that interlock is considerably more invasive than hardening\nthe handshake lock.  Convert all hn-\u003ehn_lock acquisitions from\nspin_lock/spin_unlock to spin_lock_bh/spin_unlock_bh so the lock is\nnever taken with softirqs enabled.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 675b453e024154dd547921c6e6d5b58747ba7e0e, \u003c 06ab5978866fc2221b910347fd3e510ca8e7b1a4",
          "\u003e= 675b453e024154dd547921c6e6d5b58747ba7e0e, \u003c 0866569fc36a56f568acd3900d354e3505932e09",
          "\u003e= 675b453e024154dd547921c6e6d5b58747ba7e0e, \u003c 91898de9501a047ba67c6b864dcd403e00bdfbf5",
          "\u003e= 675b453e024154dd547921c6e6d5b58747ba7e0e, \u003c cc993e0927ec8bd98ea33377ada03295fcda0f24"
        ],
        "fixed_in": [
          "06ab5978866fc2221b910347fd3e510ca8e7b1a4",
          "0866569fc36a56f568acd3900d354e3505932e09",
          "91898de9501a047ba67c6b864dcd403e00bdfbf5",
          "cc993e0927ec8bd98ea33377ada03295fcda0f24"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.93",
          "6.18.35",
          "7.0.12",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 06ab5978866fc2221b910347fd3e510ca8e7b1a4 or 0866569fc36a56f568acd3900d354e3505932e09 or 91898de9501a047ba67c6b864dcd403e00bdfbf5 or cc993e0927ec8bd98ea33377ada03295fcda0f24 or later.",
      "Upgrade Linux to 0 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
