CVE-2021-47152
published high CVSS 3.1 · 7.8mptcp: fix data stream corruption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux18b683bff89d46ace55f12d00c0440d44d6160c4 to < 3267a061096efc91eda52c2a0c61ba76e46e4b34 · 18b683bff89d46ace55f12d00c0440d44d6160c4 to < 18e7f0580da15cac1e79d73683ada5a9e70980f8 · 18b683bff89d46ace55f12d00c0440d44d6160c4 to < 29249eac5225429b898f278230a6ca2baa1ae154 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.10.42 through 5.10.* (unaffected · semver) · 5.12.9 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix data stream corruption Maxim reported several issues when forcing a TCP transparent proxy to use the MPTCP protocol for the inbound connections. He also provided a clean reproducer. The problem boils down to 'mptcp_frag_can_collapse_to()' assuming that only MPTCP will use the given page_frag. If others - e.g. the plain TCP protocol - allocate page fragments, we can end-up re-using already allocated memory for mptcp_data_frag. Fix the issue ensuring that the to-be-expanded data fragment is located at the current page frag end. v1 -> v2: - added missing fixes tag (Mat)
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
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is in mptcp_sendmsg’s page_frag collapse/carve logic, reached via local sendmsg/sendto on an MPTCP socket (syscall path), not by parsing unsolicited received packets. AC:L - An unprivileged attacker who opens MPTCP (and/or TCP) sockets in one process fully controls shared current->task_frag interleaving and can reliably force the false collapse and overlapping reuse; no victim-only timing or layout is required. PR:L - Creating IPPROTO_MPTCP sockets needs only net.mptcp.enabled (default on when CONFIG_MPTCP is built); no CAP_NET_ADMIN or init-namespace root is required along the send path. UI:N - The attacker triggers the vulnerable sendmsg path themselves on their own sockets; no separate victim action is required. S:U - Impact is kernel memory/list corruption and DoS within the same host OS authority—standard local kernel compromise, not a VM/IOMMU/sandbox boundary cross. C:H - False collapse lets attacker-controlled send data overwrite in-page mptcp_data_frag fields (page/offset/list); corrupted frags can then be transmitted via tcp_build_frag, and the heap/list corruption is further leverageable for disclosure. I:H - Overlapping writes corrupt adjacent mptcp_data_frag list_head and related state (CWE-787), enabling list_add/list_del corruption and arbitrary-write primitives as seen in the reported list_add BUG paths. A:H - The same corruption produced kernel BUG_ON list_add/list_del failures, soft lockups at 100% CPU, and host hangs/panics in the documented reproducer.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 18b683bff89d46ace55f12d00c0440d44d6160c4 to < 3267a061096efc91eda52c2a0c61ba76e46e4b34 (affected · git)18b683bff89d46ace55f12d00c0440d44d6160c4 to < 18e7f0580da15cac1e79d73683ada5a9e70980f8 (affected · git)18b683bff89d46ace55f12d00c0440d44d6160c4 to < 29249eac5225429b898f278230a6ca2baa1ae154 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.7 (affected)0 to < 5.7 (unaffected · semver)5.10.42 through 5.10.* (unaffected · semver)5.12.9 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
mptcp: fix data stream corruption
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b5369b3c10ad9225b81b9a4c112fc9346fb354755cbf5ff4cf3f7bb237eb4ad
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record