CVE-2026-64523·Kernel vulnerability
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.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.45% — higher than 40% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64523 scores 9.8 on CVSS, so a successful attack would be serious — but at 0.45%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to resolve a critical file reference handling vulnerability in the network handshake subsystem. This vulnerability affects kernel versions 6.19 through 7.0.11 and could allow memory corruption or privilege escalation through improper socket lifecycle management. Apply the kernel update and reboot your system to ensure the fix is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range (6.19.x through 7.0.11)
- Step 2: Verify network handshake functionality is enabled in your kernel config by checking `cat /boot/config-$(uname -r) | grep CONFIG_NET_HANDSHAKE`
- Step 3: Monitor system logs for socket-related errors or memory corruption warnings with `sudo dmesg | grep -i 'socket\|handshake\|fput'`
- Step 4: After applying patches, confirm the new kernel version with `uname -r` and verify it reports 7.0.12 or later
FAQ
What is CVE-2026-64523?
This vulnerability exists in the Linux kernel's network handshake subsystem where improper file reference management can lead to use-after-free conditions. An attacker could potentially cause kernel memory corruption or escalate privileges by manipulating socket lifecycle during TLS handshake operations.
Is CVE-2026-64523 being actively exploited?
No, there are no reports of active exploitation in the wild, and no public exploit code is available. However, the critical CVSS 9.8 score indicates this is a high-priority vulnerability that should be patched immediately.
What versions of Kernel are affected by CVE-2026-64523?
Kernel versions 6.19 through 7.0.11 are affected. Kernel 7.0.12 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2026-64523?
Run `uname -r` to display your kernel version. If the output shows a version between 6.19 and 7.0.11 inclusive, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-64523?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-64523 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/09dba37eee70d0596e26645015f1aa95a9848e9d
- https://git.kernel.org/stable/c/16eaba5aa89c04eea125905bb8f988c1897f4f29
- https://git.kernel.org/stable/c/22e371a93563c30ebebc576db049785e0d7fc617
- https://git.kernel.org/stable/c/685b10dd0e32c7782cead16c8cf055c609678583
- https://git.kernel.org/stable/c/b913801ad9b9a51437d84d030ec6843e08976bd6
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64523. Free for 1 server.
Get started free