CVE-2021-47010
published high CVSS 3.1 · 7.8net: Only allow init netns to set default tcp cong to a restricted algo
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6670e152447732ba90626f36dfc015a13fbf150e to < 992de06308d9a9584d59b96d294ac676f924e437 · 6670e152447732ba90626f36dfc015a13fbf150e to < 9884f745108f7d25b189bbcd6754e284fb29ab68 · 6670e152447732ba90626f36dfc015a13fbf150e to < 6c1ea8bee75df8fe2184a50fcd0f70bf82986f42 · 6670e152447732ba90626f36dfc015a13fbf150e to < efe1532a6e1a8e3c343d04fff510f0ed80328f9c · 6670e152447732ba90626f36dfc015a13fbf150e to < e7d7bedd507bb732e600403b7a96f9fe48d0ca31 · 6670e152447732ba90626f36dfc015a13fbf150e to < 8d432592f30fcc34ef5a10aac4887b4897884493 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 4.19.191 through 4.19.* (unaffected · semver) · 5.4.119 through 5.4.* (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel6670e1524477 to < 992de06308d9 (affected · custom) · 6670e1524477 to < 9884f745108f (affected · custom) · 6670e1524477 to < 6c1ea8bee75d (affected · custom) · 6670e1524477 to < efe1532a6e1a (affected · custom) · 6670e1524477 to < e7d7bedd507b (affected · custom) · 6670e1524477 to < 8d432592f30f (affected · custom) · 4.15 (affected) · 0 to < 4.15 (unaffected · custom) · 4.19.191 through 4.20 (unaffected · custom) · 5.4.119 through 5.5 (unaffected · custom) · 5.10.37 through 5.11 (unaffected · custom) · 5.11.21 through 5.12 (unaffected · custom) · 5.12.4 through 5.13 (unaffected · custom) · 5.13 and later (unaffected · custom) · Other versions: unknown | Version-specific | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-004 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-004 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-004 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-004 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-004 |
Description
In the Linux kernel, the following vulnerability has been resolved: net: Only allow init netns to set default tcp cong to a restricted algo tcp_set_default_congestion_control() is netns-safe in that it writes to &net->ipv4.tcp_congestion_control, but it also sets ca->flags |= TCP_CONG_NON_RESTRICTED which is not namespaced. This has the unintended side-effect of changing the global net.ipv4.tcp_allowed_congestion_control sysctl, despite the fact that it is read-only: 97684f0970f6 ("net: Make tcp_allowed_congestion_control readonly in non-init netns") Resolve this netns "leak" by only allowing the init netns to set the default algorithm to one that is restricted. This restriction could be removed if tcp_allowed_congestion_control were namespace-ified in the future. This bug was uncovered with https://github.com/JonathonReinhart/linux-netns-sysctl-verify
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6670e152447732ba90626f36dfc015a13fbf150e to < 992de06308d9a9584d59b96d294ac676f924e437 (affected · git)6670e152447732ba90626f36dfc015a13fbf150e to < 9884f745108f7d25b189bbcd6754e284fb29ab68 (affected · git)6670e152447732ba90626f36dfc015a13fbf150e to < 6c1ea8bee75df8fe2184a50fcd0f70bf82986f42 (affected · git)6670e152447732ba90626f36dfc015a13fbf150e to < efe1532a6e1a8e3c343d04fff510f0ed80328f9c (affected · git)6670e152447732ba90626f36dfc015a13fbf150e to < e7d7bedd507bb732e600403b7a96f9fe48d0ca31 (affected · git)6670e152447732ba90626f36dfc015a13fbf150e to < 8d432592f30fcc34ef5a10aac4887b4897884493 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)4.19.191 through 4.19.* (unaffected · semver)5.4.119 through 5.4.* (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 6670e1524477 to < 992de06308d9 (affected · custom)6670e1524477 to < 9884f745108f (affected · custom)6670e1524477 to < 6c1ea8bee75d (affected · custom)6670e1524477 to < efe1532a6e1a (affected · custom)6670e1524477 to < e7d7bedd507b (affected · custom)6670e1524477 to < 8d432592f30f (affected · custom)4.15 (affected)0 to < 4.15 (unaffected · custom)4.19.191 through 4.20 (unaffected · custom)5.4.119 through 5.5 (unaffected · custom)5.10.37 through 5.11 (unaffected · custom)5.11.21 through 5.12 (unaffected · custom)5.12.4 through 5.13 (unaffected · custom)5.13 and later (unaffected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
6- https://git.kernel.org/stable/c/6c1ea8bee75df8fe2184a50fcd0f70bf82986f42
- https://git.kernel.org/stable/c/8d432592f30fcc34ef5a10aac4887b4897884493
- https://git.kernel.org/stable/c/9884f745108f7d25b189bbcd6754e284fb29ab68
- https://git.kernel.org/stable/c/992de06308d9a9584d59b96d294ac676f924e437
- https://git.kernel.org/stable/c/e7d7bedd507bb732e600403b7a96f9fe48d0ca31
- https://git.kernel.org/stable/c/efe1532a6e1a8e3c343d04fff510f0ed80328f9c
Provider assertions
3Linux · cna
net: Only allow init netns to set default tcp cong to a restricted algo
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f353057f877313a6d22c280fca37c2005a9f3b44ac2f850643918dddc7ad6686
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record