CVE-2026-43278

dm: clear cloned request bio pointer when last clone bio completes

State
Published
Severity
7.8 High
Published
May 6, 2026
Updated
Oct 19, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

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 blk_complete_request(), but rq->bio is left intact. Subsequent clone teardown then attempts to free the same bios again via blk_rq_unprep_clone().

The resulting double-free path looks like:

nvme_pci_complete_batch() nvme_complete_batch() blk_mq_end_request_batch() blk_complete_request() // called on a DM clone request bio_endio() // first free of all clone bios ... rq->end_io() // end_clone_request() dm_complete_request(tio->orig) dm_softirq_done() dm_done() dm_end_request() blk_rq_unprep_clone() // 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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • ab3e1d3bbab9e973aeb4dd4603251578658a47ff to before 8d9ddad561136f7e6a9346767bf97b4d79e38e67Affected
  • ab3e1d3bbab9e973aeb4dd4603251578658a47ff to before 7daf279c674d515fb22a727a7bbc92aeb35c5442Affected
  • ab3e1d3bbab9e973aeb4dd4603251578658a47ff to before e2e738e8dfbbf83bd2bae0467ec4420cc52da42aAffected
  • ab3e1d3bbab9e973aeb4dd4603251578658a47ff to before b1c1a2637ebd675aa2d71fee8c70da8791d73850Affected
  • ab3e1d3bbab9e973aeb4dd4603251578658a47ff to before 83d72091804600ead96dc9e9f518ea56cb4942f6Affected
  • ab3e1d3bbab9e973aeb4dd4603251578658a47ff to before fb8a6c18fb9a6561f7a15b58b272442b77a242ddAffected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.