drm/msm: fix workqueue leak on bind errors
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm: fix workqueue leak on bind errors
Make sure to destroy the workqueue also in case of early errors during bind (e.g. a subcomponent failing to bind).
Since commit c3b790ea07a1 ("drm: Manage drm_mode_config_init with drmm_") the mode config will be freed when the drm device is released also when using the legacy interface, but add an explicit cleanup for consistency and to facilitate backporting.
Patchwork: https://patchwork.freedesktop.org/patch/525093/
From the CVE record · Linux
The Linux kernel's drm/msm component can leak a workqueue if a bind operation fails early, such as when a subcomponent fails to bind. The input does not describe an attacker action or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the drm/msm component should check their versions; affected versions are not specified.