Bug 2586167 (CVE-2026-99840) - CVE-2026-99840 kernel: kernel: Denial of Service via module reference leak in TCP congestion control
Summary: CVE-2026-99840 kernel: kernel: Denial of Service via module reference leak in...
Keywords:
Status: NEW
Alias: CVE-2026-99840
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:33 UTC by OSIDB Bzimport
Modified: 2026-11-30 16:05 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:33:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.