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

Published Feb 26, 2025
·
Updated

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 Software

6 affected components
Linux Linux kernel>=5.17<5.18.10
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Linux kernel=5.19-rc3
Linux Linux kernel=5.19-rc4
Linux Kernel

Event History

Feb 26, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2022-49669?

CVE-2022-49669 has been classified with a severity that indicates it can lead to stability issues in systems using the Linux kernel.

2

How do I mitigate CVE-2022-49669?

Mitigation for CVE-2022-49669 involves updating your Linux kernel to the latest version where the vulnerability has been fixed.

3

What systems are affected by CVE-2022-49669?

CVE-2022-49669 affects systems running specific versions of the Linux kernel that utilize MPTCP (Multipath TCP) functionality.

4

Is there a patch available for CVE-2022-49669?

Yes, a patch for CVE-2022-49669 is available and should be applied to affected Linux kernel versions.

5

Can CVE-2022-49669 cause data loss?

While CVE-2022-49669 does not directly cause data loss, it can lead to socket management issues that may potentially impact application performance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203