Reference leak in Linux kernel TCP congestion control setting
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 6 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel takes a reference to a TCP congestion control algorithm before checking whether a non-init network namespace may select it. A rejected request returns an error without dropping that reference, so a local user with CAP_NET_ADMIN in a non-init network namespace can leak references by repeating the write. Enough leaks can make the reference count negative, causing warnings and a BUG_ON() on module removal.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: tcp: check congestion control restriction first tcp_set_default_congestion_control() takes a reference to an algorithm before checking whether a non-init network namespace may select it. A rejected request returns -EPERM without dropping the reference. This affects module-backed algorithms too; BPF is not required. For example, after root loads tcp_bbr, a user with CAP_NET_ADMIN in a non-init network namespace can repeatedly request it as the default although it is not in tcp_allowed_congestion_control. Each rejected write leaks a module reference. Since module->refcnt is an atomic_t, 2^31 such writes can make it negative; later module_put() calls warn, and rmmod can hit the BUG_ON() in try_release_module_ref(). Check the namespace restriction before acquiring the reference, as tcp_set_congestion_control() already does.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.37 to before 5.10.275; 4.19.191 to before 4.20; 5.4.119 to before 5.5; 5.11.21 to before 5.12; 5.12.4 to before 5.13 | 5.10.275, 4.20, 5.5, 5.12, 5.13 | Patch available | CNA |
| Linux | Linux | 5.13 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.37 to before 5.10.275; 4.19.191 to before 4.20; 5.4.119 to before 5.5; 5.11.21 to before 5.12; 5.12.4 to before 5.13 Fixed in 5.10.275, 4.20, 5.5, 5.12, 5.13 Patch available CNA
- Linux VendorLinux Affected 5.13 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
The Linux kernel is fixed in 4.20, 5.5, 5.10.275, 5.12, 5.13, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 and 7.4-rc1. Red Hat Enterprise Linux 6 has no fix planned. Red Hat Enterprise Linux 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 5 have no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 4.20, 5.5, 5.12, 5.13
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-11-30 Threatist record created from CVE-2026-99840
- 2026-11-30 Alias added: GHSA-h724-2q47-7fcg
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/7cd2c6ae977e93dc42bcdc36ef5899aff244da83
- https://git.kernel.org/stable/c/373354e058cde834155480d0e2840f4f280108f2
- https://git.kernel.org/stable/c/dc4c138ad6019371a6ef4ce95037f567c06fae93
- https://git.kernel.org/stable/c/08c28d356eb1009e10b27e000a9e80d56f6241cc
- https://git.kernel.org/stable/c/b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f
- https://git.kernel.org/stable/c/f021ba9c6f5e60560a040a54d22df166106941fb
- https://git.kernel.org/stable/c/2dea9ba94bc286f7b4f754642eabd71b8b92e7ac
- https://git.kernel.org/stable/c/dda51b73721684637ab8e9bd97c78228b99c4bd2
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99840 · CVE Program
- CVE-2026-99840 · NVD
- GHSA-h724-2q47-7fcg · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99840 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences