Shellfeed logo Shellfeed

CVE-2026-93136 · UNKNOWN

Summary: bus: mhi: ep: Fix device refcount leak in the error path of MHI device creation

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 11.9).

Details

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

bus: mhi: ep: Fix device refcount leak in the error path of MHI device creation

mhi_ep_create_device() takes one device reference for the UL channel and
another for the DL channel after allocating the transfer device. These
references are normally released by mhi_ep_destroy_device() before the
device itself is removed.

If dev_set_name() or device_add() fails, the error path currently drops
only one reference. The remaining channel references keep the device
from being released and leave the channels associated with a device that
was never registered.

Route both failures through a common unwind path that drops the DL
channel reference, the UL channel reference, and the initial reference
from device_initialize().

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [297c77a0f27312b9a04696018c4cbd47926ca92b – 8acc3813ab5015af73eeb74c9032443162f122d1]
  • Linux Kernel [5.19.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References