Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: Free resources after unregistering them The DP component's unbind operation walks through the submodules to unregister and clean things up. But if the unbind happens because the DP controller itself is being removed, all the memory for those submodules has just been freed. Change the order of these operations to avoid the many use-after-free that otherwise happens in this code path. Patchwork: https://patchwork.freedesktop.org/patch/542166/
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c943b4948b5848fc0e07f875edbd35a973879e22 to < c67a55f7cc8d767d624235bf1bcd0947e56abe0faffectedc943b4948b5848fc0e07f875edbd35a973879e22 to < 3c3f3d35f5e05c468b048eb42a4f8c62c6655692affectedc943b4948b5848fc0e07f875edbd35a973879e22 to < 4e9f1a2367aea7d61f6781213e25313cd983b0d7affectedc943b4948b5848fc0e07f875edbd35a973879e22 to < 5c3278db06e332fdc14f3f297499fb88ded264d2affectedc943b4948b5848fc0e07f875edbd35a973879e22 to < ca47d0dc00968358c136a1847cfed550cedfd1b5affectedc943b4948b5848fc0e07f875edbd35a973879e22 to < fa0048a4b1fa7a50c8b0e514f5b428abdf69a6f8affected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected5.10.188 to ≤ 5.10.*unaffected5.15.121 to ≤ 5.15.*unaffected6.1.39 to ≤ 6.1.*unaffected6.3.13 to ≤ 6.3.*unaffected6.4.4 to ≤ 6.4.*unaffected6.5 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c67a55f7cc8d767d624235bf1bcd0947e56abe0f ↗
- https://git.kernel.org/stable/c/3c3f3d35f5e05c468b048eb42a4f8c62c6655692 ↗
- https://git.kernel.org/stable/c/4e9f1a2367aea7d61f6781213e25313cd983b0d7 ↗
- https://git.kernel.org/stable/c/5c3278db06e332fdc14f3f297499fb88ded264d2 ↗
- https://git.kernel.org/stable/c/ca47d0dc00968358c136a1847cfed550cedfd1b5 ↗
- https://git.kernel.org/stable/c/fa0048a4b1fa7a50c8b0e514f5b428abdf69a6f8 ↗