CVE-2026-143016: dm-cache: fix NULL pointer dereference on open failure
dm-cache: fix NULL pointer dereference on open failure
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.11 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.13 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 3.19 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
Initialize cmd->list after cmd is allocated.
Event History
Frequently Asked Questions
What failure path triggers the crash?
The crash occurs when __begin_transaction_flags fails during metadata_open and the cleanup path calls dm_cache_metadata_close before the cmd object has been added to a list.
What is the documented impact?
The affected cleanup path can trigger a NULL pointer dereference and crash the kernel.
What does the fix change?
The fix initializes cmd->list immediately after cmd is allocated, so the later list deletion is safe even when opening metadata fails.