PT-2025-46758 · Linux+2 · Linux Kernel+2
Published
2025-09-15
·
Updated
2026-05-07
·
CVE-2025-40201
CVSS v2.0
5.0
Medium
| Vector | AV:L/AC:H/Au:S/C:P/I:P/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A flaw exists in the Linux kernel related to race conditions when using
task lock(tsk->group leader) within the sys prlimit64() function and its associated do prlimit() path. Specifically, the code does not adequately protect against scenarios where the task structure (task struct) is freed or modified concurrently with the lock acquisition. This can occur if tsk is not the current process or is not a leader, potentially leading to the use of freed memory. Additionally, a race condition exists with mt-exec, which can alter the group leader pointer while the lock is being acquired or released. The issue is addressed by acquiring tasklist lock when necessary within sys prlimit64().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu