5.5medium
dm mpath: Add missing dm_put_device when failing to get scsi dh name
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.14% (higher than 2% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from fd81bc5cca8fc6936a8988de6b5d4c5693b6587e before 4aa5c37b7d8019f7296111c1add00e7214baae60, from fd81bc5cca8fc6936a8988de6b5d4c5693b6587e before 787bd63ee661b0148ce8e1fde92b7afddd85c446, 6.19 Not affected: before 6.19, from 6.19.6 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19 before 6.19.6 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: dm mpath: Añadir dm_put_device faltante al fallar en obtener el nombre scsi dh Cuando el commit fd81bc5cca8f (’scsi: device_handler: Return error pointer in scsi_dh_attached_handler_name()’) añadió código para fallar el análisis de la ruta si scsi_dh_attached_handler_name() fallaba con -ENOMEM, no limpió la referencia al dispositivo de ruta que acababa de ser tomada. Corregir esto, y optimizar un poco las rutas de error de parse_path().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43192 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43192 changed 2026-11-11 | Public domain |