{"id":"CVE-2026-99840","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:17.053","lastModified":"2026-11-30T14:20:17.053","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: check congestion control restriction first\n\ntcp_set_default_congestion_control() takes a reference to an algorithm\nbefore checking whether a non-init network namespace may select it. A\nrejected request returns -EPERM without dropping the reference.\n\nThis affects module-backed algorithms too; BPF is not required. For\nexample, after root loads tcp_bbr, a user with CAP_NET_ADMIN in a\nnon-init network namespace can repeatedly request it as the default\nalthough it is not in tcp_allowed_congestion_control. Each rejected\nwrite leaks a module reference. Since module->refcnt is an atomic_t,\n2^31 such writes can make it negative; later module_put() calls warn,\nand rmmod can hit the BUG_ON() in try_release_module_ref().\n\nCheck the namespace restriction before acquiring the reference, as\ntcp_set_congestion_control() already does."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv4/tcp_cong.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6c1ea8bee75df8fe2184a50fcd0f70bf82986f42","lessThan":"7cd2c6ae977e93dc42bcdc36ef5899aff244da83","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"373354e058cde834155480d0e2840f4f280108f2","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"dc4c138ad6019371a6ef4ce95037f567c06fae93","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"08c28d356eb1009e10b27e000a9e80d56f6241cc","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"f021ba9c6f5e60560a040a54d22df166106941fb","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"2dea9ba94bc286f7b4f754642eabd71b8b92e7ac","versionType":"git","status":"affected"},{"version":"8d432592f30fcc34ef5a10aac4887b4897884493","lessThan":"dda51b73721684637ab8e9bd97c78228b99c4bd2","versionType":"git","status":"affected"},{"version":"992de06308d9a9584d59b96d294ac676f924e437","versionType":"git","status":"affected"},{"version":"9884f745108f7d25b189bbcd6754e284fb29ab68","versionType":"git","status":"affected"},{"version":"efe1532a6e1a8e3c343d04fff510f0ed80328f9c","versionType":"git","status":"affected"},{"version":"e7d7bedd507bb732e600403b7a96f9fe48d0ca31","versionType":"git","status":"affected"},{"version":"5.10.37","lessThan":"5.10.275","versionType":"semver","status":"affected"},{"version":"4.19.191","lessThan":"4.20","versionType":"semver","status":"affected"},{"version":"5.4.119","lessThan":"5.5","versionType":"semver","status":"affected"},{"version":"5.11.21","lessThan":"5.12","versionType":"semver","status":"affected"},{"version":"5.12.4","lessThan":"5.13","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv4/tcp_cong.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/08c28d356eb1009e10b27e000a9e80d56f6241cc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2dea9ba94bc286f7b4f754642eabd71b8b92e7ac","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/373354e058cde834155480d0e2840f4f280108f2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7cd2c6ae977e93dc42bcdc36ef5899aff244da83","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dc4c138ad6019371a6ef4ce95037f567c06fae93","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dda51b73721684637ab8e9bd97c78228b99c4bd2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f021ba9c6f5e60560a040a54d22df166106941fb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}