CVE-2026-64518: tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix out-of-bounds access for twsk in tcpaoestablishedkey().
lockdepsockisheld() was added in tcpaoestablishedkey() by the cited commit.
It can be called from tcpv[46]timewaitack() with twsk.
Since it does not have sk->sklock, the lockdep annotation results in out-of-bound access.
$ pahole -C tcptimewaitsock vmlinux | grep size / size: 288, cachelines: 5, members: 8 / $ pahole -C sock vmlinux | grep sklock socketlockt sklock; / 440 192 /
Let's not use lockdepsockisheld() for TCPTIMEWAIT.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64518?
CVE-2026-64518 is classified with a risk score of 37.
What does CVE-2026-64518 involve?
CVE-2026-64518 involves an out-of-bounds access vulnerability related to the twsk in the tcp_ao_established_key() function in the Linux kernel.
How do I fix CVE-2026-64518?
To fix CVE-2026-64518, you should update your Linux kernel to the latest stable version that addresses this vulnerability.
When was CVE-2026-64518 published?
CVE-2026-64518 was published on July 25, 2026.
Are there any known exploits for CVE-2026-64518?
As of now, there are no publicly disclosed exploits specifically targeting CVE-2026-64518.