PT-2025-49088 · Linux+4 · Linux Kernel+4
Published
2025-11-13
·
Updated
2026-05-07
·
CVE-2025-40258
CVSS v2.0
7.7
High
| Vector | AV:A/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contained a race condition within the
mptcp schedule work() function. Specifically, a use-after-free issue was identified where mptcp worker() could execute before a reference count was established in mptcp schedule work(). This occurred because the function scheduled a work item and then attempted to obtain a reference count on the socket structure (sk->sk refcnt) if the work was scheduled. However, mptcp worker() could run immediately and complete before the reference count was acquired. The fix involves moving the sock hold(sk) call before the schedule work() call to ensure the reference count is obtained before the work is scheduled.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Rocky Linux
Ubuntu