CVE-2023-53316

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxc943b4948b5848fc0e07f875edbd35a973879e22 < c67a55f7cc8d767d624235bf1bcd0947e56abe0faffected
LinuxLinuxc943b4948b5848fc0e07f875edbd35a973879e22 < 3c3f3d35f5e05c468b048eb42a4f8c62c6655692affected
LinuxLinuxc943b4948b5848fc0e07f875edbd35a973879e22 < 4e9f1a2367aea7d61f6781213e25313cd983b0d7affected
LinuxLinuxc943b4948b5848fc0e07f875edbd35a973879e22 < 5c3278db06e332fdc14f3f297499fb88ded264d2affected
LinuxLinuxc943b4948b5848fc0e07f875edbd35a973879e22 < ca47d0dc00968358c136a1847cfed550cedfd1b5affected
LinuxLinuxc943b4948b5848fc0e07f875edbd35a973879e22 < fa0048a4b1fa7a50c8b0e514f5b428abdf69a6f8affected
LinuxLinux5.10affected
LinuxLinux0 < 5.10unaffected
LinuxLinux5.10.188 <= 5.10.*unaffected
LinuxLinux5.15.121 <= 5.15.*unaffected
LinuxLinux6.1.39 <= 6.1.*unaffected
LinuxLinux6.3.13 <= 6.3.*unaffected
LinuxLinux6.4.4 <= 6.4.*unaffected
LinuxLinux6.5 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References