# CVE-2022-49669: mptcp: fix race on unaccepted mptcp sockets

> 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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-26T02:24:03.290Z
- **Modified:** 2026-08-05T08:55:59.359Z

## Who should check

- Anyone running Linux \>= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, \< a8a3e95c74e48c2c9b07b81fafda9122993f2e12; \>= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, \< 6aeed9045071f2252ff4e98fc13d1e304f33e5b0
- Anyone running Linux 5.17

## Description

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

mptcp: fix race on unaccepted mptcp sockets

When the listener socket owning the relevant request is closed,
it frees the unaccepted subflows and that causes later deletion
of the paired MPTCP sockets.

The mptcp socket's worker can run in the time interval between such delete
operations. When that happens, any access to msk-\>first will cause an UaF
access, as the subflow cleanup did not cleared such field in the mptcp
socket.

Address the issue explicitly traversing the listener socket accept
queue at close time and performing the needed cleanup on the pending
msk.

Note that the locking is a bit tricky, as we need to acquire the msk
socket lock, while still owning the subflow socket one.

## Affected and fixed versions

- Linux: \>= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, \< a8a3e95c74e48c2c9b07b81fafda9122993f2e12; \>= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, \< 6aeed9045071f2252ff4e98fc13d1e304f33e5b0 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 6aeed9045071f2252ff4e98fc13d1e304f33e5b0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49669.md
Affected: Linux >= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, < a8a3e95c74e48c2c9b07b81fafda9122993f2e12; >= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, < 6aeed9045071f2252ff4e98fc13d1e304f33e5b0; Linux 5.17
Fixed in: Linux 6aeed9045071f2252ff4e98fc13d1e304f33e5b0

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-49669 being exploited?

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

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

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

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

Linux \>= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, \< a8a3e95c74e48c2c9b07b81fafda9122993f2e12; \>= 86e39e04482b0aadf3ee3ed5fcf2d63816559d36, \< 6aeed9045071f2252ff4e98fc13d1e304f33e5b0; Linux 5.17.

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

Yes. Fixed in Linux 6aeed9045071f2252ff4e98fc13d1e304f33e5b0. Upgrade Linux to 6aeed9045071f2252ff4e98fc13d1e304f33e5b0 or later.

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

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/a8a3e95c74e48c2c9b07b81fafda9122993f2e12>
- patch: <https://git.kernel.org/stable/c/6aeed9045071f2252ff4e98fc13d1e304f33e5b0>

## 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-49669>

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