Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47242

published high CVSS 3.1 · 7.5

mptcp: fix soft lookup in subflow_error_report()

Published
21 May 2024, 14:19:41 UTC
Updated
05 Aug 2026, 08:46:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux15cc10453398c22f78f6c2b897119ecce5e5dd89 to < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d · 15cc10453398c22f78f6c2b897119ecce5e5dd89 to < 499ada5073361c631f2a3c4a8aed44d53b6f82ec · c8ad65cb5051498b8a58be40499db9e930f0092e · 5.11.12 to < 5.12 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.12 (affected) · 0 to < 5.12 (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
linux — linux_kernel15cc10453398 to < 27ef25c72373 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel15cc10453398 to < 499ada507336 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
linux — linux_kernel5.12 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel0 to < 5.12 · Other versions: unknown Unaffected Not stated CISA-ADP
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
linux — linux_kernel5.13 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.12.13 through 5.13 · Other versions: unknown Unaffected Not stated CISA-ADP

Description

In the Linux kernel, the following vulnerability has been resolved: mptcp: fix soft lookup in subflow_error_report() Maxim reported a soft lookup in subflow_error_report(): watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:0] RIP: 0010:native_queued_spin_lock_slowpath RSP: 0018:ffffa859c0003bc0 EFLAGS: 00000202 RAX: 0000000000000101 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff9195c2772d88 RSI: 0000000000000000 RDI: ffff9195c2772d88 RBP: ffff9195c2772d00 R08: 00000000000067b0 R09: c6e31da9eb1e44f4 R10: ffff9195ef379700 R11: ffff9195edb50710 R12: ffff9195c2772d88 R13: ffff9195f500e3d0 R14: ffff9195ef379700 R15: ffff9195ef379700 FS: 0000000000000000(0000) GS:ffff91961f400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000407000 CR3: 0000000002988000 CR4: 00000000000006f0 Call Trace: <IRQ> _raw_spin_lock_bh subflow_error_report mptcp_subflow_data_available __mptcp_move_skbs_from_subflow mptcp_data_ready tcp_data_queue tcp_rcv_established tcp_v4_do_rcv tcp_v4_rcv ip_protocol_deliver_rcu ip_local_deliver_finish __netif_receive_skb_one_core netif_receive_skb rtl8139_poll 8139too __napi_poll net_rx_action __do_softirq __irq_exit_rcu common_interrupt </IRQ> The calling function - mptcp_subflow_data_available() - can be invoked from different contexts: - plain ssk socket lock - ssk socket lock + mptcp_data_lock - ssk socket lock + mptcp_data_lock + msk socket lock. Since subflow_error_report() tries to acquire the mptcp_data_lock, the latter two call chains will cause soft lookup. This change addresses the issue moving the error reporting call to outer functions, where the held locks list is known and the we can acquire only the needed one.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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 soft lockup is triggered in the packet receive softirq path (tcp_v4_rcv → tcp_data_queue → mptcp_data_ready → subflow_error_report) when processing crafted MPTCP DSS options from a remote peer on an established MPTCP connection. AC:L - A remote MPTCP peer can deterministically cause MAPPING_INVALID (e.g., DSS with data_len=0 or a mismatched mapping on a fully_established/mp_join subflow), which reliably re-enters mptcp_data_lock under mptcp_data_ready and deadlocks. PR:N - No privileges on the victim host are required; any unauthenticated network peer of an MPTCP-enabled service can complete the MPTCP handshake and then send the invalid mapping that triggers the lockup. UI:N - No victim user action is required beyond the normal operation of an MPTCP listening service; the kernel processes the attacker’s packets automatically in softirq context. S:U - The soft lockup affects only the local kernel’s availability within the same security authority; there is no VM escape, sandbox escape, or other cross-boundary impact. C:N - This is a pure recursive spinlock deadlock with no memory disclosure, out-of-bounds read, or use-after-free that could leak kernel data. I:N - There is no memory corruption, write primitive, or control-flow hijack; the bug only attempts to re-acquire an already-held spinlock and spins. A:H - The recursive mptcp_data_lock acquisition causes a soft lockup that wedges the CPU in softirq context (reported as CPU stuck for 22s+), constituting a full denial of service / hang.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 15cc10453398c22f78f6c2b897119ecce5e5dd89 to < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d (affected · git)15cc10453398c22f78f6c2b897119ecce5e5dd89 to < 499ada5073361c631f2a3c4a8aed44d53b6f82ec (affected · git)c8ad65cb5051498b8a58be40499db9e930f0092e (affected · git)5.11.12 to < 5.12 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.12 (affected)0 to < 5.12 (unaffected · semver)5.12.13 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel 15cc10453398 to < 27ef25c72373 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 15cc10453398 to < 499ada507336 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.12 (affected)Default: unknown CISA-ADP · adp
linux linux_kernel 0 to < 5.12 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.13 (unaffected)Default: unknown CISA-ADP · adp
linux linux_kernel 5.12.13 through 5.13 (unaffected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-667 CWE-667 Improper Locking (CISA-ADP · adp)

References

2

Provider assertions

3

Linux · cna

mptcp: fix soft lookup in subflow_error_report()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
13cd1fa72ec5996ed4f9b49c79c8716de0297f8f80ac0f4d6e03011fa2493f67
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected