# CVE-2022-50070: mptcp: do not queue data on closed subflows

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-06-18T11:02:15.240Z
- **Modified:** 2026-08-05T08:57:18.481Z

## Who should check

- Anyone running Linux \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< fb9c73ef2ac2ec816efdc8b9267bc04e1369c20b; \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< 8caf5c15b5288d52d9c89374d6c10fa32ee84ec5; \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< c886d70286bf3ad411eb3d689328a67f7102c6ae
- Anyone running Linux 5.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

mptcp: do not queue data on closed subflows

Dipanjan reported a syzbot splat at close time:

WARNING: CPU: 1 PID: 10818 at net/ipv4/af\_inet.c:153
inet\_sock\_destruct+0x6d0/0x8e0 net/ipv4/af\_inet.c:153
Modules linked in: uio\_ivshmem(OE) uio(E)
CPU: 1 PID: 10818 Comm: kworker/1:16 Tainted: G           OE
5.19.0-rc6-g2eae0556bb9d \#2
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.13.0-1ubuntu1.1 04/01/2014
Workqueue: events mptcp\_worker
RIP: 0010:inet\_sock\_destruct+0x6d0/0x8e0 net/ipv4/af\_inet.c:153
Code: 21 02 00 00 41 8b 9c 24 28 02 00 00 e9 07 ff ff ff e8 34 4d 91
f9 89 ee 4c 89 e7 e8 4a 47 60 ff e9 a6 fc ff ff e8 20 4d 91 f9 \<0f\> 0b
e9 84 fe ff ff e8 14 4d 91 f9 0f 0b e9 d4 fd ff ff e8 08 4d
RSP: 0018:ffffc9001b35fa78 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000002879d0 RCX: ffff8881326f3b00
RDX: 0000000000000000 RSI: ffff8881326f3b00 RDI: 0000000000000002
RBP: ffff888179662674 R08: ffffffff87e983a0 R09: 0000000000000000
R10: 0000000000000005 R11: 00000000000004ea R12: ffff888179662400
R13: ffff888179662428 R14: 0000000000000001 R15: ffff88817e38e258
FS:  0000000000000000(0000) GS:ffff8881f5f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020007bc0 CR3: 0000000179592000 CR4: 0000000000150ee0
Call Trace:
 \<TASK\>
 \_\_sk\_destruct+0x4f/0x8e0 net/core/sock.c:2067
 sk\_destruct+0xbd/0xe0 net/core/sock.c:2112
 \_\_sk\_free+0xef/0x3d0 net/core/sock.c:2123
 sk\_free+0x78/0xa0 net/core/sock.c:2134
 sock\_put include/net/sock.h:1927 \[inline\]
 \_\_mptcp\_close\_ssk+0x50f/0x780 net/mptcp/protocol.c:2351
 \_\_mptcp\_destroy\_sock+0x332/0x760 net/mptcp/protocol.c:2828
 mptcp\_worker+0x5d2/0xc90 net/mptcp/protocol.c:2586
 process\_one\_work+0x9cc/0x1650 kernel/workqueue.c:2289
 worker\_thread+0x623/0x1070 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret\_from\_fork+0x1f/0x30 arch/x86/entry/entry\_64.S:302
 \</TASK\>

The root cause of the problem is that an mptcp-level (re)transmit can
race with mptcp\_close() and the packet scheduler checks the subflow
state before acquiring the socket lock: we can try to (re)transmit on
an already closed ssk.

Fix the issue checking again the subflow socket status under the
subflow socket lock protection. Additionally add the missing check
for the fallback-to-tcp case.

## Affected and fixed versions

- Linux: \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< fb9c73ef2ac2ec816efdc8b9267bc04e1369c20b; \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< 8caf5c15b5288d52d9c89374d6c10fa32ee84ec5; \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< c886d70286bf3ad411eb3d689328a67f7102c6ae (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50070. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50070.md
Affected: Linux >= d5f49190def61c47b2faff170ba8fbc48bac4371, < fb9c73ef2ac2ec816efdc8b9267bc04e1369c20b; >= d5f49190def61c47b2faff170ba8fbc48bac4371, < 8caf5c15b5288d52d9c89374d6c10fa32ee84ec5; >= d5f49190def61c47b2faff170ba8fbc48bac4371, < c886d70286bf3ad411eb3d689328a67f7102c6ae; Linux 5.10
Fixed in: Linux 8caf5c15b5288d52d9c89374d6c10fa32ee84ec5

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.
```

## FAQ

### Is CVE-2022-50070 being exploited?

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

### How serious is CVE-2022-50070?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50070?

Linux \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< fb9c73ef2ac2ec816efdc8b9267bc04e1369c20b; \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< 8caf5c15b5288d52d9c89374d6c10fa32ee84ec5; \>= d5f49190def61c47b2faff170ba8fbc48bac4371, \< c886d70286bf3ad411eb3d689328a67f7102c6ae; Linux 5.10.

### Is there a fix for CVE-2022-50070?

Yes. Fixed in Linux 8caf5c15b5288d52d9c89374d6c10fa32ee84ec5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50070?

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.

## References

- patch: <https://git.kernel.org/stable/c/fb9c73ef2ac2ec816efdc8b9267bc04e1369c20b>
- patch: <https://git.kernel.org/stable/c/8caf5c15b5288d52d9c89374d6c10fa32ee84ec5>
- patch: <https://git.kernel.org/stable/c/c886d70286bf3ad411eb3d689328a67f7102c6ae>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50070>

HTML: <https://flawdb.com/CVE-2022-50070> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50070>
