CVE-2026-64518
tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key(). lockdep_sock_is_held() was added in tcp_ao_established_key() by the cited commit. It can be called from tcp_v[46]_timewait_ack() with twsk. Since it does not have sk->sk_lock, the lockdep annotation results in out-of-bound access. $ pahole -C tcp_timewait_sock vmlinux | grep size /* size: 288, cachelines: 5, members: 8 */ $ pahole -C sock vmlinux | grep sk_lock socket_lock_t sk_lock; /* 440 192 */ Let's not use lockdep_sock_is_held() for TCP_TIME_WAIT.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
July 25, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-64518
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel to include the fix.
- Avoid using lockdep_sock_is_held() for TCP_TIME_WAIT.
- Review lockdep usage in TCP timewait code.
- Ensure socket locks are properly handled.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64518.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64518 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64518
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64518 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64518 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '051f49d5176613dea88ecf73a101c3a99f4720e9', 'lessThan': '87bb3e719042f0030a6dad39118c6a6b2a491ad9', 'versionType': 'git'}, {'status': 'affected', 'version': '6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6', 'lessThan': '510db031ba6eb40134f84c90ef963ea4b6dfb878', 'versionType': 'git'}, {'status': 'affected', 'version': '6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6', 'lessThan': '29cf64d128c94cf98d1c69d8b2962d39db5ff4c6', 'versionType': 'git'}, {'status': 'affected', 'version': '6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6', 'lessThan': '03cb001ef87b3f8d859cf7f96329acf3d6235d29', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.5', 'lessThan': '6.12.92', 'versionType': 'semver'}], 'programFiles': ['net/ipv4/tcp_ao.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.92', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.34', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.11', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ipv4/tcp_ao.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key(). lockdep_sock_is_held() was added in tcp_ao_established_key() by the cited commit. It can be called from tcp_v[46]_timewait_ack() with twsk. Since it does not have sk->sk_lock, the lockdep annotation results in out-of-bound access. $ pahole -C tcp_timewait_sock vmlinux | grep size /* size: 288, cachelines: 5, members: 8 */ $ pahole -C sock vmlinux | grep sk_lock socket_lock_t sk_lock; /* 440 192 */ Let's not use lockdep_sock_is_held() for TCP_TIME_WAIT. Added Reference https://git.kernel.org/stable/c/03cb001ef87b3f8d859cf7f96329acf3d6235d29 Added Reference https://git.kernel.org/stable/c/29cf64d128c94cf98d1c69d8b2962d39db5ff4c6 Added Reference https://git.kernel.org/stable/c/510db031ba6eb40134f84c90ef963ea4b6dfb878 Added Reference https://git.kernel.org/stable/c/87bb3e719042f0030a6dad39118c6a6b2a491ad9