Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-40134

kernel: dm: fix NULL pointer dereference in __dm_suspend()

Overview

Published
12 Nov 2025
Modified
5 Nov 2026
Medium CVE
0 Registry packages
287 OS packages
13 Linux distributions
Yes Fix available

Description

In the Linux kernel, the following vulnerability has been resolved:

dm: fix NULL pointer dereference in __dm_suspend()

There is a race condition between dm device suspend and table load that
can lead to null pointer dereference. The issue occurs when suspend is
invoked before table load completes:

BUG: kernel NULL pointer dereference, address: 0000000000000054
Oops: 0000 [#1] PREEMPT SMP PTI
CPU: 6 PID: 6798 Comm: dmsetup Not tainted 6.6.0-g7e52f5f0ca9b #62
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.1-2.fc37 04/01/2014
RIP: 0010:blk_mq_wait_quiesce_done+0x0/0x50
Call Trace:
  <TASK>
  blk_mq_quiesce_queue+0x2c/0x50
  dm_stop_queue+0xd/0x20
  __dm_suspend+0x130/0x330
  dm_suspend+0x11a/0x180
  dev_suspend+0x27e/0x560
  ctl_ioctl+0x4cf/0x850
  dm_ctl_ioctl+0xd/0x20
  vfs_ioctl+0x1d/0x50
  __se_sys_ioctl+0x9b/0xc0
  __x64_sys_ioctl+0x19/0x30
  x64_sys_call+0x2c4a/0x4620
  do_syscall_64+0x9e/0x1b0

The issue can be triggered as below:

T1 T2
dm_suspend table_load
__dm_suspend dm_setup_md_queue
                dm_mq_init_request_queue
                blk_mq_init_allocated_queue
                => q->mq_ops = set->ops; (1)
dm_stop_queue / dm_wait_for_completion
=> q->tag_set NULL pointer! (2)
                => q->tag_set = set; (3)

Fix this by checking if a valid table (map) exists before performing
request-based suspend and waiting for target I/O. When map is NULL,
skip these table-dependent suspend steps.

Even when map is NULL, no I/O can reach any target because there is
no table loaded; I/O submitted in this state will fail early in the
DM layer. Skipping the table-dependent suspend logic in this case
is safe and avoids NULL pointer dereferences.

Source: OX vulnerability database

Severity

4.7 · MEDIUM

CVSS 3.1 base score, scored by redhat.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 101 fixes

Oracle Linux 3 releases · 3 packages

fixed 4
kernel-uek bpftool kernel
Oracle Linux fixes for CVE-2025-40134
ReleasePackageFixed in
7 kernel-uek +7 5.4.17-2136.350.3.1.el7uek
8 bpftool +13 5.15.0-315.196.5.1.el8uek
9 kernel +28 5.14.0-687.17.1.el9_8
9 bpftool +18 5.15.0-315.196.5.1.el9uek

Photon OS 2 releases · 1 package

fixed 2
bpftool
Photon OS fixes for CVE-2025-40134
ReleasePackageFixed in
4.0 bpftool +9 5.10.246-1.ph4
5.0 bpftool +10 6.1.157-1.ph5

Red Hat 3 releases · 3 packages

eol 1 affected 2 fixed 1
bpftool kernel-rt kernel
Red Hat fixes for CVE-2025-40134
ReleasePackageFixed inAdvisory
7 bpftool +25 eol —
8 bpftool +45 affected —
9 kernel-rt +20 affected —
9 kernel +71 0:5.14.0-687.5.1.el9_8 RHSA-2026:18587

SUSE Linux Enterprise 3 releases · 6 packages

fixed 10
kernel-livepatch-6-4-0-150600-23-84-default cluster-md-kmp-default kernel-default-base kernel-livepatch-6-4-0-150700-7-28-rt kernel-livepatch-6-4-0-150700-53-28-default kernel-azure
SUSE Linux Enterprise fixes for CVE-2025-40134
ReleasePackageFixed inAdvisory
15.6 kernel-livepatch-6-4-0-150600-23-84-default 1-150600.13.3.1 SUSE-SU-2026:0293-1
15.6 cluster-md-kmp-default +17 6.4.0-150600.23.84.1 SUSE-SU-2026:0293-1
15.6 kernel-default-base 6.4.0-150600.23.84.1.150600.12.38.1 SUSE-SU-2026:0293-1
15.7 kernel-livepatch-6-4-0-150700-7-28-rt 1-150700.1.3.1 SUSE-SU-2026:0278-1
15.7 kernel-livepatch-6-4-0-150700-53-28-default 1-150700.15.3.1 SUSE-SU-2026:0315-1
15.7 kernel-azure +4 6.4.0-150700.20.24.1 SUSE-SU-2026:0281-1

4 more rows

SUSE Linux Enterprise Micro 3 releases · 4 packages

fixed 8
kernel-default kernel-default-base kernel-devel-rt kernel-64kb
SUSE Linux Enterprise Micro fixes for CVE-2025-40134
ReleasePackageFixed inAdvisory
6.0 kernel-default +5 6.4.0-39.1 SUSE-SU-2026:20477-1
6.0 kernel-default-base 6.4.0-39.1.21.16 SUSE-SU-2026:20477-1
6.0 kernel-devel-rt +3 6.4.0-40.1 SUSE-SU-2026:20845-1
6.1 kernel-default +6 6.4.0-39.1 SUSE-SU-2026:20498-1
6.1 kernel-default-base 6.4.0-39.1.21.16 SUSE-SU-2026:20498-1
6.1 kernel-devel-rt +4 6.4.0-40.1 SUSE-SU-2026:20876-1

2 more rows

alma 2 releases · 2 packages

fixed 2
kernel-abi-stablelists kernel
alma fixes for CVE-2025-40134
ReleasePackageFixed in
10 kernel-abi-stablelists +1 6.12.0-211.7.1.el10_2
9 kernel +40 5.14.0-687.5.1.el9_8

amazon linux 1 release · 3 packages

fixed 3
kernel-livepatch-6-1-156-177-286 bpftool bpftool6-12
amazon linux fixes for CVE-2025-40134
ReleasePackageFixed in
2023 kernel-livepatch-6-1-156-177-286 +1 1:1.0-0.amzn2023
2023 bpftool +20 1:6.1.156-177.286.amzn2023
2023 bpftool6-12 +20 1:6.12.53-69.119.amzn2023

debian 4 releases · 2 packages

fixed 5
linux linux-6-1
debian fixes for CVE-2025-40134
ReleasePackageFixed in
11 linux 5.10.247-1
11 linux-6-1 6.1.158-1~deb11u1
12 linux 6.1.158-1
13 linux 6.12.57-1
14 linux 6.17.6-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2025-40134
ReleasePackageFixed in
linux 6.12.57-1

openSUSE Leap 1 release · 2 packages

fixed 2
cluster-md-kmp-64kb kernel-default-base
openSUSE Leap fixes for CVE-2025-40134
ReleasePackageFixed inAdvisory
16.0 cluster-md-kmp-64kb +64 6.12.0-160000.8.1 openSUSE-SU-2025:20172-1
16.0 kernel-default-base 6.12.0-160000.8.1.160000.2.5 openSUSE-SU-2025:20172-1

root.io debian 3 releases · 2 packages

fixed 3
linux rootio-linux
root.io debian fixes for CVE-2025-40134
ReleasePackageFixed in
11 linux +1 5.10.247-1
12 rootio-linux 6.1.158-1
13 linux +1 6.12.57-1

root.io ubuntu 2 releases · 2 packages

fixed 2
rootio-linux linux
root.io ubuntu fixes for CVE-2025-40134
ReleasePackageFixed in
22.04 rootio-linux 5.15.0-170.180
24.04 linux +1 6.8.0-106.106

ubuntu 3 releases · 43 packages

fixed 55
linux-nvidia-tegra-5-15 linux-ibm-5-15 linux-intel-iotg-5-15 linux-riscv-5-15 linux-oracle-5-15 linux-aws-5-15 +37
ubuntu fixes for CVE-2025-40134
ReleasePackageFixed in
20.04-ESM linux-nvidia-tegra-5-15 5.15.0-1052.52~20.04.2
20.04-ESM linux-ibm-5-15 5.15.0-1094.97~20.04.1
20.04-ESM linux-intel-iotg-5-15 5.15.0-1095.101~20.04.1
20.04-ESM linux-riscv-5-15 5.15.0-1095.99~20.04.1
20.04-ESM linux-oracle-5-15 5.15.0-1097.103~20.04.1
20.04-ESM linux-aws-5-15 5.15.0-1100.107~20.04.2

49 more rows

References

Show all 60 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.