# CVE-2026-80849: net/tcp-ao: fix use-after-free of current\_key on reconnect to another peer

> 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:54:59.412Z
- **Modified:** 2026-10-19T09:17:20.440Z

## Who should check

- Anyone running Linux \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 84a93b4e012587d0a4a84ffb23ec6da18e9d85f9; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< e54ad693eddb40c595add013f545354c538e325b; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 2857dcbd03cf3354af0fba1b65c6a260fb43811a; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< da4471557f279d0f56605158a625bb6e49ef7d41
- Anyone running Linux 6.7

## Description

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

net/tcp-ao: fix use-after-free of current\_key on reconnect to another peer

tcp\_inbound\_ao\_hash() is called before bh\_lock\_sock\_nested() is taken,
with only rcu\_read\_lock() held. On the fast path for established
sockets, if the rnext\_keyid sent by the peer differs from
current\_key-\>sndid, the key the peer asked for is looked up and stored
in current\_key. The lookup is inside the RCU read side, but current\_key
outlives it.

When the socket is disconnected and connect() is called again for
another peer, tcp\_ao\_connect\_init() unlinks every key that does not
match the new peer and frees it with call\_rcu(). If current\_key points
at such a key, it is cleared to NULL.

The fast path reads sk\_state only once on entry, so a softirq that got
into it while the socket was still established can update current\_key
after that loop has already run. The update is inside the RCU read side,
so it comes before the call\_rcu() callback, and once the callback frees
the key, current\_key is left pointing at freed memory.

The next transmission picks that pointer up in tcp\_get\_current\_key().
tcp\_ao\_transmit\_skb() then reads the traffic key from the freed object,
which is the use-after-free.

Wait for one grace period before unlinking, and only if a key is going
to be removed. By the time tcp\_connect() runs the socket is already in
TCP\_SYN\_SENT, and TCP\_AO\_ESTABLISHED does not contain TCPF\_SYN\_SENT, so
a softirq entering after the wait cannot reach the fast path, and the
ones already in it have finished. The existing NULL handling in the loop
is then enough.

## Affected and fixed versions

- Linux: \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 84a93b4e012587d0a4a84ffb23ec6da18e9d85f9; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< e54ad693eddb40c595add013f545354c538e325b; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 2857dcbd03cf3354af0fba1b65c6a260fb43811a; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< da4471557f279d0f56605158a625bb6e49ef7d41 (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-80849. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80849.md
Affected: Linux >= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, < 84a93b4e012587d0a4a84ffb23ec6da18e9d85f9; >= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, < 73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3; >= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, < e54ad693eddb40c595add013f545354c538e325b; >= 0a3a809089eb1d4a0a2fd0c…
Fixed in: Linux 84a93b4e012587d0a4a84ffb23ec6da18e9d85f9, Linux 73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3, Linux 2857dcbd03cf3354af0fba1b65c6a260fb43811a

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

There is no confirmed exploitation: CVE-2026-80849 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-80849?

It has no CVSS score yet. Unknown.

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

Linux \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 84a93b4e012587d0a4a84ffb23ec6da18e9d85f9; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< e54ad693eddb40c595add013f545354c538e325b; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< 2857dcbd03cf3354af0fba1b65c6a260fb43811a; \>= 0a3a809089eb1d4a0a2fd0c16b520d603988c859, \< da4471557f279d0f56605158a625bb6e49ef7d41; Linux 6.7.

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

Yes. Fixed in Linux 84a93b4e012587d0a4a84ffb23ec6da18e9d85f9, Linux 73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3, Linux 2857dcbd03cf3354af0fba1b65c6a260fb43811a. No fix listed yet: follow the vendor advisory.

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

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/84a93b4e012587d0a4a84ffb23ec6da18e9d85f9>
- other: <https://git.kernel.org/stable/c/73fde8fe4469f4ed8f0afcc0b9d6413002a9e6b3>
- other: <https://git.kernel.org/stable/c/e54ad693eddb40c595add013f545354c538e325b>
- other: <https://git.kernel.org/stable/c/2857dcbd03cf3354af0fba1b65c6a260fb43811a>
- other: <https://git.kernel.org/stable/c/da4471557f279d0f56605158a625bb6e49ef7d41>

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

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