VDB

CVE-2026-63978

CVE-2026-63978 PUBLISHED CVSS 9.8 CRITICAL

net/handshake: Drain pending requests at net namespace exit

Reported by linux · Published July 19, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perferrata.rockylinux.org0:5.14.0-687.61.1.el9_8.cloud.1.0.x86_64
kernel-debug-devel-matchederrata.rockylinux.org0:6.12.0-211.69.1.el10_2.x86_64, 0:6.12.0-211.69.1.el10_2.ppc64le, 0:5.14.0-687.61.1.el9_8.x86_64, 0:5.14.0-687.61.1.el9_8.s390x, 0:5.14.0-687.61.1.el9_8.cloud.1.0.aarch64
libperferrata.rockylinux.org0:6.12.0-211.69.1.el10_2.x86_64, 0:5.14.0-687.61.1.el9_8.x86_64
kernel6.18-tools-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel-rt-64k-debug-modules-coreerrata.rockylinux.org0:5.14.0-687.61.1.el9_8.aarch64
kernel-zfcpdump-modules-extraerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.s390x
kernel-rt-debug-modules-extraerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.aarch64, 0:5.14.0-687.61.1.el9_8.x86_64
kernel-debug-modules-extraerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.aarch64, 0:5.14.0-687.61.1.el9_8.aarch64
kernel-docerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.noarch, 0:5.14.0-687.61.1.el9_8.noarch
kernel6.12Amazon Linux1:6.12.94-123.174.amzn2023
kernelerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.src, 0:6.12.0-211.69.1.el10_2.s390x, 0:6.12.0-211.69.1.el10_2.aarch64, 0:5.14.0-687.61.1.el9_8.x86_64, 0:5.14.0-687.61.1.el9_8.src
kernel-64k-debuginfoerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.aarch64

49 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux3b3009ea8abb713b022d94fba95ec270cf6e7eae, 3b3009ea8abb713b022d94fba95ec270cf6e7eae, 3b3009ea8abb713b022d94fba95ec270cf6e7eae
LinuxLinux6.4, 0, 6.6.160
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.12.94-123.1740
amazon:2023kernel6.180
LinuxLinux6.6.160, 3b3009ea8abb713b022d94fba95ec270cf6e7eae, 3b3009ea8abb713b022d94fba95ec270cf6e7eae
amazon:2023bpftool6.120
amazon:2023perf6.120
amazon:2023bpftool6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.12-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.18.44-99.1490
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0

…and 7 more

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (32 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (33 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-63978
vulnetix vdb fixes CVE-2026-63978

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63978/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›