0.0
NA
CVE-2026-99840
tcp: check congestion control restriction first
Description

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.

INFO

Published Date :

Nov. 30, 2026, 2:20 p.m.

Last Modified :

Nov. 30, 2026, 2:20 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-99840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix a reference leak in TCP congestion control by checking namespace restrictions earlier.
  • Check namespace restrictions before acquiring the reference.
  • Ensure tcp_set_congestion_control() logic is followed.
  • Update the Linux kernel to the latest version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-99840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-99840 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-99840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-99840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99840.json">CVE-2026-99840</a>
    Added Reference https://git.kernel.org/stable/c/08c28d356eb1009e10b27e000a9e80d56f6241cc
    Added Reference https://git.kernel.org/stable/c/2dea9ba94bc286f7b4f754642eabd71b8b92e7ac
    Added Reference https://git.kernel.org/stable/c/373354e058cde834155480d0e2840f4f280108f2
    Added Reference https://git.kernel.org/stable/c/7cd2c6ae977e93dc42bcdc36ef5899aff244da83
    Added Reference https://git.kernel.org/stable/c/b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f
    Added Reference https://git.kernel.org/stable/c/dc4c138ad6019371a6ef4ce95037f567c06fae93
    Added Reference https://git.kernel.org/stable/c/dda51b73721684637ab8e9bd97c78228b99c4bd2
    Added Reference https://git.kernel.org/stable/c/f021ba9c6f5e60560a040a54d22df166106941fb
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.