PT-2025-8602 · Linux+3 · Linux Kernel+3

Paolo Abeni

·

Published

2022-06-28

·

Updated

2025-02-27

·

CVE-2022-49669

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A race condition in the Linux kernel's mptcp socket handling can lead to a use-after-free (UaF) access. This occurs when the listener socket owning a relevant request is closed, freeing unaccepted subflows and causing the deletion of paired MPTCP sockets. If the mptcp socket's worker runs during this time interval, accessing msk->first can result in a UaF access because the subflow cleanup did not clear this field in the mptcp socket.
Recommendations To address this issue, explicitly traverse the listener socket accept queue at close time and perform the needed cleanup on the pending msk. Ensure that the locking is properly handled by acquiring the msk socket lock while still owning the subflow socket one. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-04419
CESA-2022_7683
CVE-2022-49669
RHSA-2022:7683
RHSA-2022:8267
RHSA-2022_7683
RHSA-2022_8267

Affected Products

Astra Linux
Centos
Linux Kernel
Red Hat