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

Published

2025-08-26

·

Updated

2026-05-19

·

CVE-2025-40134

CVSS v2.0

3.8

Low

VectorAV:L/AC:H/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.0-g7e52f5f0ca9b
Description The Linux kernel contains a flaw in the device mapper (dm) subsystem related to a race condition between device suspend and table load. This can lead to a NULL pointer dereference within the dm suspend() function. The issue arises when suspend is initiated before the table load process is complete. Specifically, the problem occurs during the initialization of the request queue (blk mq init allocated queue) where the q->mq ops pointer is set before the q->tag set is initialized, potentially leading to a NULL pointer access. The fix involves checking for a valid table (map) before performing request-based suspend and waiting for target I/O. If the map is NULL, table-dependent suspend steps are skipped to prevent the dereference. This is safe because I/O will fail early in the DM layer if no table is loaded. The vulnerable function is dm suspend().
Recommendations Update to a version later than 6.6.0-g7e52f5f0ca9b.

Exploit

Fix

Race Condition

NULL Pointer Dereference

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

Weakness Enumeration

Related Identifiers

ALSA-2026:18134
ALSA-2026:18587
BDU:2025-16148
CVE-2025-40134
DLA-4379-1
DLA-4404-1
OESA-2025-2765
OESA-2025-2766
OESA-2025-2767
OPENSUSE-SU-2025:20172-1
SUSE-SU-2026:0278-1
SUSE-SU-2026:0281-1
SUSE-SU-2026:0293-1
SUSE-SU-2026:0315-1
SUSE-SU-2026:20012-1
SUSE-SU-2026:20015-1
SUSE-SU-2026:20021-1
SUSE-SU-2026:20477-1
SUSE-SU-2026:20498-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20876-1
USN-8029-1
USN-8029-2
USN-8029-3
USN-8030-1
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
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-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu