Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47242

HIGH 7.5EPSS 35%

mptcp: fix soft lookup in subflow_error_report()

Mitigation

  • Upgrade Linux to 5.12 or later.

Who should check

  • Anyone running Linux >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d; >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 499ada5073361c631f2a3c4a8aed44d53b6f82ec; c8ad65cb5051498b8a58be40499db9e930f0092e; >= 5.11.12, < 5.12
  • Anyone running Linux 5.12

Vulnerability facts

Affected
Linux >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d; >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 499ada5073361c631f2a3c4a8aed44d53b6f82ec; c8ad65cb5051498b8a58be40499db9e930f0092e; >= 5.11.12, < 5.12; Linux 5.12
Fixed in
Linux 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d, Linux 499ada5073361c631f2a3c4a8aed44d53b6f82ec, Linux 5.12
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
CWE
CWE-667
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d; >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 499ada5073361c631f2a3c4a8aed44d53b6f82ec; c8ad65cb5051498b8a58be40499db9e930f0092e; >= 5.11.12, < 5.12—cvelist
Linux5.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47242. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47242.md
Affected: Linux >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d; >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 499ada5073361c631f2a3c4a8aed44d53b6f82ec; c8ad65cb5051498b8a58be40499db9e930f0092e; >= 5.11.12, < 5.12; Linux 5.12
Fixed in: Linux 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d, Linux 499ada5073361c631f2a3c4a8aed44d53b6f82ec, Linux 5.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47242 being exploited?

There is no confirmed exploitation: CVE-2021-47242 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47242?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2021-47242?

Linux >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d; >= 15cc10453398c22f78f6c2b897119ecce5e5dd89, < 499ada5073361c631f2a3c4a8aed44d53b6f82ec; c8ad65cb5051498b8a58be40499db9e930f0092e; >= 5.11.12, < 5.12; Linux 5.12.

Is there a fix for CVE-2021-47242?

Yes. Fixed in Linux 27ef25c72373222aaa5fe7b5cd890ae9cfb89a8d, Linux 499ada5073361c631f2a3c4a8aed44d53b6f82ec, Linux 5.12. Upgrade Linux to 5.12 or later.

How do I check if I'm affected by CVE-2021-47242?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors