drm/mipi-dsi: Detach devices when removing the host
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 068a00233969833f1ba925e7627797489efd6041 · < 26c1b4cfe56f040f71a51c92da1f4cac2e3b9455| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/mipi-dsi: Detach devices when removing the host
Whenever the MIPI-DSI host is unregistered, the code of mipi_dsi_host_unregister() loops over every device currently found on that bus and will unregister it.
However, it doesn't detach it from the bus first, which leads to all kind of resource leaks if the host wants to perform some clean up whenever a device is detached.
From the CVE record · Linux
The Linux kernel unregisters MIPI-DSI devices without first detaching them when a MIPI-DSI host is removed. This can cause resource leaks if the host performs cleanup on device detach; the input does not specify an attacker path, authentication requirements, or user interaction.
Teams running Linux kernels with the DRM MIPI-DSI host code should check their versions; affected versions are not specified.