# CVE-2026-64518: tcp: Fix out-of-bounds access for twsk in tcp\_ao\_established\_key().

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-25 · Modified: 2026-07-25
- Aliases: UBUNTU-CVE-2026-64518, DEBIAN-CVE-2026-64518
- Record: https://cvemate.com/vulnerability/CVE-2026-64518 · JSON: https://cvemate.com/vulnerability/CVE-2026-64518/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.125%, percentile 2.366%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 144)

- debian linux (Debian): \< 6.12.94-1 \| \< 7.0.12-1
- ubuntu linux (Ubuntu): \< 6.8.0-139.139 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1064.67 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1064.67~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 6.8.0-1064.67+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.75 \| \< 7.0.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 27)

- <https://git.kernel.org/stable/c/87bb3e719042f0030a6dad39118c6a6b2a491ad9>
- <https://git.kernel.org/stable/c/510db031ba6eb40134f84c90ef963ea4b6dfb878>
- <https://git.kernel.org/stable/c/29cf64d128c94cf98d1c69d8b2962d39db5ff4c6>
- <https://git.kernel.org/stable/c/03cb001ef87b3f8d859cf7f96329acf3d6235d29>
- <https://ubuntu.com/security/CVE-2026-64518>
- <https://www.cve.org/CVERecord?id=CVE-2026-64518>
- <https://git.kernel.org/linus/03cb001ef87b3f8d859cf7f96329acf3d6235d29>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8729-1>
- <https://ubuntu.com/security/notices/USN-8761-1>
- <https://ubuntu.com/security/notices/USN-8729-2>
- <https://ubuntu.com/security/notices/USN-8761-2>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8729-3>
- <https://ubuntu.com/security/notices/USN-8761-3>
- <https://ubuntu.com/security/notices/USN-8802-1>
- <https://ubuntu.com/security/notices/USN-8728-2>

---

Data as of 2026-12-05T04:23:04.106Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
