# CVE-2026-64459: tcp: restore RCU grace period in tcp\_ao\_destroy\_sock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.50% (percentile 36, 2026-11-26)
- **CWE:** CWE-362, CWE-416
- **Published:** 2026-07-25T08:51:26.879Z
- **Modified:** 2026-11-18T21:59:53.283Z

## Who should check

- Anyone running Linux \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 657646c08c94ef7b9dbe468fe7828032216f9841; \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 4caf12c778fed3dc3824cf36263be5e2c491fbd0; \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30
- Anyone running Linux 6.18

## Description

In the Linux kernel, the following vulnerability has been resolved:

tcp: restore RCU grace period in tcp\_ao\_destroy\_sock

Commit 51e547e8c89c ("tcp: Free TCP-AO/TCP-MD5 info/keys without RCU")
removed the call\_rcu() callback from tcp\_ao\_destroy\_sock(), arguing that
"the destruction of info/keys is delayed until the socket destructor"
and therefore "no one can discover it anymore".

That argument does not hold for the call site in tcp\_connect()
(net/ipv4/tcp\_output.c:4327-4332). At that point the socket is in
TCP\_SYN\_SENT, has already been inserted into the inet ehash by
inet\_hash\_connect() in tcp\_v4\_connect(), and is therefore very much
discoverable: any softirq running tcp\_v4\_rcv() on another CPU can take
the socket out of the ehash, walk into tcp\_inbound\_hash(), and load
tp-\>ao\_info via implicit RCU before bh\_lock\_sock\_nested() is taken on
the destroying CPU.

The reader path then enters \_\_tcp\_ao\_do\_lookup() (net/ipv4/tcp\_ao.c:208)
which re-loads tp-\>ao\_info via rcu\_dereference\_check(); the re-load can
still observe the (about-to-be-freed) pointer because there is no
synchronize\_rcu() between rcu\_assign\_pointer(tp-\>ao\_info, NULL) and
tcp\_ao\_info\_free() in tcp\_ao\_destroy\_sock(). The captured pointer is
then walked at line 223:

	hlist\_for\_each\_entry\_rcu(key, &ao-\>head, node, ...)

The writer's synchronous kfree() is free to complete between the line
218 re-fetch and the line 223 hlist iteration. The slab is reused
(or simply LIST\_POISON1-stamped if not yet reused) and the iteration
walks attacker-controlled or poison memory in softirq context.

Reproducer (no debug shim, stock x86\_64 v7.1-rc2 SMP+KASAN, QEMU+KVM):
an unprivileged uid=1000 process inside CLONE\_NEWUSER\|CLONE\_NEWNET
installs TCP\_MD5SIG + TCP\_AO\_ADD\_KEY on a TCP socket, sprays forged
TCP-AO segments toward its eventual 4-tuple via raw sockets, then
calls connect(). The md5-wins reconciliation in tcp\_connect() fires
tcp\_ao\_destroy\_sock(); the softirq backlog reader on the loopback
NAPI path crashes on the freed ao-\>head.first walk:

  Oops: general protection fault, probably for non-canonical
    address 0xfbd59c000000002f
  KASAN: maybe wild-memory-access in range
    \[0xdead000000000178-0xdead00000000017f\]
  CPU: 0 UID: 1000 PID: 100 Comm: repro\_userns
  RIP: 0010:\_\_tcp\_ao\_do\_lookup+0x107/0x1c0
  Call Trace: \<IRQ\>
    \_\_tcp\_ao\_do\_lookup+0x107/0x1c0
    tcp\_ao\_inbound\_lookup.constprop.0+0x12a/0x200
    tcp\_inbound\_ao\_hash+0x5ea/0x1520
    tcp\_inbound\_hash+0x7ce/0x1240
    tcp\_v4\_rcv+0x1e7a/0x3e10
    ...

Restore the RCU grace period: re-add struct rcu\_head to tcp\_ao\_info
and replace the synchronous tcp\_ao\_info\_free() with a call\_rcu()
callback. Readers that captured tp-\>ao\_info before rcu\_assign\_pointer
NULLed it now see the object remain valid until rcu\_read\_unlock().
With the patch applied the reproducer runs cleanly for 2000 iterations
on the same kernel build.

## Affected and fixed versions

- Linux: \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 657646c08c94ef7b9dbe468fe7828032216f9841; \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 4caf12c778fed3dc3824cf36263be5e2c491fbd0; \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64459. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64459.md
Affected: Linux >= 51e547e8c89c661f6fbede4a28b1d33b13625683, < 657646c08c94ef7b9dbe468fe7828032216f9841; >= 51e547e8c89c661f6fbede4a28b1d33b13625683, < 4caf12c778fed3dc3824cf36263be5e2c491fbd0; >= 51e547e8c89c661f6fbede4a28b1d33b13625683, < 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30; Linux 6.18
Fixed in: Linux 657646c08c94ef7b9dbe468fe7828032216f9841, Linux 4caf12c778fed3dc3824cf36263be5e2c491fbd0, Linux 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64459 being exploited?

There is no confirmed exploitation: CVE-2026-64459 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64459?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-64459?

Linux \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 657646c08c94ef7b9dbe468fe7828032216f9841; \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 4caf12c778fed3dc3824cf36263be5e2c491fbd0; \>= 51e547e8c89c661f6fbede4a28b1d33b13625683, \< 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30; Linux 6.18.

### Is there a fix for CVE-2026-64459?

Yes. Fixed in Linux 657646c08c94ef7b9dbe468fe7828032216f9841, Linux 4caf12c778fed3dc3824cf36263be5e2c491fbd0, Linux 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30. Upgrade Linux to 8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30 or later.

### How do I check if I'm affected by CVE-2026-64459?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/657646c08c94ef7b9dbe468fe7828032216f9841>
- patch: <https://git.kernel.org/stable/c/4caf12c778fed3dc3824cf36263be5e2c491fbd0>
- patch: <https://git.kernel.org/stable/c/8bc4d43bccbd60efe85d0a44d5bf41762f2f0c30>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64459>

HTML: <https://flawdb.com/CVE-2026-64459> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64459>
