{"id":"CVE-2021-47010","aliases":["CVE-2021-47010"],"related":[],"kind":"vulnerability","state":"published","title":"net: Only allow init netns to set default tcp cong to a restricted algo","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: Only allow init netns to set default tcp cong to a restricted algo\n\ntcp_set_default_congestion_control() is netns-safe in that it writes\nto &net->ipv4.tcp_congestion_control, but it also sets\nca->flags |= TCP_CONG_NON_RESTRICTED which is not namespaced.\nThis has the unintended side-effect of changing the global\nnet.ipv4.tcp_allowed_congestion_control sysctl, despite the fact that it\nis read-only: 97684f0970f6 (\"net: Make tcp_allowed_congestion_control\nreadonly in non-init netns\")\n\nResolve this netns \"leak\" by only allowing the init netns to set the\ndefault algorithm to one that is restricted. This restriction could be\nremoved if tcp_allowed_congestion_control were namespace-ified in the\nfuture.\n\nThis bug was uncovered with\nhttps://github.com/JonathonReinhart/linux-netns-sysctl-verify","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: Only allow init netns to set default tcp cong to a restricted algo\n\ntcp_set_default_congestion_control() is netns-safe in that it writes\nto &net->ipv4.tcp_congestion_control, but it also sets\nca->flags |= TCP_CONG_NON_RESTRICTED which is not namespaced.\nThis has the unintended side-effect of changing the global\nnet.ipv4.tcp_allowed_congestion_control sysctl, despite the fact that it\nis read-only: 97684f0970f6 (\"net: Make tcp_allowed_congestion_control\nreadonly in non-init netns\")\n\nResolve this netns \"leak\" by only allowing the init netns to set the\ndefault algorithm to one that is restricted. This restriction could be\nremoved if tcp_allowed_congestion_control were namespace-ified in the\nfuture.\n\nThis bug was uncovered with\nhttps://github.com/JonathonReinhart/linux-netns-sysctl-verify","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: solo permite que init netns establezca la cong tcp predeterminada en un algoritmo restringido tcp_set_default_congestion_control() es seguro para netns porque escribe en &amp;net-&gt;ipv4.tcp_congestion_control, pero también establece ca-&gt;flags |= TCP_CONG_NON_RESTRICTED que no tiene espacio de nombres. Esto tiene el efecto secundario no deseado de cambiar el sistema global net.ipv4.tcp_allowed_congestion_control, a pesar de que es de solo lectura: 97684f0970f6 (\"net: Make tcp_allowed_congestion_control readonly in non-init netns\") Resuelva esta \"fuga\" de netns solo permite que las redes de inicio establezcan el algoritmo predeterminado en uno restringido. Esta restricción podría eliminarse si tcp_allowed_congestion_control tuviera un espacio de nombres en el futuro. Este error se descubrió con https://github.com/JonathonReinhart/linux-netns-sysctl-verify","source":"nvd"}],"published":"2024-02-28T08:13:29.051Z","modified":"2026-06-17T04:16:10.390Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"git","introduced":"6670e152447732ba90626f36dfc015a13fbf150e","fixed":"992de06308d9a9584d59b96d294ac676f924e437","status":"affected"},{"type":"git","introduced":"6670e152447732ba90626f36dfc015a13fbf150e","fixed":"9884f745108f7d25b189bbcd6754e284fb29ab68","status":"affected"},{"type":"git","introduced":"6670e152447732ba90626f36dfc015a13fbf150e","fixed":"6c1ea8bee75df8fe2184a50fcd0f70bf82986f42","status":"affected"},{"type":"git","introduced":"6670e152447732ba90626f36dfc015a13fbf150e","fixed":"efe1532a6e1a8e3c343d04fff510f0ed80328f9c","status":"affected"},{"type":"git","introduced":"6670e152447732ba90626f36dfc015a13fbf150e","fixed":"e7d7bedd507bb732e600403b7a96f9fe48d0ca31","status":"affected"},{"type":"git","introduced":"6670e152447732ba90626f36dfc015a13fbf150e","fixed":"8d432592f30fcc34ef5a10aac4887b4897884493","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"4.19.191","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.119","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.37","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.21","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.4","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6670e1524477","fixed":"992de06308d9","status":"affected"},{"type":"custom","introduced":"6670e1524477","fixed":"9884f745108f","status":"affected"},{"type":"custom","introduced":"6670e1524477","fixed":"6c1ea8bee75d","status":"affected"},{"type":"custom","introduced":"6670e1524477","fixed":"efe1532a6e1a","status":"affected"},{"type":"custom","introduced":"6670e1524477","fixed":"e7d7bedd507b","status":"affected"},{"type":"custom","introduced":"6670e1524477","fixed":"8d432592f30f","status":"affected"},{"version":"4.15","status":"affected"},{"type":"custom","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"custom","introduced":"4.19.191","lastAffected":"4.20","status":"unaffected"},{"type":"custom","introduced":"5.4.119","lastAffected":"5.5","status":"unaffected"},{"type":"custom","introduced":"5.10.37","lastAffected":"5.11","status":"unaffected"},{"type":"custom","introduced":"5.11.21","lastAffected":"5.12","status":"unaffected"},{"type":"custom","introduced":"5.12.4","lastAffected":"5.13","status":"unaffected"},{"type":"custom","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.15","fixed":"4.19.191"},{"status":"affected","introduced":"4.20","fixed":"5.4.119"},{"status":"affected","introduced":"5.5","fixed":"5.10.37"},{"status":"affected","introduced":"5.11","fixed":"5.11.21"},{"status":"affected","introduced":"5.12","fixed":"5.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/992de06308d9a9584d59b96d294ac676f924e437","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9884f745108f7d25b189bbcd6754e284fb29ab68","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c1ea8bee75df8fe2184a50fcd0f70bf82986f42","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efe1532a6e1a8e3c343d04fff510f0ed80328f9c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7d7bedd507bb732e600403b7a96f9fe48d0ca31","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d432592f30fcc34ef5a10aac4887b4897884493","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-07-25T15:24:31.511Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47010","url":"https://www.cve.org/CVERecord?id=CVE-2021-47010","licence":"CVE Terms of Use","modified":"2026-05-11T13:46:12.794Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47010","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47010","licence":"Public domain","modified":"2026-06-17T04:16:10.390Z"}],"updatedAt":"2026-11-25T22:58:08.614Z","epss":{"score":0.00257,"percentile":0.18564,"date":"2026-12-01T12:00:22.000Z"}}