CVE-2026-99036

dm: fix reading free memory in do_resume

No CVSS score yet EPSS 0.22%

Published 23 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-99036

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99036 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

dm: fix reading free memory in do_resume

When do_resume calls dm_table_get_mode(new_map), the call is done without holding any locks (it only holds a reference to the md). It may be possible that another concurrent ioctl on the same device will swap table after dm_swap_table and before dm_table_get_mode. In this case, dm_table_get_mode(new_map) reads freed memory.

This race condition was triggered by syzbot.

This commit fixes the race by reading mode of the new table before dm_swap_table. Note that new_map is also passed to dm_ima_need_measure, but this function doesn't attempt to dereference it, so this call should be safe.

Note that this is not a security bug because only root can trigger it and the commonly used tools such as lvm or cryptsetup do not call the ioctls concurrently, so that they can't trigger it acceidentally.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.38% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before 2bc5df0cf906f36a8f59ac864139ee2b7b53d3c0
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before 48169328021dfd59121f9a66cca919b7defcd3fa
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before 7a272c2338f758e3b6e664ebf7488ac40f48a2a4
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before 281f68d6cf8acb2547ebf0a849b8beae8fb0ec3c
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before 2c96d1a8324e7736e0f8a5790ecf39d36c2c4a82
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before e3bf232c913b7e0103d323f15e6342d37cb1b357
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before 301691c32b8ad023e3316d5dbb6a8cf52d47b0dc
affected from d58168763f74d1edbc296d7038c60efe6493fdd4, before c9417c1c5269e2bd0570fbe53e4ec03a8d31f008
Other versions: unaffected
Linux
affected 2.6.29
unaffected before 2.6.29
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.113 up to and including 6.12.*
unaffected from 6.18.57 up to and including 6.18.*
unaffected from 7.2.11 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99036 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99036

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99036
trivy image --scanners vuln IMAGE | grep CVE-2026-99036

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99036 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.