# CVE-2026-80850: tcp: fix AO info use-after-free in tcp\_ao\_connect\_init()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-04T15:55:00.588Z
- **Modified:** 2026-10-19T09:17:20.547Z

## Who should check

- Anyone running Linux \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 594ba77210a1f065832211851a2d7e14d11fcbdb; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 70051a57786d5b23f059fbaf5c8241eca14d42ed; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 284d7fd0eec8774bd6214921fbf525cf907c590e; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< ea30dc5267e367b8a5e1e06cc074f813bcbf18b2
- Anyone running Linux 6.7

## Description

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

tcp: fix AO info use-after-free in tcp\_ao\_connect\_init()

tcp\_v4\_connect() adds a SYN-SENT socket to the ehash before calling
tcp\_connect().  If TCP-AO is configured, tcp\_connect() first verifies that
a key matches the peer and the bound device's current L3 master.
tcp\_ao\_connect\_init() later resolves the L3 master again and removes keys
which do not match it.

The socket lock does not stabilize the bound device's VRF membership.
Detaching the device from its VRF between the initial validation and the
L3-master calculation in tcp\_ao\_connect\_init() can therefore make the
validation succeed while initialization observes the default L3 domain and
removes the only key.  The subsequent AO lookup then fails, so the no-key
path clears tp-\>ao\_info and frees it directly.

The receive path can find the socket in the ehash and load tp-\>ao\_info
under RCU before acquiring the socket lock.  A reader which loaded the old
pointer can thus continue into tcp\_inbound\_ao\_hash() after the direct free.

The issue was found during a static audit of TCP-AO object lifetime.  An
unprivileged reproducer in self-created user and network namespaces raced
connect() with detaching a veth from its VRF while sending TCP-AO segments.
It triggered the same KASAN report on two fresh boots:

  BUG: KASAN: slab-use-after-free in tcp\_inbound\_ao\_hash+0x585/0x19f0
  Write of size 8 at addr ffff88800bf88128 by task tcp\_ao\_vrf\_race/232

  Call Trace:
   tcp\_inbound\_ao\_hash+0x585/0x19f0
   tcp\_inbound\_hash+0x677/0xa80
   tcp\_v4\_rcv+0x1c3e/0x3ab0

  Allocated by task 235:
   tcp\_ao\_alloc\_info+0x43/0xf0
   tcp\_ao\_add\_cmd+0xdf7/0x13b0
   do\_tcp\_setsockopt+0x168c/0x2640

  Freed by task 235:
   kfree+0x1b8/0x550
   tcp\_connect+0x252/0x4f00
   tcp\_v4\_connect+0x1114/0x1720

The bad address is 40 bytes inside the freed 128-byte object, matching the
tcp\_ao\_info counters.key\_not\_found field.  The two runs used 1000 attempts
each, reached the no-key path 366 and 411 times, and produced one and two
KASAN reports respectively.  With this change, the same reproducer reached
the no-key path 366 times in 1000 attempts without a KASAN report or oops.

Use tcp\_ao\_destroy\_sock() for the no-key path.  It unpublishes the AO info,
updates the socket memory and static-key accounting, and defers the free
until after an RCU grace period.

Also drop the WARN\_ON\_ONCE() and its stale comment.  The VRF detach race
makes the no-key state reachable during normal operation, so it is a
handled condition rather than an impossible assertion.  On panic\_on\_warn
kernels the WARN would turn this handled race into a kernel panic.

## Affected and fixed versions

- Linux: \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 594ba77210a1f065832211851a2d7e14d11fcbdb; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 70051a57786d5b23f059fbaf5c8241eca14d42ed; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 284d7fd0eec8774bd6214921fbf525cf907c590e; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< ea30dc5267e367b8a5e1e06cc074f813bcbf18b2 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80850.md
Affected: Linux >= 248411b8cb8974a1e1c8e43123c1e682fbd64969, < 594ba77210a1f065832211851a2d7e14d11fcbdb; >= 248411b8cb8974a1e1c8e43123c1e682fbd64969, < 70051a57786d5b23f059fbaf5c8241eca14d42ed; >= 248411b8cb8974a1e1c8e43123c1e682fbd64969, < 284d7fd0eec8774bd6214921fbf525cf907c590e; >= 248411b8cb8974a1e1c8e43…
Fixed in: Linux 594ba77210a1f065832211851a2d7e14d11fcbdb, Linux 70051a57786d5b23f059fbaf5c8241eca14d42ed, Linux 284d7fd0eec8774bd6214921fbf525cf907c590e

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-80850 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 594ba77210a1f065832211851a2d7e14d11fcbdb; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 70051a57786d5b23f059fbaf5c8241eca14d42ed; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< 284d7fd0eec8774bd6214921fbf525cf907c590e; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd; \>= 248411b8cb8974a1e1c8e43123c1e682fbd64969, \< ea30dc5267e367b8a5e1e06cc074f813bcbf18b2; Linux 6.7.

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

Yes. Fixed in Linux 594ba77210a1f065832211851a2d7e14d11fcbdb, Linux 70051a57786d5b23f059fbaf5c8241eca14d42ed, Linux 284d7fd0eec8774bd6214921fbf525cf907c590e. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/594ba77210a1f065832211851a2d7e14d11fcbdb>
- other: <https://git.kernel.org/stable/c/70051a57786d5b23f059fbaf5c8241eca14d42ed>
- other: <https://git.kernel.org/stable/c/284d7fd0eec8774bd6214921fbf525cf907c590e>
- other: <https://git.kernel.org/stable/c/d17e88b6b60ff4ef64e0dd1444f935cb13dee1cd>
- other: <https://git.kernel.org/stable/c/ea30dc5267e367b8a5e1e06cc074f813bcbf18b2>

## 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-80850>

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