CVE-2026-43192 PUBLISHED

dm mpath: Add missing dm_put_device when failing to get scsi dh name

Assigner: Linux
Reserved: 01.05.2026 Published: 06.05.2026 Updated: 06.05.2026

In the Linux kernel, the following vulnerability has been resolved:

dm mpath: Add missing dm_put_device when failing to get scsi dh name

When commit fd81bc5cca8f ("scsi: device_handler: Return error pointer in scsi_dh_attached_handler_name()") added code to fail parsing the path if scsi_dh_attached_handler_name() failed with -ENOMEM, it didn't clean up the reference to the path device that had just been taken. Fix this, and steamline the error paths of parse_path() a little.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from fd81bc5cca8fc6936a8988de6b5d4c5693b6587e to 4aa5c37b7d8019f7296111c1add00e7214baae60 (excl.)
  • affected from fd81bc5cca8fc6936a8988de6b5d4c5693b6587e to 787bd63ee661b0148ce8e1fde92b7afddd85c446 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.19 is affected
  • unaffected from 0 to 6.19 (excl.)
  • unaffected from 6.19.6 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References