# CVE-2026-53389: net/tcp-ao: fix use-after-free of key in del_async path

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T12:01:54.386Z
- Modified: 2026-08-17T05:17:13.170Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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

net/tcp-ao: fix use-after-free of key in del_async path

In tcp_ao_delete_key(), the del_async path skips the current_key
and rnext_key validity checks present in the synchronous path,
assuming these pointers are always NULL on LISTEN sockets.  However,
if a key was added with set_current=1/set_rnext=1 while the socket
was in CLOSE state, current_key and rnext_key will be non-NULL
after listen() transitions the socket to LISTEN.

When such a key is deleted with del_async=1, hlist_del_rcu() and
call_rcu() free the key without clearing the dangling pointers.
After the RCU grace period, getsockopt(TCP_AO_INFO) dereferences
current_key->sndid and rnext_key->rcvid from freed slab memory.

Clear current_key and rnext_key in the del_async path when they
reference the key being deleted.

(As written by CVE List.)

## Affected

- Linux Linux: from d6732b95b6fbbc6d5bb9d2f809e275763640c4a2 before 6ce7ef41743740ce15c2061561b784148b565b3f; from d6732b95b6fbbc6d5bb9d2f809e275763640c4a2 before e77fbefd1269b5c123e7c651a1ebdce1b87d19a0; from d6732b95b6fbbc6d5bb9d2f809e275763640c4a2 before 7ddc29a094d96e9b3aa280433c6dc443df9eabf2; from d6732b95b6fbbc6d5bb9d2f809e275763640c4a2 before 5ba9950bc9078e19b69cca1e56d1553b125c6857; 6.7 (not affected: before 6.7; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/6ce7ef41743740ce15c2061561b784148b565b3f> (patch)
- <https://git.kernel.org/stable/c/e77fbefd1269b5c123e7c651a1ebdce1b87d19a0> (patch)
- <https://git.kernel.org/stable/c/7ddc29a094d96e9b3aa280433c6dc443df9eabf2> (patch)
- <https://git.kernel.org/stable/c/5ba9950bc9078e19b69cca1e56d1553b125c6857> (patch)

## Sources

- CVE List: [CVE-2026-53389](https://www.cve.org/CVERecord?id=CVE-2026-53389), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-53389](https://nvd.nist.gov/vuln/detail/CVE-2026-53389), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-53389 · Whole record: https://cve.day/CVE-2026-53389.json · Rebuilt by cve.day 2026-11-25T22:59:28.692Z
