Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Fix pdev reference leak in mtk_drm_bind() When the device is not the mmsys master, mtk_drm_bind() returns early after taking a reference on the disp-mutex device via of_find_device_by_node(), without ever dropping it: mtk_drm_unbind() only puts mutex_dev for the master. Drop the reference before returning from the non-master path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1ef7ed48356cd5f9af2b7671956991b658d8c2ba before 4a0ae61067671f556eeaf5ea4e59a1db63163d70; affected 1ef7ed48356cd5f9af2b7671956991b658d8c2ba before 4a8f9cad0fced77b36b297c67c42730c9cb32ec6; affected 1ef7ed48356cd5f9af2b7671956991b658d8c2ba before b84f1386d84b3a73f73ebb416a3f97c5d64a8ab3; affected 1ef7ed48356cd5f9af2b7671956991b658d8c2ba before cb3e0244514d13507c6048777e1d0277e611cf6c; affected 1ef7ed48356cd5f9af2b7671956991b658d8c2ba before 3753e34b73fcbe2a2edbe984614a008a261697ef |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.56 through 6.18.*; unaffected 7.2.10 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4a0ae61067671f556eeaf5ea4e59a1db63163d70
- https://git.kernel.org/stable/c/4a8f9cad0fced77b36b297c67c42730c9cb32ec6
- https://git.kernel.org/stable/c/b84f1386d84b3a73f73ebb416a3f97c5d64a8ab3
- https://git.kernel.org/stable/c/cb3e0244514d13507c6048777e1d0277e611cf6c
- https://git.kernel.org/stable/c/3753e34b73fcbe2a2edbe984614a008a261697ef