CVE-2026-99840
publishedtcp: check congestion control restriction first
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6c1ea8bee75df8fe2184a50fcd0f70bf82986f42 to < 7cd2c6ae977e93dc42bcdc36ef5899aff244da83 · 8d432592f30fcc34ef5a10aac4887b4897884493 to < 373354e058cde834155480d0e2840f4f280108f2 · 8d432592f30fcc34ef5a10aac4887b4897884493 to < dc4c138ad6019371a6ef4ce95037f567c06fae93 · 8d432592f30fcc34ef5a10aac4887b4897884493 to < 08c28d356eb1009e10b27e000a9e80d56f6241cc · 8d432592f30fcc34ef5a10aac4887b4897884493 to < b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f · 8d432592f30fcc34ef5a10aac4887b4897884493 to < f021ba9c6f5e60560a040a54d22df166106941fb · 8d432592f30fcc34ef5a10aac4887b4897884493 to < 2dea9ba94bc286f7b4f754642eabd71b8b92e7ac · 8d432592f30fcc34ef5a10aac4887b4897884493 to < dda51b73721684637ab8e9bd97c78228b99c4bd2 · 992de06308d9a9584d59b96d294ac676f924e437 · 9884f745108f7d25b189bbcd6754e284fb29ab68 · efe1532a6e1a8e3c343d04fff510f0ed80328f9c · e7d7bedd507bb732e600403b7a96f9fe48d0ca31 · 5.10.37 to < 5.10.275 · 4.19.191 to < 4.20 · 5.4.119 to < 5.5 · 5.11.21 to < 5.12 · 5.12.4 to < 5.13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6c1ea8bee75df8fe2184a50fcd0f70bf82986f42 to < 7cd2c6ae977e93dc42bcdc36ef5899aff244da83 (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < 373354e058cde834155480d0e2840f4f280108f2 (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < dc4c138ad6019371a6ef4ce95037f567c06fae93 (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < 08c28d356eb1009e10b27e000a9e80d56f6241cc (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < f021ba9c6f5e60560a040a54d22df166106941fb (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < 2dea9ba94bc286f7b4f754642eabd71b8b92e7ac (affected · git)8d432592f30fcc34ef5a10aac4887b4897884493 to < dda51b73721684637ab8e9bd97c78228b99c4bd2 (affected · git)992de06308d9a9584d59b96d294ac676f924e437 (affected · git)9884f745108f7d25b189bbcd6754e284fb29ab68 (affected · git)efe1532a6e1a8e3c343d04fff510f0ed80328f9c (affected · git)e7d7bedd507bb732e600403b7a96f9fe48d0ca31 (affected · git)5.10.37 to < 5.10.275 (affected · semver)4.19.191 to < 4.20 (affected · semver)5.4.119 to < 5.5 (affected · semver)5.11.21 to < 5.12 (affected · semver)5.12.4 to < 5.13 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/08c28d356eb1009e10b27e000a9e80d56f6241cc
- https://git.kernel.org/stable/c/2dea9ba94bc286f7b4f754642eabd71b8b92e7ac
- https://git.kernel.org/stable/c/373354e058cde834155480d0e2840f4f280108f2
- https://git.kernel.org/stable/c/7cd2c6ae977e93dc42bcdc36ef5899aff244da83
- https://git.kernel.org/stable/c/b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f
- https://git.kernel.org/stable/c/dc4c138ad6019371a6ef4ce95037f567c06fae93
- https://git.kernel.org/stable/c/dda51b73721684637ab8e9bd97c78228b99c4bd2
- https://git.kernel.org/stable/c/f021ba9c6f5e60560a040a54d22df166106941fb
Provider assertions
1Linux · cna
tcp: check congestion control restriction first
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d87d3a9ee5aa8798c7c7f48d6c6b7b551afcb33cf80a4241b89f5980158cb905
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record