In the Linux kernel, the following vulnerability has been resolved: tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key(). (CVE-2026-64518)
A vulnerability in the Linux kernel's TCP implementation involved an out-of-bounds access for the twsk structure in the tcp_ao_established_key() function. The issue was caused by the use of lockdep_sock_is_held() on a TCP_TIME_WAIT socket that does not have the expected socket lock, leading to invalid memory access. This vulnerability has been resolved by avoiding the use of lockdep_sock_is_held() for TCP_TIME_WAIT sockets.
AI Analysis
Technical Summary
The Linux kernel contained a vulnerability (CVE-2026-64518) in the TCP code where the function tcp_ao_established_key() used lockdep_sock_is_held() on a tcp_timewait_sock (twsk) structure. Since TCP_TIME_WAIT sockets lack the sk_lock member, the lockdep annotation caused an out-of-bounds memory access. The fix involved not using lockdep_sock_is_held() for TCP_TIME_WAIT sockets, thereby preventing this invalid access.
Potential Impact
The vulnerability could lead to out-of-bounds memory access in kernel space, which may cause kernel instability or crashes. No information about exploitation in the wild or further impact such as privilege escalation or denial of service is provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to avoid using lockdep_sock_is_held() for TCP_TIME_WAIT sockets, resolving the out-of-bounds access issue. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key(). (CVE-2026-64518)
Description
A vulnerability in the Linux kernel's TCP implementation involved an out-of-bounds access for the twsk structure in the tcp_ao_established_key() function. The issue was caused by the use of lockdep_sock_is_held() on a TCP_TIME_WAIT socket that does not have the expected socket lock, leading to invalid memory access. This vulnerability has been resolved by avoiding the use of lockdep_sock_is_held() for TCP_TIME_WAIT sockets.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a vulnerability (CVE-2026-64518) in the TCP code where the function tcp_ao_established_key() used lockdep_sock_is_held() on a tcp_timewait_sock (twsk) structure. Since TCP_TIME_WAIT sockets lack the sk_lock member, the lockdep annotation caused an out-of-bounds memory access. The fix involved not using lockdep_sock_is_held() for TCP_TIME_WAIT sockets, thereby preventing this invalid access.
Potential Impact
The vulnerability could lead to out-of-bounds memory access in kernel space, which may cause kernel instability or crashes. No information about exploitation in the wild or further impact such as privilege escalation or denial of service is provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to avoid using lockdep_sock_is_held() for TCP_TIME_WAIT sockets, resolving the out-of-bounds access issue. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mfg2-ph7g-pf6h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64518"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542059c2644c7f8081897
Added to database: 07/25/2026, 23:08:53 UTC
Last enriched: 07/25/2026, 23:11:07 UTC
Last updated: 07/26/2026, 03:58:31 UTC
Views: 6
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.