In the Linux kernel, the following vulnerability has been resolved: dm: fix a race condition in retrieve_deps There's a race condition in the multipath target when retrieve_deps races with multipath_message calling dm_get_device and dm_put_device. retrieve_deps walks the list of open devices without holding any lock but multipath may add or remove devices to the list while it is running. The end result may be memory corruption or use-after-free memory access. See this description of a UAF with multipath_message(): https://listman.redhat.com/archives/dm-devel/2022-October/052373.html Fix this bug by introducing a new rw semaphore "devices_lock". We grab devices_lock for read in retrieve_deps and we grab it for write in dm_get_device and dm_put_device.
Severity
Not rated by the source.
Dates
Published
2025-12-30 13:16 UTC
Modified
2026-10-26 17:47 UTC
Affected packages and fixes
linux
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 6.1.64-1 (ecosystem)
Fixed versions
6.1.64-1
Fix
Fixed version 6.1.64-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
linux
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 6.5.6-1 (ecosystem)
Fixed versions
6.5.6-1
Fix
Fixed version 6.5.6-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
linux
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 6.5.6-1 (ecosystem)
Fixed versions
6.5.6-1
Fix
Fixed version 6.5.6-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.