CVE-2026-138837: dm-snapshot: fix crash if dm_io_client_create fails
dm-snapshot: fix crash if dmioclientcreate fails
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Configuration
Set ps->io_client to NULL if dm_io_client_create() fails.
Linux kernel dm-snapshot ps->io_client = NULL
Event History
Frequently Asked Questions
What condition is required to trigger the crash?
The failure path is reached when dm_io_client_create() fails during dm-snapshot setup. Cleanup then attempts to pass the stored error value to dm_io_client_destroy(), causing an invalid pointer dereference.
Which systems are exposed?
Systems using the Linux kernel dm-snapshot device-mapper functionality are potentially exposed when creation of its dm_io client fails. The supplied information does not identify affected kernel versions or configurations in which this allocation failure is likely.
How can I determine whether the fix is present?
Check whether the kernel source includes the change that sets ps->io_client to NULL when dm_io_client_create() fails. The provided stable references identify commits containing the fix.