CVE-2026-63978
published critical CVSS 3.1 · 9.8net/handshake: Drain pending requests at net namespace exit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3b3009ea8abb713b022d94fba95ec270cf6e7eae to < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9 · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 2bf24a7e190aae0ea47c78099938ae056c622e44 · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 8c35539db0ab0bfa1ea44efab00b053261a69469 · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < ea5fe6a73ca57e5150b8a38b341aef2636eb72f0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.93 through 6.12.* (unaffected · semver) · 6.18.44 through 6.18.* (unaffected · semver) · 7.0.12 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1968 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2106 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.69.1.el10_2 | ALSA-2026:91565 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.69.1.el10_2 | ALSA-2026:91565 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-687.61.1.el9_8 | ALSA-2026:90365 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - Pending handshake requests are created by network-facing kernel TLS consumers (nfsd via `tls_server_hello_x509()` in sunrpc, nvmet-tcp via `tls_server_hello_psk()`), reachable from unauthenticated remote TCP connections before credentials are verified; the bug fires when that namespace is torn down while those requests remain pending. AC:L - An attacker can reliably orchestrate the failure by opening TLS connections to leave handshakes pending, then destroying the namespace (user/net namespace or container teardown) and waiting for the predictable sunrpc/NVMe TLS timeout to invoke `handshake_req_cancel()` against freed per-net state. PR:N - No server-side privileges are required to reach the vulnerable path—remote peers can initiate the pre-authentication TLS handshake that queues pending requests; namespace teardown is also achievable without init-namespace root via user namespaces granting CAP_SYS_ADMIN. UI:N - Exploitation requires no victim interaction beyond the attacker (or orchestrator) initiating connections and namespace lifecycle events; no end-user actions such as mounting filesystems or opening files are needed. S:U - Impact is confined to kernel memory corruption and host availability within the same kernel security domain; it does not cross a VM, container sandbox, or IOMMU boundary to affect a separate security authority. C:H - Undrained requests leave `handshake_req` objects and freed `handshake_net` state reachable through the global rhashtable; concurrent `handshake_req_cancel()` dereferences freed `hn_lock`/`hn_requests` and can hit LIST_POISON, constituting use-after-free with arbitrary-read potential. I:H - The reversed `list_splice_init()` and ensuing drain/cancel races corrupt kernel linked lists and free in-use `handshake_req` structures while still linked, enabling memory corruption exploitable for control-flow hijacking. A:H - List corruption and use-after-free on namespace exit or concurrent cancel reliably cause kernel oops/panic or deadlock-class failures, and repeated namespace churn with pending handshakes enables sustained denial of service on the host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < ee4b2ba9d30155f9945811cd3c0c1b06d45787a9 (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 2bf24a7e190aae0ea47c78099938ae056c622e44 (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 8c35539db0ab0bfa1ea44efab00b053261a69469 (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < ea5fe6a73ca57e5150b8a38b341aef2636eb72f0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.93 through 6.12.* (unaffected · semver)6.18.44 through 6.18.* (unaffected · semver)7.0.12 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
5- https://git.kernel.org/stable/c/2bf24a7e190aae0ea47c78099938ae056c622e44
- https://git.kernel.org/stable/c/8c35539db0ab0bfa1ea44efab00b053261a69469
- https://git.kernel.org/stable/c/9ec20c9a5a04f2c3f1cf65d21f886d7aaa6189cd
- https://git.kernel.org/stable/c/ea5fe6a73ca57e5150b8a38b341aef2636eb72f0
- https://git.kernel.org/stable/c/ee4b2ba9d30155f9945811cd3c0c1b06d45787a9
Provider assertions
2Linux · cna
net/handshake: Drain pending requests at net namespace exit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b1a3f38c78de40d5026cf7fd4d3d604b685f55dc029ae9203f3a5b849df92e21
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record