# CVE-2024-43887: net/tcp: Disable TCP-AO static key after RCU grace period

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **Published:** 2024-08-26T10:10:39.383Z
- **Modified:** 2026-06-17T07:51:55.903Z

## Who should check

- Anyone running Linux \>= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, \< 954d55a59b2501f4a9bd693b40ce45a1c46cb2b3; \>= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, \< 14ab4792ee120c022f276a7e4768f4dcb08f0cdd
- Anyone running Linux 6.7

## Description

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

net/tcp: Disable TCP-AO static key after RCU grace period

The lifetime of TCP-AO static\_key is the same as the last
tcp\_ao\_info. On the socket destruction tcp\_ao\_info ceases to be
with RCU grace period, while tcp-ao static branch is currently deferred
destructed. The static key definition is
: DEFINE\_STATIC\_KEY\_DEFERRED\_FALSE(tcp\_ao\_needed, HZ);

which means that if RCU grace period is delayed by more than a second
and tcp\_ao\_needed is in the process of disablement, other CPUs may
yet see tcp\_ao\_info which atent dead, but soon-to-be.
And that breaks the assumption of static\_key\_fast\_inc\_not\_disabled().

See the comment near the definition:
\> \* The caller must make sure that the static key can't get disabled while
\> \* in this function. It doesn't patch jump labels, only adds a user to
\> \* an already enabled static key.

Originally it was introduced in commit eb8c507296f6 ("jump\_label:
Prevent key-\>enabled int overflow"), which is needed for the atomic
contexts, one of which would be the creation of a full socket from a
request socket. In that atomic context, it's known by the presence
of the key (md5/ao) that the static branch is already enabled.
So, the ref counter for that static branch is just incremented
instead of holding the proper mutex.
static\_key\_fast\_inc\_not\_disabled() is just a helper for such usage
case. But it must not be used if the static branch could get disabled
in parallel as it's not protected by jump\_label\_mutex and as a result,
races with jump\_label\_update() implementation details.

Happened on netdev test-bot\[1\], so not a theoretical issue:

\[\] jump\_label: Fatal kernel bug, unexpected op at tcp\_inbound\_hash+0x1a7/0x870 \[ffffffffa8c4e9b7\] (eb 50 0f 1f 44 != 66 90 0f 1f 00)) size:2 type:1
\[\] ------------\[ cut here \]------------
\[\] kernel BUG at arch/x86/kernel/jump\_label.c:73!
\[\] Oops: invalid opcode: 0000 \[\#1\] PREEMPT SMP KASAN NOPTI
\[\] CPU: 3 PID: 243 Comm: kworker/3:3 Not tainted 6.10.0-virtme \#1
\[\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
\[\] Workqueue: events jump\_label\_update\_timeout
\[\] RIP: 0010:\_\_jump\_label\_patch+0x2f6/0x350
...
\[\] Call Trace:
\[\]  \<TASK\>
\[\]  arch\_jump\_label\_transform\_queue+0x6c/0x110
\[\]  \_\_jump\_label\_update+0xef/0x350
\[\]  \_\_static\_key\_slow\_dec\_cpuslocked.part.0+0x3c/0x60
\[\]  jump\_label\_update\_timeout+0x2c/0x40
\[\]  process\_one\_work+0xe3b/0x1670
\[\]  worker\_thread+0x587/0xce0
\[\]  kthread+0x28a/0x350
\[\]  ret\_from\_fork+0x31/0x70
\[\]  ret\_from\_fork\_asm+0x1a/0x30
\[\]  \</TASK\>
\[\] Modules linked in: veth
\[\] ---\[ end trace 0000000000000000 \]---
\[\] RIP: 0010:\_\_jump\_label\_patch+0x2f6/0x350

\[1\]: https://netdev-3.bots.linux.dev/vmksft-tcp-ao-dbg/results/696681/5-connect-deny-ipv6/stderr

## Affected and fixed versions

- Linux: \>= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, \< 954d55a59b2501f4a9bd693b40ce45a1c46cb2b3; \>= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, \< 14ab4792ee120c022f276a7e4768f4dcb08f0cdd (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 14ab4792ee120c022f276a7e4768f4dcb08f0cdd or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-43887.md
Affected: Linux >= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, < 954d55a59b2501f4a9bd693b40ce45a1c46cb2b3; >= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, < 14ab4792ee120c022f276a7e4768f4dcb08f0cdd; Linux 6.7
Fixed in: Linux 954d55a59b2501f4a9bd693b40ce45a1c46cb2b3, Linux 14ab4792ee120c022f276a7e4768f4dcb08f0cdd

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-2024-43887 being exploited?

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

### How serious is CVE-2024-43887?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-43887?

Linux \>= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, \< 954d55a59b2501f4a9bd693b40ce45a1c46cb2b3; \>= 67fa83f7c86a86913ab9cd5a13b4bebd8d2ebb43, \< 14ab4792ee120c022f276a7e4768f4dcb08f0cdd; Linux 6.7.

### Is there a fix for CVE-2024-43887?

Yes. Fixed in Linux 954d55a59b2501f4a9bd693b40ce45a1c46cb2b3, Linux 14ab4792ee120c022f276a7e4768f4dcb08f0cdd. Upgrade Linux to 14ab4792ee120c022f276a7e4768f4dcb08f0cdd or later.

### How do I check if I'm affected by CVE-2024-43887?

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/954d55a59b2501f4a9bd693b40ce45a1c46cb2b3>
- patch: <https://git.kernel.org/stable/c/14ab4792ee120c022f276a7e4768f4dcb08f0cdd>

## 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-2024-43887>

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