CVE-2026-99840
tcp: check congestion control restriction first
Check your servers for CVE-2026-99840
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99840 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6c1ea8bee75df8fe2184a50fcd0f70bf82986f42, before 7cd2c6ae977e93dc42bcdc36ef5899aff244da83 affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before 373354e058cde834155480d0e2840f4f280108f2 affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before dc4c138ad6019371a6ef4ce95037f567c06fae93 affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before 08c28d356eb1009e10b27e000a9e80d56f6241cc affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before f021ba9c6f5e60560a040a54d22df166106941fb affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before 2dea9ba94bc286f7b4f754642eabd71b8b92e7ac affected from 8d432592f30fcc34ef5a10aac4887b4897884493, before dda51b73721684637ab8e9bd97c78228b99c4bd2 affected 992de06308d9a9584d59b96d294ac676f924e437 affected 9884f745108f7d25b189bbcd6754e284fb29ab68 affected efe1532a6e1a8e3c343d04fff510f0ed80328f9c affected e7d7bedd507bb732e600403b7a96f9fe48d0ca31 affected from 5.10.37, before 5.10.275 affected from 4.19.191, before 4.20 affected from 5.4.119, before 5.5 affected from 5.11.21, before 5.12 affected from 5.12.4, before 5.13
Other versions: unaffected
|
| Linux |
affected 5.13 unaffected before 5.13 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99840 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99840
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99840
trivy image --scanners vuln IMAGE | grep CVE-2026-99840
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7cd2c6ae977e93dc42bcdc36ef5899aff244da83 git.kernel.org
- https://git.kernel.org/stable/c/373354e058cde834155480d0e2840f4f280108f2 git.kernel.org
- https://git.kernel.org/stable/c/dc4c138ad6019371a6ef4ce95037f567c06fae93 git.kernel.org
- https://git.kernel.org/stable/c/08c28d356eb1009e10b27e000a9e80d56f6241cc git.kernel.org
- https://git.kernel.org/stable/c/b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f git.kernel.org
- https://git.kernel.org/stable/c/f021ba9c6f5e60560a040a54d22df166106941fb git.kernel.org
- https://git.kernel.org/stable/c/2dea9ba94bc286f7b4f754642eabd71b8b92e7ac git.kernel.org
- https://git.kernel.org/stable/c/dda51b73721684637ab8e9bd97c78228b99c4bd2 git.kernel.org
Source: the record CVE-2026-99840 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse