In the Linux kernel, the following vulnerability has been resolved: net/handshake: Take a long-lived file reference at submit… (CVE-2026-64523)
A critical vulnerability in the Linux kernel's net/handshake component was resolved. The issue involved improper handling of file references related to socket structures during handshake request submission, which could lead to socket teardown prematurely. The fix added explicit file reference management to ensure socket lifetime is properly maintained during request processing.
AI Analysis
Technical Summary
CVE-2026-64523 addresses a vulnerability in the Linux kernel's net/handshake code where the handshake_nl_accept_doit() function requires a long-lived file pointer for the socket backing req->hr_sk->sk_socket. The existing sock_hold() call only maintains the struct sock, but the struct socket is owned by sock->file, which can be released prematurely causing socket teardown. The patch adds an explicit hr_file pointer to struct handshake_req and acquires a reference on sock->file during handshake_req_submit(), releasing it appropriately on completion or cancellation. The error path cleanup is gated to avoid races with concurrent cancellation. This fix ensures the socket remains valid throughout the handshake request lifecycle.
Potential Impact
The vulnerability could cause premature teardown of socket structures during handshake request processing, potentially leading to denial of service or other critical impacts on network communication. The CVSS score of 9.8 indicates high impact on confidentiality, integrity, and availability if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly manage file references during handshake request submission, preventing premature socket teardown. Users should apply the official kernel patch that includes this fix. No additional mitigations are indicated.
In the Linux kernel, the following vulnerability has been resolved: net/handshake: Take a long-lived file reference at submit… (CVE-2026-64523)
Description
A critical vulnerability in the Linux kernel's net/handshake component was resolved. The issue involved improper handling of file references related to socket structures during handshake request submission, which could lead to socket teardown prematurely. The fix added explicit file reference management to ensure socket lifetime is properly maintained during request processing.
CVSS v3.1
Score 9.8critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64523 addresses a vulnerability in the Linux kernel's net/handshake code where the handshake_nl_accept_doit() function requires a long-lived file pointer for the socket backing req->hr_sk->sk_socket. The existing sock_hold() call only maintains the struct sock, but the struct socket is owned by sock->file, which can be released prematurely causing socket teardown. The patch adds an explicit hr_file pointer to struct handshake_req and acquires a reference on sock->file during handshake_req_submit(), releasing it appropriately on completion or cancellation. The error path cleanup is gated to avoid races with concurrent cancellation. This fix ensures the socket remains valid throughout the handshake request lifecycle.
Potential Impact
The vulnerability could cause premature teardown of socket structures during handshake request processing, potentially leading to denial of service or other critical impacts on network communication. The CVSS score of 9.8 indicates high impact on confidentiality, integrity, and availability if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly manage file references during handshake request submission, preventing premature socket teardown. Users should apply the official kernel patch that includes this fix. No additional mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fc48-5g6g-x546
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64523"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542059c2644c7f8081adc
Added to database: 07/25/2026, 23:08:53 UTC
Last enriched: 08/10/2026, 20:39:33 UTC
Last updated: 09/08/2026, 10:52:11 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.