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

Published

2025-09-19

·

Updated

2026-05-07

·

CVE-2025-40061

CVSS v2.0

6.0

Medium

VectorAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A race condition exists in the RDMA/rxe task state management within the Linux kernel. Specifically, the issue occurs in the do task() function when draining tasks. When do task() exhausts its iteration budget, it sets the task state to TASK STATE IDLE for rescheduling without verifying the current task state. This can overwrite the TASK STATE DRAINING state set by concurrent calls to rxe cleanup task() or rxe disable task(). The race condition arises because the cleanup logic releases the spinlock while waiting for the task to finish draining, allowing do task() to acquire the lock and potentially proceed with cleanup while the task incorrectly reschedules itself, leading to a potential use-after-free condition. This issue was introduced during the migration from tasklets to workqueues, where special handling for the draining case was lost.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Weakness Enumeration

Related Identifiers

AZL-68837
BDU:2025-13782
CVE-2025-40061
MGASA-2025-0309
MGASA-2025-0310
OPENSUSE-SU-2025:15702-1
OPENSUSE-SU-2025:20091-1
OPENSUSE-SU-2026:10301-1
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:21080-1
SUSE-SU-2025:21147-1
SUSE-SU-2025:21180-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4301-1
USN-8029-1
USN-8029-2
USN-8029-3
USN-8030-1
USN-8048-1
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8165-1
USN-8261-1

Affected Products

Linuxmint
Linux Kernel
Suse
Ubuntu