CVE-2026-99036: dm: fix reading free memory in do_resume

Published Oct 23, 2026
·
Updated

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

dm: fix reading free memory in doresume

When doresume calls dmtablegetmode(newmap), 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 dmswaptable and before dmtablegetmode. In this case, dmtablegetmode(newmap) reads freed memory.

This race condition was triggered by syzbot.

This commit fixes the race by reading mode of the new table before dmswaptable. Note that newmap is also passed to dmimaneedmeasure, 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 23, 2026
CVE Published
via MITRE·12:21 PM
Data Sourced
via MITRE·12:21 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203