CVE-2021-47132
published high CVSS 3.1 · 7.5mptcp: fix sk_forward_memory corruption on retransmission
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux64b9cea7a0afe579dd2682f1f1c04f2e4e72fd25 to < b9c78b1a95966a7bd2ddae05b73eafc0cda4fba3 · 64b9cea7a0afe579dd2682f1f1c04f2e4e72fd25 to < b5941f066b4ca331db225a976dae1d6ca8cf0ae3 · 96db8ffef07516a6d7414b6988f2a4298a839977 · 5.11.4 to < 5.12 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 5.12.10 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix sk_forward_memory corruption on retransmission MPTCP sk_forward_memory handling is a bit special, as such field is protected by the msk socket spin_lock, instead of the plain socket lock. Currently we have a code path updating such field without handling the relevant lock: __mptcp_retrans() -> __mptcp_clean_una_wakeup() Several helpers in __mptcp_clean_una_wakeup() will update sk_forward_alloc, possibly causing such field corruption, as reported by Matthieu. Address the issue providing and using a new variant of blamed function which explicitly acquires the msk spin lock.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The bug is in the MPTCP protocol path (net/mptcp/); a remote MPTCP peer can induce retransmission (withheld/delayed ACKs or loss) and concurrently send packets that update sk_forward_alloc in softirq, reaching the unlocked clean_una path. AC:L - The attacker controls both sides of the race—triggering MPTCP-level retransmission while sending traffic that races on sk_forward_alloc under mptcp_data_lock—so success does not depend on conditions outside attacker influence. PR:N - No local privileges are required; an unauthenticated remote peer of an MPTCP connection (e.g., client to an internet-facing MPTCP service) can drive the retransmission and concurrent RX accounting paths. UI:N - Exploitation needs no victim user action beyond an existing or attacker-initiated MPTCP session; packet timing alone triggers the race. S:U - Impact is confined to the vulnerable host kernel’s socket memory accounting; there is no cross-boundary escape (VM/IOMMU/sandbox). C:N - The race only corrupts the sk_forward_alloc accounting counter; it does not provide an information disclosure or arbitrary read primitive. I:N - This is integer memory-accounting corruption (WARN_ON leftovers / reclaim imbalance), not an OOB write, UAF, or other primitive that yields controlled data modification or code execution. A:H - Corrupted sk_forward_alloc leads to sk_stream_kill_queues/inet_sock_destruct WARN_ON (and potential panic_on_warn) plus broken reclaim that can exhaust or mis-account socket memory, causing high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 64b9cea7a0afe579dd2682f1f1c04f2e4e72fd25 to < b9c78b1a95966a7bd2ddae05b73eafc0cda4fba3 (affected · git)64b9cea7a0afe579dd2682f1f1c04f2e4e72fd25 to < b5941f066b4ca331db225a976dae1d6ca8cf0ae3 (affected · git)96db8ffef07516a6d7414b6988f2a4298a839977 (affected · git)5.11.4 to < 5.12 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.12 (affected)0 to < 5.12 (unaffected · semver)5.12.10 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
mptcp: fix sk_forward_memory corruption on retransmission
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c8cbdca7b701df597a08da6a68264c09fb571f505b365c62884b6ab3dd77a00e
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record