All reports
Low

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-43192

Probability of exploitation in the next 30 days: 0.11%

FIRST EPSS · 2026-11-20

Description

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.

A flaw was found in the Linux kernel's device-mapper multipath (dm mpath) subsystem. A missing cleanup operation occurs when the system fails to retrieve a SCSI device handler name due to memory allocation issues. This oversight can lead to a resource leak, where references to path devices are not properly released. Over time, this resource exhaustion could allow a local attacker to cause a Denial of Service (DoS) by making the system unresponsive.