{"id":"CVE-2026-99036","aliases":["CVE-2026-99036"],"related":[],"kind":"vulnerability","state":"published","title":"dm: fix reading free memory in do_resume","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix reading free memory in do_resume\n\nWhen do_resume calls dm_table_get_mode(new_map), the call is done without\nholding any locks (it only holds a reference to the md). It may be\npossible that another concurrent ioctl on the same device will swap table\nafter dm_swap_table and before dm_table_get_mode. In this case,\ndm_table_get_mode(new_map) reads freed memory.\n\nThis race condition was triggered by syzbot.\n\nThis commit fixes the race by reading mode of the new table before\ndm_swap_table. Note that new_map is also passed to dm_ima_need_measure,\nbut this function doesn't attempt to dereference it, so this call should\nbe safe.\n\nNote that this is not a security bug because only root can trigger it and\nthe commonly used tools such as lvm or cryptsetup do not call the ioctls\nconcurrently, so that they can't trigger it acceidentally.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix reading free memory in do_resume\n\nWhen do_resume calls dm_table_get_mode(new_map), the call is done without\nholding any locks (it only holds a reference to the md). It may be\npossible that another concurrent ioctl on the same device will swap table\nafter dm_swap_table and before dm_table_get_mode. In this case,\ndm_table_get_mode(new_map) reads freed memory.\n\nThis race condition was triggered by syzbot.\n\nThis commit fixes the race by reading mode of the new table before\ndm_swap_table. Note that new_map is also passed to dm_ima_need_measure,\nbut this function doesn't attempt to dereference it, so this call should\nbe safe.\n\nNote that this is not a security bug because only root can trigger it and\nthe commonly used tools such as lvm or cryptsetup do not call the ioctls\nconcurrently, so that they can't trigger it acceidentally.","source":"cvelist"}],"published":"2026-10-23T12:21:49.410Z","modified":"2026-10-30T13:21:40.677Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"2bc5df0cf906f36a8f59ac864139ee2b7b53d3c0","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"48169328021dfd59121f9a66cca919b7defcd3fa","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"7a272c2338f758e3b6e664ebf7488ac40f48a2a4","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"281f68d6cf8acb2547ebf0a849b8beae8fb0ec3c","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"2c96d1a8324e7736e0f8a5790ecf39d36c2c4a82","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"e3bf232c913b7e0103d323f15e6342d37cb1b357","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"301691c32b8ad023e3316d5dbb6a8cf52d47b0dc","status":"affected"},{"type":"git","introduced":"d58168763f74d1edbc296d7038c60efe6493fdd4","fixed":"c9417c1c5269e2bd0570fbe53e4ec03a8d31f008","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2bc5df0cf906f36a8f59ac864139ee2b7b53d3c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48169328021dfd59121f9a66cca919b7defcd3fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a272c2338f758e3b6e664ebf7488ac40f48a2a4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/281f68d6cf8acb2547ebf0a849b8beae8fb0ec3c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c96d1a8324e7736e0f8a5790ecf39d36c2c4a82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3bf232c913b7e0103d323f15e6342d37cb1b357","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/301691c32b8ad023e3316d5dbb6a8cf52d47b0dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9417c1c5269e2bd0570fbe53e4ec03a8d31f008","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99036","url":"https://www.cve.org/CVERecord?id=CVE-2026-99036","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:09.415Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99036","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99036","licence":"Public domain","modified":"2026-10-30T13:21:40.677Z"}],"updatedAt":"2026-11-25T22:59:46.955Z","epss":{"score":0.0022,"percentile":0.1343,"date":"2026-12-01T12:00:22.000Z"}}