CVE-2021-47244
published high CVSS 3.1 · 8.2mptcp: Fix out of bounds when parsing TCP options
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcec37a6e41aae7bf3df9a3da783380a4d9325fd8 to < 73eeba71dc9932970befa009e68272a3d5ec4a58 · cec37a6e41aae7bf3df9a3da783380a4d9325fd8 to < 76e02b8905d0691e89e104a882f3bba7dd0f6037 · cec37a6e41aae7bf3df9a3da783380a4d9325fd8 to < 07718be265680dcf496347d475ce1a5442f55ad7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.46 through 5.10.* (unaffected · semver) · 5.12.13 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 out of bounds when parsing TCP options The TCP option parser in mptcp (mptcp_get_options) could read one byte out of bounds. When the length is 1, the execution flow gets into the loop, reads one byte of the opcode, and if the opcode is neither TCPOPT_EOL nor TCPOPT_NOP, it reads one more byte, which exceeds the length of 1. This fix is inspired by commit 9609dad263f8 ("ipv4: tcp_input: fix stack out of bounds when parsing TCP options.").
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
- 8.2 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Scenarios
- en: AV:N - mptcp_get_options() parses TCP options from received skbs on MPTCP sockets, including unauthenticated SYNs in subflow_check_req(), established-path mptcp_incoming_options(), and peer SYN-ACKs in subflow_finish_connect(), so a remote peer triggers it via crafted TCP packets. AC:L - The attacker fully controls the TCP option bytes and can reliably leave a 1-byte remainder (e.g., NOP padding or a 3-byte option in a 4-byte options area) with a non-EOL/non-NOP opcode so the missing length<2 check is hit every time. PR:N - The vulnerable parser runs on the pre-accept SYN path and on ordinary MPTCP segment receive with no credential or capability check; any network peer that can send TCP segments to an MPTCP socket can reach it. UI:N - Against an MPTCP listener or an existing MPTCP connection, exploitation is by sending packets alone and does not require a separate user to open a file, mount something, or otherwise interact. S:U - Impact is confined to the host kernel that parses the packet; this is ordinary in-kernel memory-safety exposure, not a VM/IOMMU/sandbox boundary cross. C:L - The bug is a single-byte out-of-bounds read past the doff-bounded options (into payload, skb tailroom, or skb_shared_info); per guidance that is a bounded OOB read, so confidentiality is Low rather than High. I:N - There is no out-of-bounds write; when length==1 the wrongly read opsize is only compared and then the function returns, so it cannot be turned into a memory write or control-flow hijack primitive. A:H - Reading one byte past the validated TCP header length can touch memory outside skb->len and can oops/fault depending on skb layout (and is a hard failure under KASAN), so availability impact is scored High under the overestimate rule.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.2 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cec37a6e41aae7bf3df9a3da783380a4d9325fd8 to < 73eeba71dc9932970befa009e68272a3d5ec4a58 (affected · git)cec37a6e41aae7bf3df9a3da783380a4d9325fd8 to < 76e02b8905d0691e89e104a882f3bba7dd0f6037 (affected · git)cec37a6e41aae7bf3df9a3da783380a4d9325fd8 to < 07718be265680dcf496347d475ce1a5442f55ad7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.46 through 5.10.* (unaffected · semver)5.12.13 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
3Provider assertions
3Linux · cna
mptcp: Fix out of bounds when parsing TCP options
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7bc38a3f71a07d38d9e0f5d435788e684108f351291b6fe2a76306ebc0708a2d
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record