In the Linux kernel, the following vulnerability has been resolved: net/handshake: Take a long-lived file reference at submit… (CVE-2026-64523)
A vulnerability in the Linux kernel's net/handshake subsystem was resolved by ensuring a long-lived file reference is taken at submit time. The issue involved the lifecycle management of the socket's file pointer during handshake request processing, which could lead to premature socket teardown. The fix adds explicit reference counting to prevent use-after-free conditions during concurrent request cancellation and error handling.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's net/handshake code relates to improper management of the file pointer 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 prematurely released causing socket teardown. The patch adds an explicit file reference (hr_file) in struct handshake_req acquired during handshake_req_submit() and released upon completion or cancellation. The submit error path is gated with a test_and_set_bit to serialize cleanup and avoid races with concurrent cancellations. The accept-side dereferences remain unmodified and will be addressed in a subsequent patch.
Potential Impact
Improper reference management could lead to premature socket teardown during handshake request processing, potentially causing use-after-free or resource management issues within the kernel networking stack. This could affect kernel stability or reliability but no known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The description indicates a patch has been developed to address the issue, but no explicit patch links or vendor advisories are provided. Users should monitor official Linux kernel updates for this fix and apply it once available.
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 vulnerability in the Linux kernel's net/handshake subsystem was resolved by ensuring a long-lived file reference is taken at submit time. The issue involved the lifecycle management of the socket's file pointer during handshake request processing, which could lead to premature socket teardown. The fix adds explicit reference counting to prevent use-after-free conditions during concurrent request cancellation and error handling.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's net/handshake code relates to improper management of the file pointer 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 prematurely released causing socket teardown. The patch adds an explicit file reference (hr_file) in struct handshake_req acquired during handshake_req_submit() and released upon completion or cancellation. The submit error path is gated with a test_and_set_bit to serialize cleanup and avoid races with concurrent cancellations. The accept-side dereferences remain unmodified and will be addressed in a subsequent patch.
Potential Impact
Improper reference management could lead to premature socket teardown during handshake request processing, potentially causing use-after-free or resource management issues within the kernel networking stack. This could affect kernel stability or reliability but no known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The description indicates a patch has been developed to address the issue, but no explicit patch links or vendor advisories are provided. Users should monitor official Linux kernel updates for this fix and apply it once available.
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: 07/25/2026, 23:11:48 UTC
Last updated: 07/26/2026, 03:56:01 UTC
Views: 5
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.