Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Clean dangling pointer on bind error path mtk_drm_bind() can fail, in which case drm_dev_put() is called, destroying the drm_device object. However a pointer to it was still being held in the private object, and that pointer would be passed along to DRM in mtk_drm_sys_prepare() if a suspend were triggered at that point, resulting in a panic. Clean the pointer when destroying the object in the error path to prevent this from happening.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 119f5173628aa7a0c3cf9db83460d40709e8241d before 9a48f99aa7bea15e0b1d8b0040c46b4792eddf3b; affected 119f5173628aa7a0c3cf9db83460d40709e8241d before a161f1d92aabb3b8463f752bdc3474dc3a5ec0e5; affected 119f5173628aa7a0c3cf9db83460d40709e8241d before 6a89ddee1686a8872384aaa9f0bcfa6b675acd86; affected 119f5173628aa7a0c3cf9db83460d40709e8241d before 49cf87919daeeeeeb9e924c39bdd9203af434461; affected 119f5173628aa7a0c3cf9db83460d40709e8241d before 7b551a501fa714890e55bae73efede1185728d72; affected 119f5173628aa7a0c3cf9db83460d40709e8241d before f3887c771576c5d740c5c5b8bf654a8ab8020b7d; affected 119f5173628aa7a0c3cf9db83460d40709e8241d before 36aa8c61af55675ed967900fbe5deb32d776f051 |
| Linux / Linux | affected 4.7; unaffected 0 before 4.7; unaffected 4.19.276 through 4.19.*; unaffected 5.4.235 through 5.4.*; unaffected 5.10.173 through 5.10.*; unaffected 5.15.99 through 5.15.*; unaffected 6.1.16 through 6.1.*; unaffected 6.2.3 through 6.2.*; unaffected 6.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/9a48f99aa7bea15e0b1d8b0040c46b4792eddf3b
- https://git.kernel.org/stable/c/a161f1d92aabb3b8463f752bdc3474dc3a5ec0e5
- https://git.kernel.org/stable/c/6a89ddee1686a8872384aaa9f0bcfa6b675acd86
- https://git.kernel.org/stable/c/49cf87919daeeeeeb9e924c39bdd9203af434461
- https://git.kernel.org/stable/c/7b551a501fa714890e55bae73efede1185728d72
- https://git.kernel.org/stable/c/f3887c771576c5d740c5c5b8bf654a8ab8020b7d
- https://git.kernel.org/stable/c/36aa8c61af55675ed967900fbe5deb32d776f051
ADP enrichment
No English description supplied.
No references supplied.