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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A use‑after‑free condition exists in the Linux kernel’s TCP Autonomous Operation delete routine. When a key is removed asynchronously after the socket has transitioned to LISTEN, the pointers current_key and rnext_key are not cleared before the key slab is freed, causing subsequent getsockopt(TCP_AO_INFO) calls to read invalid memory. This memory corruption can crash the kernel or corrupt data, exposing the system to a denial‑of‑service attack. The flaw is a classic use‑after‑free weakness (CWE‑825).

Affected Systems

All Linux kernel implementations that include the TCP AO feature are vulnerable, as the affected code path exists in the core kernel. Specific vendor or version information is not listed in the CVE data; therefore, any kernel with the TCP AO feature before the CVE fix is potentially exposed. The mitigation requires a patch to the kernel source, so any distribution kernel that has not applied the fix remains at risk.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.8 and an EPSS score of less than 1 %, indicating a moderate severity but a low probability of exploitation in the wild. It is not listed in the CISA KEV catalog. The likely attack vector is local privileged execution that manipulates the kernel’s TCP AO key state to trigger the use‑after‑free. Exploitation would most likely require local privileged access or the ability to manipulate the kernel’s TCP AO state; it is unlikely to be exploitable remotely or by unauthenticated users.

Generated by OpenCVE AI on August 1, 2026 at 08:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official kernel patch that clears the dangling pointers in the asynchronous deletion path.
  • Reboot the system to ensure the patched kernel is running.
  • If TCP AO is not required for your environment, disable the feature (e.g., by setting the appropriate sysctl or kernel configuration flag) to remove the attack surface.

Generated by OpenCVE AI on August 1, 2026 at 08:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 00:15:00 +0000


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
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.
Title net/tcp-ao: fix use-after-free of key in del_async path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:29.091Z

Reserved: 2026-06-09T07:44:35.402Z

Link: CVE-2026-53389

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53389 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T08:15:03Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference