# CVE-2026-99840

- Bağlantı: https://www.allsafe.com.tr/cve-2026-99840/
- Yayımlanma: 2026-11-30T17:20:17+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-99840)
