CVE-2026-43278: dm: clear cloned request bio pointer when last clone bio completes
In the Linux kernel, the following vulnerability has been resolved:
dm: clear cloned request bio pointer when last clone bio completes
Stale rq->bio values have been observed to cause double-initialization of cloned bios in request-based device-mapper targets, leading to use-after-free and double-free scenarios.
One such case occurs when using dm-multipath on top of a PCIe NVMe namespace, where cloned request bios are freed during blkcompleterequest(), but rq->bio is left intact. Subsequent clone teardown then attempts to free the same bios again via blkrqunprepclone().
The resulting double-free path looks like:
nvmepcicompletebatch() nvmecompletebatch() blkmqendrequestbatch() blkcompleterequest() // called on a DM clone request bioendio() // first free of all clone bios ... rq->endio() // endclonerequest() dmcompleterequest(tio->orig) dmsoftirqdone() dmdone() dmendrequest() blkrqunprepclone() // second free of clone bios
Fix this by clearing the clone request's bio pointer when the last cloned bio completes, ensuring that later teardown paths do not attempt to free already-released bios.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43278?
CVE-2026-43278 is classified as a potential security vulnerability that could lead to unpredictable behavior in the Linux kernel.
How do I fix CVE-2026-43278?
To address CVE-2026-43278, ensure that your Linux kernel is updated to the latest patched version provided by the vendor.
What are the potential impacts of CVE-2026-43278?
The potential impacts of CVE-2026-43278 include data corruption and system instability due to double-initialization of cloned bios.
Which versions of the Linux kernel are affected by CVE-2026-43278?
CVE-2026-43278 affects specific versions of the Linux kernel, and users should review their kernel version to determine vulnerability.
Is there a workaround for CVE-2026-43278 if I cannot update immediately?
Currently, there are no known workarounds for CVE-2026-43278, making an update the recommended course of action.