bus: mhi: host: Fix controller cleanup on EDL sysfs failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bus: mhi: host: Fix controller cleanup on EDL sysfs failure
mhi_register_controller() adds the controller device before creating the optional trigger_edl sysfs file. If sysfs_create_file() fails, the error path only drops the device reference and leaves the device registered.
Hence, call device_del() in the error path before put_device().
From the CVE record · Linux
In the Linux kernel’s MHI host code, a failure to create the optional trigger_edl sysfs file leaves a controller device registered during error cleanup. The input does not describe how an attacker could trigger this failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with MHI host support should check their versions; affected versions are not specified.