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.
Published: 2026-07-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A memory safety flaw in the Linux kernel's TCP stack allows an out‑of‑bounds read of a tcp_timewait_sock structure inside the tcp_ao_established_key() function. The flaw is triggered when the lockdep_sock_is_held() assertion is invoked on a socket lacking the expected sk_lock field, leading to an invalid memory access that can cause a kernel panic and bring the system down. This constitutes a denial‑of‑service vulnerability with potential for any system running the affected kernel.

Affected Systems

The flaw exists in any Linux kernel build that contains the incorrect lockdep assertion in tcp_ao_established_key() prior to the patch commit 03cb001ef87b3f8d859cf7f96329acf3d6235d29. All distributions shipping a vulnerable kernel version are affected; the specific affected releases are not listed due to lack of detailed version data.

Risk and Exploitability

The EPSS score is <1% and the vulnerability is not in the CISA KEV catalog, indicating low likelihood of widespread exploitation. However, an attacker would need to deliver crafted network traffic that triggers tcp_v[46]_timewait_ack() and invokes the faulty function, making the attack complex but feasible. If executed, the consequence is a local or remote denial of service caused by a kernel panic.

Generated by OpenCVE AI on August 2, 2026 at 12:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the patch removing the erroneous lockdep call in tcp_ao_established_key().
  • Reboot the system to load the updated kernel and activate the fix.
  • Check system logs (e.g., dmesg) for any remaining lockdep or TCPTIMEWAIT related errors to confirm stability.

Generated by OpenCVE AI on August 2, 2026 at 12:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Thu, 30 Jul 2026 00:15:00 +0000


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values 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.
Title tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T09:14:44.603Z

Reserved: 2026-07-19T15:36:31.794Z

Link: CVE-2026-64518

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:38.080

Modified: 2026-07-25T10:17:38.080

Link: CVE-2026-64518

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64518 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T12:15:18Z

Weaknesses