CVE-2026-64518

tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().

No CVSS score yet EPSS 0.12%

Published 25 Jul 2026 Updated 25 Jul 2026 CNA: Linux

Check your servers for CVE-2026-64518

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64518 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.39% of all scored CVEs. Scores of 2 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 051f49d5176613dea88ecf73a101c3a99f4720e9, before 87bb3e719042f0030a6dad39118c6a6b2a491ad9
affected from 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6, before 510db031ba6eb40134f84c90ef963ea4b6dfb878
affected from 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6, before 29cf64d128c94cf98d1c69d8b2962d39db5ff4c6
affected from 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6, before 03cb001ef87b3f8d859cf7f96329acf3d6235d29
affected from 6.12.5, before 6.12.92
Other versions: unaffected
Linux
affected 6.13
unaffected before 6.13
unaffected from 6.12.92 up to and including 6.12.*
unaffected from 6.18.34 up to and including 6.18.*
unaffected from 7.0.11 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64518 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64518

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64518
trivy image --scanners vuln IMAGE | grep CVE-2026-64518

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64518 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.