CVE-2026-64523
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceRace condition in Linux kernel's net/handshake subsystem where file reference counting is insufficient. The submit-side sock_hold() keeps struct sock alive but struct socket is owned by sock->file; when the consumer fputs the last file reference, sock_release() tears down the socket regardless of sock_hold, leading to use-after-free. The fix adds an hr_file pointer to struct handshake_req with explicit reference acquisition on sock->file.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel version for patch presenceRun 'uname -r' or check /proc/version. Compare against the version that includes the fix for this race condition (the fix adds hr_file pointer handling to struct handshake_req).Affected if Kernel version is older than the patched version containing the race condition fix for net/handshake.
-
Verify net/handshake module is presentCheck if the kernel has handshake support: 'ls //net/handshake' or look for 'handshake' in kernel config via 'zcat /proc/config.gz 2>/dev/null | grep -i handshake' or check /boot/config-$(uname -r).Affected if The net/handshake module or code exists in the kernel, making the code path potentially reachable.
-
Determine if TLS handshake operations are in useCheck for active TLS sockets using 'ss -M' or examine /proc/net/sockstat for TLS activity. The race occurs during handshake request processing on sockets accepting TLS connections.Affected if The system accepts or processes TLS connections, which triggers the net/handshake code path.
-
Look for the specific vulnerable code patternIf kernel source is available, grep for 'handshake_req_next' and check if FD_PREPARE/get_file is called without proper file reference acquisition between request iteration and file preparation.Affected if The code lacks the hr_file pointer and proper test_and_set_bit(HANDSHAKE_F_REQ_COMPLETED) serialization present in the patched version.
You are affected if your kernel version predates the fix and the system processes TLS connections using the net/handshake module.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataApply the kernel patch that adds hr_file pointer and proper file reference counting in handshake_req_submit(), handshake_complete(), and handshake_req_cancel() to prevent the race condition.
- Consultation2.0 h
- Implementation12.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,168.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-64523 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-64523 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data