- Accueil
- Vulnérabilités
- CVE-2026-99840
CVE-2026-99840
tcp: check congestion control restriction first
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 5.10.37 (inclus) à 5.10.275 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.19.191 (inclus) à 4.20 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.4.119 (inclus) à 5.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.11.21 (inclus) à 5.12 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.12.4 (inclus) à 5.13 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 5.13 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/7cd2c6ae977e93dc42bcdc36ef5899aff244da83
- https://git.kernel.org/stable/c/373354e058cde834155480d0e2840f4f280108f2
- https://git.kernel.org/stable/c/dc4c138ad6019371a6ef4ce95037f567c06fae93
- https://git.kernel.org/stable/c/08c28d356eb1009e10b27e000a9e80d56f6241cc
- https://git.kernel.org/stable/c/b559449e3fda9fa5b5e7c6c8eccc8df0dec88c7f
- https://git.kernel.org/stable/c/f021ba9c6f5e60560a040a54d22df166106941fb
- https://git.kernel.org/stable/c/2dea9ba94bc286f7b4f754642eabd71b8b92e7ac
- https://git.kernel.org/stable/c/dda51b73721684637ab8e9bd97c78228b99c4bd2
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)