# CVE-2026-99138: tcp: fix use-after-free in do\_tcp\_getsockopt(TCP\_CC\_INFO)

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-28T10:34:49.993Z
- **Modified:** 2026-10-30T13:21:48.017Z

## Who should check

- Anyone running Linux \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 7c312f17917455eedcea29735fa302ebb93cb9b9; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 66b831b427301a9c3e485564009d476631413103; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a8b024cbf62b497062c86995737fc303e4cc384e; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 8d5fc9e6dc09174d0da6e59678eb8e01a890cbd3; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< e057d201640eebb8ed47ec924872c41570a3bd28; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 86814e5370068ec2bf0caa6e6d55c3e5bfc6c324; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 39aa489e85752f9de214edb0f85e4d578e57af29; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 385e474086c2e7e29e2dded690be40dc273e20ee
- 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\_CC\_INFO)

do\_tcp\_getsockopt() reads icsk-\>icsk\_ca\_ops and dereferences the
get\_info function pointer without rcu\_read\_lock(). With BPF struct\_ops
congestion control, ca\_ops can point to dynamically allocated memory
that is freed concurrently, resulting in a use-after-free when the
kernel dereferences or calls through the stale pointer.

  BUG: KASAN: slab-use-after-free in do\_tcp\_getsockopt+0x2037/0x23e0
  Read of size 8 at addr ffff888013701258 by task exploit/149
   do\_tcp\_getsockopt+0x2037/0x23e0 (net/ipv4/tcp.c:4564)
   tcp\_getsockopt+0x91/0xf0
   \_\_sys\_getsockopt+0xf7/0x170

Fix this by wrapping the ca\_ops load and get\_info call within
rcu\_read\_lock()/rcu\_read\_unlock(), and using READ\_ONCE() to load
the icsk\_ca\_ops pointer.

## Affected and fixed versions

- Linux: \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 7c312f17917455eedcea29735fa302ebb93cb9b9; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 66b831b427301a9c3e485564009d476631413103; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a8b024cbf62b497062c86995737fc303e4cc384e; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 8d5fc9e6dc09174d0da6e59678eb8e01a890cbd3; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< e057d201640eebb8ed47ec924872c41570a3bd28; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 86814e5370068ec2bf0caa6e6d55c3e5bfc6c324; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 39aa489e85752f9de214edb0f85e4d578e57af29; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 385e474086c2e7e29e2dded690be40dc273e20ee (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 385e474086c2e7e29e2dded690be40dc273e20ee 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-99138. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99138.md
Affected: Linux >= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, < 7c312f17917455eedcea29735fa302ebb93cb9b9; >= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, < 66b831b427301a9c3e485564009d476631413103; >= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, < a8b024cbf62b497062c86995737fc303e4cc384e; >= 0baf26b0fcd74bbfcef53c5…
Fixed in: Linux 7c312f17917455eedcea29735fa302ebb93cb9b9, Linux 66b831b427301a9c3e485564009d476631413103, Linux 8d5fc9e6dc09174d0da6e59678eb8e01a890cbd3, Linux 86814e5370068ec2bf0caa6e6d55c3e5bfc6c324, Linux 39aa489e85752f9de214edb0f85e4d578e57af29, Linux 385e474086c2e7e29e2dded690be40dc273e20ee

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

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

### How serious is CVE-2026-99138?

It has no CVSS score yet. Unknown.

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

Linux \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 7c312f17917455eedcea29735fa302ebb93cb9b9; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 66b831b427301a9c3e485564009d476631413103; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< a8b024cbf62b497062c86995737fc303e4cc384e; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 8d5fc9e6dc09174d0da6e59678eb8e01a890cbd3; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< e057d201640eebb8ed47ec924872c41570a3bd28; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 86814e5370068ec2bf0caa6e6d55c3e5bfc6c324; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 39aa489e85752f9de214edb0f85e4d578e57af29; \>= 0baf26b0fcd74bbfcef53c5d5e8bad2b99c8d0d2, \< 385e474086c2e7e29e2dded690be40dc273e20ee; Linux 5.6.

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

Yes. Fixed in Linux 7c312f17917455eedcea29735fa302ebb93cb9b9, Linux 66b831b427301a9c3e485564009d476631413103, Linux 8d5fc9e6dc09174d0da6e59678eb8e01a890cbd3, Linux 86814e5370068ec2bf0caa6e6d55c3e5bfc6c324, Linux 39aa489e85752f9de214edb0f85e4d578e57af29, Linux 385e474086c2e7e29e2dded690be40dc273e20ee. Upgrade Linux to 385e474086c2e7e29e2dded690be40dc273e20ee or later.

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

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/7c312f17917455eedcea29735fa302ebb93cb9b9>
- other: <https://git.kernel.org/stable/c/66b831b427301a9c3e485564009d476631413103>
- other: <https://git.kernel.org/stable/c/a8b024cbf62b497062c86995737fc303e4cc384e>
- other: <https://git.kernel.org/stable/c/8d5fc9e6dc09174d0da6e59678eb8e01a890cbd3>
- other: <https://git.kernel.org/stable/c/e057d201640eebb8ed47ec924872c41570a3bd28>
- other: <https://git.kernel.org/stable/c/86814e5370068ec2bf0caa6e6d55c3e5bfc6c324>
- other: <https://git.kernel.org/stable/c/39aa489e85752f9de214edb0f85e4d578e57af29>
- other: <https://git.kernel.org/stable/c/385e474086c2e7e29e2dded690be40dc273e20ee>

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

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