Linux kernel: dm: fix reading free memory in do_resume
Overview
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.
- Published
- 10/23/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < 2bc5df0cf906f36a8f59ac864139ee2b7b53d3c0 | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < 48169328021dfd59121f9a66cca919b7defcd3fa | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < 7a272c2338f758e3b6e664ebf7488ac40f48a2a4 | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < 281f68d6cf8acb2547ebf0a849b8beae8fb0ec3c | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < 2c96d1a8324e7736e0f8a5790ecf39d36c2c4a82 | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < e3bf232c913b7e0103d323f15e6342d37cb1b357 | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < 301691c32b8ad023e3316d5dbb6a8cf52d47b0dc | Verify advisory | Source |
Linux Linux | ≥ d58168763f74d1edbc296d7038c60efe6493fdd4, < c9417c1c5269e2bd0570fbe53e4ec03a8d31f008 | Verify advisory | Source |
Linux Linux | 2.6.29 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.