# CVE-2026-99139: tcp: fix use-after-free in do\_tcp\_getsockopt(TCP\_CONGESTION)

> 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 7, 2026-11-26)
- **Published:** 2026-10-28T10:34:50.674Z
- **Modified:** 2026-10-30T13:21:48.150Z

## Who should check

- Anyone running Linux \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a60e62705c17534d6b6539de7b3a40c259e6827f; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 08dc5c62c09653d1c4ba67a009beb138486c2604; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< c1804ef016392dd91267d2207ee43b1de34302ca; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a8e45471afa230c1431c26c8e99ec24377e3b514; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 5271b79b7ad68dcb222e893773f92bdabf7750f3
- Anyone running Linux 5.6

## Description

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

tcp: fix use-after-free in do\_tcp\_getsockopt(TCP\_CONGESTION)

do\_tcp\_getsockopt() reads icsk-\>icsk\_ca\_ops-\>name without holding
rcu\_read\_lock(). Since commit 0baf26b0fcd7 ("bpf: tcp: Support
tcp\_congestion\_ops in bpf"), icsk\_ca\_ops can point to dynamically
allocated BPF struct\_ops memory that may be freed concurrently via
setsockopt(TCP\_CONGESTION), leading to a use-after-free.

  BUG: KASAN: slab-use-after-free in \_copy\_to\_user+0x37/0x60
  Read of size 16 at addr ffff888013505260 by task exploit/149
   \_copy\_to\_user+0x37/0x60
   do\_tcp\_getsockopt+0x158a/0x2460 (net/ipv4/tcp.c:4585)
   tcp\_getsockopt+0x91/0xf0
   \_\_sys\_getsockopt+0xf7/0x170

Fix this by holding rcu\_read\_lock() around the ca\_ops-\>name access,
using READ\_ONCE() to load icsk\_ca\_ops, and copying the name to a
stack buffer before releasing the lock. Also annotate the relevant
icsk\_ca\_ops stores with WRITE\_ONCE() to fix the accompanying KCSAN
data-race issue.

## Affected and fixed versions

- Linux: \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a60e62705c17534d6b6539de7b3a40c259e6827f; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 08dc5c62c09653d1c4ba67a009beb138486c2604; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< c1804ef016392dd91267d2207ee43b1de34302ca; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a8e45471afa230c1431c26c8e99ec24377e3b514; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 5271b79b7ad68dcb222e893773f92bdabf7750f3 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 5271b79b7ad68dcb222e893773f92bdabf7750f3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99139.md
Affected: Linux >= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, < a60e62705c17534d6b6539de7b3a40c259e6827f; >= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, < 4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03; >= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, < 08dc5c62c09653d1c4ba67a009beb138486c2604; >= 0baf26b0fcd74bbfcef53c5…
Fixed in: Linux 4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03, Linux 08dc5c62c09653d1c4ba67a009beb138486c2604, Linux 5271b79b7ad68dcb222e893773f92bdabf7750f3

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a60e62705c17534d6b6539de7b3a40c259e6827f; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 08dc5c62c09653d1c4ba67a009beb138486c2604; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< c1804ef016392dd91267d2207ee43b1de34302ca; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a8e45471afa230c1431c26c8e99ec24377e3b514; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 5271b79b7ad68dcb222e893773f92bdabf7750f3; Linux 5.6.

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

Yes. Fixed in Linux 4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03, Linux 08dc5c62c09653d1c4ba67a009beb138486c2604, Linux 5271b79b7ad68dcb222e893773f92bdabf7750f3. Upgrade Linux to 5271b79b7ad68dcb222e893773f92bdabf7750f3 or later.

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

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/a60e62705c17534d6b6539de7b3a40c259e6827f>
- other: <https://git.kernel.org/stable/c/4b0930d66dde0a1d1898f0edbbb5496c4dfa5f03>
- other: <https://git.kernel.org/stable/c/08dc5c62c09653d1c4ba67a009beb138486c2604>
- other: <https://git.kernel.org/stable/c/c1804ef016392dd91267d2207ee43b1de34302ca>
- other: <https://git.kernel.org/stable/c/a8e45471afa230c1431c26c8e99ec24377e3b514>
- other: <https://git.kernel.org/stable/c/5271b79b7ad68dcb222e893773f92bdabf7750f3>

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

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