CVE-2026-64523
net/handshake: Take a long-lived file reference at submit
Reported by linux · Published July 25, 2026
In the Linux kernel, the following vulnerability has been resolved: net/handshake: Take a long-lived file reference at submit handshake_nl_accept_doit() needs the file pointer backing req->hr_sk->sk_socket to survive the window between handshake_req_next() and the subsequent FD_PREPARE() and get_file(). The submit-side sock_hold() does not provide that. sk_refcnt keeps struct sock alive, but struct socket is owned by sock->file: when the consumer fputs the last file reference, sock_release() tears the socket down regardless of any sock_hold. Add an hr_file pointer to struct handshake_req and acquire an explicit reference on sock->file during handshake_req_submit(). handshake_complete() and handshake_req_cancel() release the reference on the completion-bit-winning path. The submit error path must also release the file reference, but after rhashtable insertion a concurrent handshake_req_cancel() can discover the request and race the error path. Gate the error-path cleanup -- sk_destruct restoration, fput, and request destruction -- with test_and_set_bit(HANDSHAKE_F_REQ_COMPLETED), the same serialization handshake_complete() and handshake_req_cancel() already use. When cancel has already claimed ownership, the submit error path returns without touching the request; socket teardown handles final destruction. The accept-side dereferences are not yet retargeted; that change comes in the next patch.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-debug | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.s390x, 0:6.12.0-211.69.1.el10_2.ppc64le, 0:6.12.0-211.69.1.el10_2.aarch64, 0:5.14.0-687.61.1.el9_8.ppc64le |
| kernel-modules | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.ppc64le, 0:5.14.0-687.61.1.el9_8.cloud.1.0.aarch64 |
| kernel-64k-debug-modules-extra | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.aarch64 |
| kernel-64k-debug-modules | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.aarch64, 0:5.14.0-687.61.1.el9_8.aarch64 |
| kernel-debug-debuginfo | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.cloud.1.0.aarch64, 0:5.14.0-687.61.1.el9_8.aarch64 |
| kernel-debug-devel-matched | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.x86_64, 0:6.12.0-211.69.1.el10_2.aarch64, 0:5.14.0-687.61.1.el9_8.cloud.1.0.aarch64 |
| kernel-rt-64k-debug-modules | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.aarch64 |
| kernel-debuginfo | errata.rockylinux.org | 0: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.cloud.1.0.aarch64 |
| kernel-rt-devel | errata.rockylinux.org | 0:5.14.0-687.61.1.el9_8.x86_64, 0:5.14.0-687.61.1.el9_8.aarch64 |
| python3-perf | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.s390x, 0:5.14.0-687.61.1.el9_8.x86_64, 0:5.14.0-687.61.1.el9_8.ppc64le, 0:5.14.0-687.61.1.el9_8.cloud.1.0.x86_64, 0:5.14.0-687.61.1.el9_8.aarch64 |
| kernel-64k-devel-matched | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.aarch64 |
| libperf-debuginfo | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.ppc64le, 0:5.14.0-687.61.1.el9_8.ppc64le, 0:5.14.0-687.61.1.el9_8.aarch64 |
45 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3b3009ea8abb713b022d94fba95ec270cf6e7eae, 3b3009ea8abb713b022d94fba95ec270cf6e7eae, 3b3009ea8abb713b022d94fba95ec270cf6e7eae |
| Linux | Linux | 6.4, 0, 6.6.160 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.94-123.174 | 0 |
| Linux | Linux | 6.6.160, 6.12.93, 7.0.12 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 6.4, 6.4, 6.4 |
…and 7 more
Timeline
- Jul 25, 2026 EPSS Score (30 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (22 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (25 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-64523
vulnetix vdb fixes CVE-2026-64523
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-64523/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart