CVE-2026-99840: tcp: check congestion control restriction first

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

tcp: check congestion control restriction first

tcpsetdefaultcongestioncontrol() 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 tcpbbr, a user with CAPNETADMIN in a non-init network namespace can repeatedly request it as the default although it is not in tcpallowedcongestioncontrol. Each rejected write leaks a module reference. Since module->refcnt is an atomict, 2^31 such writes can make it negative; later moduleput() calls warn, and rmmod can hit the BUGON() in tryreleasemoduleref().

Check the namespace restriction before acquiring the reference, as tcpsetcongestioncontrol() already does.

Affected Software

16 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.19.191<4.20
4.20
linux/kernel>=5.4.119<5.5
5.5
linux/kernel>=5.10.37<5.10.275
5.10.275
linux/kernel>=5.11.21<5.12
5.12
linux/kernel>=5.12.4<5.13
5.13
linux/kernel>=5.13.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux*
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.4-1
7.3.4-1
debian/linux<=6.1.176-1, <=6.1.192-3
6.12.117-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 4.20
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.5
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.275
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.12
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.13
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  9. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  10. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  11. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  12. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  13. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  14. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1
  15. Compensating control

    In tcp_set_default_congestion_control(), check the namespace restriction before acquiring a reference to the algorithm; return -EPERM for rejected requests without taking a module reference.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:17 PM
Data Sourced
via MITRE·01:17 PM
Description
Data Sourced
via OSV·01:17 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs CAP_NET_ADMIN in a non-init network namespace. The vulnerable path can be exercised after root has loaded a module-backed TCP congestion-control algorithm, such as tcp_bbr, that is not allowed for selection in that namespace.

2

Is BPF required for exploitation?

No. The issue affects module-backed congestion-control algorithms, and BPF is not required.

3

What happens if the issue is exploited repeatedly?

Each rejected request leaks a reference to the congestion-control module. Repeating the request enough times can cause the module reference count to become negative; subsequent module_put() calls may warn, and rmmod can reach a BUG_ON() in try_release_module_ref().

4

How can administrators limit exposure before applying the fix?

Limit CAP_NET_ADMIN access in non-init network namespaces, particularly where users can repeatedly change the default TCP congestion-control setting. Avoid loading module-backed congestion-control algorithms that are not included in tcp_allowed_congestion_control for those namespaces.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203