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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2025-02-26T02:24:03.290Z
- Modified: 2026-08-05T08:55:59.359Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 86e39e04482b0aadf3ee3ed5fcf2d63816559d36 before a8a3e95c74e48c2c9b07b81fafda9122993f2e12; from 86e39e04482b0aadf3ee3ed5fcf2d63816559d36 before 6aeed9045071f2252ff4e98fc13d1e304f33e5b0; 5.17 (not affected: before 5.17; from 5.18.10 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.17 before 5.18.10; 5.19

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a8a3e95c74e48c2c9b07b81fafda9122993f2e12> (patch)
- <https://git.kernel.org/stable/c/6aeed9045071f2252ff4e98fc13d1e304f33e5b0> (patch)

## Sources

- CVE List: [CVE-2022-49669](https://www.cve.org/CVERecord?id=CVE-2022-49669), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49669](https://nvd.nist.gov/vuln/detail/CVE-2022-49669), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49669 · Whole record: https://cve.day/CVE-2022-49669.json · Rebuilt by cve.day 2026-11-25T22:58:20.795Z
