In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix potential memory leak in DMUB hw_init
[Why] On resume we perform DMUB hwinit which allocates memory: dmresume->dmdmubhwinit->dcdmubsrvcreate->kzalloc That results in memory leak in suspend/resume scenarios.
[How] Allocate memory for the DC wrapper to DMUB only if it was not allocated before. No need to reallocate it on suspend/resume.