# CVE-2026-63980: net/handshake: Use spin\_lock\_bh for hn\_lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.34% (percentile 29, 2026-12-04)
- **CWE:** CWE-362
- **Published:** 2026-07-19T14:56:03.887Z
- **Modified:** 2026-11-12T18:48:26.747Z

## Who should check

- Anyone running Linux \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 06ab5978866fc2221b910347fd3e510ca8e7b1a4; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 0866569fc36a56f568acd3900d354e3505932e09; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 91898de9501a047ba67c6b864dcd403e00bdfbf5; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< cc993e0927ec8bd98ea33377ada03295fcda0f24
- Anyone running Linux 6.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/handshake: Use spin\_lock\_bh for hn\_lock

nvmet\_tcp\_state\_change(), a socket callback that runs in BH context,
can reach handshake\_req\_cancel() via nvmet\_tcp\_schedule\_release\_queue()
and tls\_handshake\_cancel().  handshake\_req\_cancel() acquires
hn-\>hn\_lock with plain spin\_lock().  If a process-context thread on
the same CPU holds hn-\>hn\_lock when a softirq invokes the cancel path,
the lock attempt deadlocks.  This is the only caller that invokes
tls\_handshake\_cancel() from BH context; every other consumer calls it
from process context.

Deferring the cancel to process context in the NVMe target is not
straightforward: nvmet\_tcp\_schedule\_release\_queue() must call
tls\_handshake\_cancel() atomically with its state transition to
DISCONNECTING.  If the cancel were deferred, the handshake completion
callback could fire in the window before the cancel runs, observe the
unexpected state, and return without dropping its kref on the queue.
Reworking that interlock is considerably more invasive than hardening
the handshake lock.  Convert all hn-\>hn\_lock acquisitions from
spin\_lock/spin\_unlock to spin\_lock\_bh/spin\_unlock\_bh so the lock is
never taken with softirqs enabled.

## Affected and fixed versions

- Linux: \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 06ab5978866fc2221b910347fd3e510ca8e7b1a4; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 0866569fc36a56f568acd3900d354e3505932e09; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 91898de9501a047ba67c6b864dcd403e00bdfbf5; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< cc993e0927ec8bd98ea33377ada03295fcda0f24 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63980. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63980.md
Affected: Linux >= 675b453e024154dd547921c6e6d5b58747ba7e0e, < 06ab5978866fc2221b910347fd3e510ca8e7b1a4; >= 675b453e024154dd547921c6e6d5b58747ba7e0e, < 0866569fc36a56f568acd3900d354e3505932e09; >= 675b453e024154dd547921c6e6d5b58747ba7e0e, < 91898de9501a047ba67c6b864dcd403e00bdfbf5; >= 675b453e024154dd547921c…
Fixed in: Linux 06ab5978866fc2221b910347fd3e510ca8e7b1a4, Linux 0866569fc36a56f568acd3900d354e3505932e09, Linux 91898de9501a047ba67c6b864dcd403e00bdfbf5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63980 being exploited?

There is no confirmed exploitation: CVE-2026-63980 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-12-04).

### How serious is CVE-2026-63980?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-63980?

Linux \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 06ab5978866fc2221b910347fd3e510ca8e7b1a4; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 0866569fc36a56f568acd3900d354e3505932e09; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< 91898de9501a047ba67c6b864dcd403e00bdfbf5; \>= 675b453e024154dd547921c6e6d5b58747ba7e0e, \< cc993e0927ec8bd98ea33377ada03295fcda0f24; Linux 6.7.

### Is there a fix for CVE-2026-63980?

Yes. Fixed in Linux 06ab5978866fc2221b910347fd3e510ca8e7b1a4, Linux 0866569fc36a56f568acd3900d354e3505932e09, Linux 91898de9501a047ba67c6b864dcd403e00bdfbf5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-63980?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/06ab5978866fc2221b910347fd3e510ca8e7b1a4>
- patch: <https://git.kernel.org/stable/c/0866569fc36a56f568acd3900d354e3505932e09>
- patch: <https://git.kernel.org/stable/c/91898de9501a047ba67c6b864dcd403e00bdfbf5>
- patch: <https://git.kernel.org/stable/c/cc993e0927ec8bd98ea33377ada03295fcda0f24>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63980>

HTML: <https://flawdb.com/CVE-2026-63980> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63980>
