CVE-2026-63979
published critical CVSS 3.1 · 9.8net/handshake: hand off the pinned file reference to accept_doit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3b3009ea8abb713b022d94fba95ec270cf6e7eae to < b869e3e4ce1996df23b3efdbbe9a64c4ab81d745 · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 2f28dbb30b88eafab8d49aaec94710b4e12dea8e · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 68eba6519cbd6359fb554a9720f3a3b6b2eba23f · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < c06876d4fac38f35820946ee3b1be7d7da799cd4 · 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < f4251190e58b209999c1ba9e6d2976136a1be055 · 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.114 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-2106 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3196 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.69.1.el10_2 | ALSA-2026:91565 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.69.1.el10_2 | ELSA-2026-91565 |
| 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 |
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
| 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 |
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: hand off the pinned file reference to accept_doit handshake_req_next() removes the request from the per-net pending list and drops hn_lock before handshake_nl_accept_doit() reads req->hr_sk->sk_socket and dereferences sock->file (once in FD_PREPARE() and again in get_file()). In that window a consumer running tls_handshake_cancel() followed by sockfd_put() (svc_sock_free) or __fput_sync() (xs_reset_transport) releases sock->file. sock_release() then runs sock_orphan(), zeroing sk_socket, and frees the struct socket. The accept-side code either reads NULL through sk_socket or chases freed memory. The submit-side sock_hold() does not prevent this. sk_refcnt protects struct sock, but struct socket and sock->file are independently refcounted via the file descriptor the consumer owns. Pinning sk leaves sock and sock->file unprotected. Retarget the accept-side dereferences at req->hr_file, which was pinned at submit time, instead of req->hr_sk->sk_socket->file. Pinning on its own is not sufficient: a consumer that cancels between handshake_req_next() returning and accept_doit reaching FD_PREPARE() takes the !remove_pending() branch in handshake_req_cancel() and drops hr_file before the accept side takes its own reference. Hand off an additional file reference inside handshake_req_next(), under hn_lock, so the accept side operates on a reference that no concurrent handshake_req_cancel() can revoke. FD_PREPARE() consumes that handed-off reference, either by transferring it to the new fd in fd_publish() or by dropping it in the cleanup destructor on error; the explicit get_file() that previously balanced FD_PREPARE() is therefore redundant and goes away. Update handshake_req_cancel_test2 and _test3 to simulate the FD_PREPARE() consumption with an fput() so the kunit file-count assertions stay balanced.
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 - The race is triggered by remote TLS handshake activity on network-facing kernel consumers (nfsd RPC-over-TLS STARTTLS probe, NVMe-oTCP TLS13 connections). A remote peer can initiate handshake_req_submit() and force cancellation via disconnect, while tlshd automatically issues HANDSHAKE_CMD_ACCEPT in response to kernel notifications. AC:L - The attacker controls both sides of the race by opening TLS connections and timing disconnects or aborts against tlshd accept processing. Repeated parallel connection attempts make winning the window between handshake_req_next() and FD_PREPARE() practical without conditions outside attacker control. PR:N - Exploitation requires no credentials on the target server. NFS RPC_AUTH_TLS uses a NULL-procedure STARTTLS probe before any RPC authentication, and NVMe-oTCP TLS handshakes run at initial connection setup prior to namespace authentication. UI:N - No victim interaction is required. The tlshd daemon automatically accepts pending handshake requests upon receiving HANDSHAKE_CMD_READY multicast notifications; the attacker only needs to manipulate connection timing over the network. S:U - The vulnerability corrupts kernel heap memory (struct socket/file UAF or NULL dereference through sk_socket) within the kernel's security authority. It does not cross a VM, container, or IOMMU security boundary. C:H - The accept path dereferences sock->file after sock_release() may free the struct socket and sock_orphan() zeroes sk_socket, constituting a use-after-free. UAF of socket/file structures can be leveraged for arbitrary kernel memory disclosure via heap grooming. I:H - Use-after-free of the pinned socket file object provides a foundation for heap spraying and arbitrary write primitives to hijack kernel control flow, not merely a bounded or transient modification. A:H - The bug manifests as either a NULL pointer dereference through zeroed sk_socket or chasing freed socket memory in FD_PREPARE()/get_file(), both of which cause kernel oops or panic and deny service to the affected host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3b3009ea8abb713b022d94fba95ec270cf6e7eae to < b869e3e4ce1996df23b3efdbbe9a64c4ab81d745 (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 2f28dbb30b88eafab8d49aaec94710b4e12dea8e (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 68eba6519cbd6359fb554a9720f3a3b6b2eba23f (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < c06876d4fac38f35820946ee3b1be7d7da799cd4 (affected · git)3b3009ea8abb713b022d94fba95ec270cf6e7eae to < f4251190e58b209999c1ba9e6d2976136a1be055 (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.114 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-416 CWE-416 Use After Free
References
5- https://git.kernel.org/stable/c/2f28dbb30b88eafab8d49aaec94710b4e12dea8e
- https://git.kernel.org/stable/c/68eba6519cbd6359fb554a9720f3a3b6b2eba23f
- https://git.kernel.org/stable/c/b869e3e4ce1996df23b3efdbbe9a64c4ab81d745
- https://git.kernel.org/stable/c/c06876d4fac38f35820946ee3b1be7d7da799cd4
- https://git.kernel.org/stable/c/f4251190e58b209999c1ba9e6d2976136a1be055
Provider assertions
2Linux · cna
net/handshake: hand off the pinned file reference to accept_doit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 921d104b6f8c51bdf9788525253657ba7e15be30e7af9d164c42c0d3833fc66b
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record