CVE-2026-63978
net/handshake: Drain pending requests at net namespace exit
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 2bf24a7e190aae0ea47c78099938ae056c622e44; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 8c35539db0ab0bfa1ea44efab00b053261a69469; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ea5fe6a73ca57e5150b8a38b341aef2636eb72f0
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 2bf24a7e190aae0ea47c78099938ae056c622e44; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 8c35539db0ab0bfa1ea44efab00b053261a69469; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ea5fe6a73ca57e5150b8a38b341aef2636eb72f0; Linux 6.4
- Fixed in
- Linux 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd, Linux 2bf24a7e190aae0ea47c78099938ae056c622e44, Linux 8c35539db0ab0bfa1ea44efab00b053261a69469
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.52% chance of exploitation in 30 days (percentile 37, 2026-11-29)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/handshake: Drain pending requests at net namespace exit The arguments to list_splice_init() in handshake_net_exit() are reversed. The call moves the local empty "requests" list onto hn->hn_requests, leaving the local list empty, so the subsequent drain loop runs zero iterations. Pending handshake requests that had not yet been accepted are not torn down when the net namespace is destroyed; each one keeps a reference on a socket file and on the handshake_req allocation. Pass the source and destination in the documented order (list_splice_init(list, head) moves list onto head) so the pending list is transferred to the local scratch list and drained through handshake_complete(). Fixing the splice direction exposes a list-corruption race. After the splice each req->hr_list still has non-empty link pointers, threading the stack-local scratch list rather than hn_requests. A concurrent handshake_req_cancel() -- for example, from sunrpc's TLS timeout on a kernel socket whose netns reference was not taken -- finds the request through the rhashtable, calls remove_pending(), and sees !list_empty(&req->hr_list). __remove_pending_locked() then list_del_init()s an entry off the scratch list while the drain iterates, corrupting it. The same call arriving after the drain loop has run list_del() on an entry hits LIST_POISON instead. Have remove_pending() check HANDSHAKE_F_NET_DRAINING under hn_lock and report not-found when drain is in progress. The drain has already taken ownership; handshake_complete()'s existing test_and_set on HANDSHAKE_F_REQ_COMPLETED still arbitrates between drain and cancel for who calls the consumer's hp_done. Use list_del_init() rather than list_del() in the drain so req->hr_list does not carry LIST_POISON after drain releases the entry. The DRAINING guard in remove_pending() makes cancel return false, but cancel still falls through to test_and_set_bit on HANDSHAKE_F_REQ_COMPLETED and drops the request's hr_file reference. Without another pin, if that is the last reference, sk_destruct frees the request while it is still linked on the drain loop's local list. Pin each request's hr_file under hn_lock before releasing the list, and drop that drain pin after the loop finishes with the request.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 2bf24a7e190aae0ea47c78099938ae056c622e44; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 8c35539db0ab0bfa1ea44efab00b053261a69469; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ea5fe6a73ca57e5150b8a38b341aef2636eb72f0 | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-63978. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-63978.md Affected: Linux >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 2bf24a7e190aae0ea47c78099938ae056c622e44; >= 3b3009ea8abb713b022d94f… Fixed in: Linux 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd, Linux 2bf24a7e190aae0ea47c78099938ae056c622e44, Linux 8c35539db0ab0bfa1ea44efab00b053261a69469 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.
References
Patches
- https://git.kernel.org/stable/c/ee4b2ba9d30155f9945811cd3c0c1b06d45787a9
- https://git.kernel.org/stable/c/9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd
- https://git.kernel.org/stable/c/2bf24a7e190aae0ea47c78099938ae056c622e44
- https://git.kernel.org/stable/c/8c35539db0ab0bfa1ea44efab00b053261a69469
- https://git.kernel.org/stable/c/ea5fe6a73ca57e5150b8a38b341aef2636eb72f0
FAQ
Is CVE-2026-63978 being exploited?
There is no confirmed exploitation: CVE-2026-63978 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-29).
How serious is CVE-2026-63978?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-63978?
Linux >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 2bf24a7e190aae0ea47c78099938ae056c622e44; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 8c35539db0ab0bfa1ea44efab00b053261a69469; >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < ea5fe6a73ca57e5150b8a38b341aef2636eb72f0; Linux 6.4.
Is there a fix for CVE-2026-63978?
Yes. Fixed in Linux 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd, Linux 2bf24a7e190aae0ea47c78099938ae056c622e44, Linux 8c35539db0ab0bfa1ea44efab00b053261a69469. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-63978?
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.