In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix potential null dereference
The adev->dm.dc pointer can be NULL and dereferenced in amdgpu_dm_fini() without checking.
Add a NULL pointer check before calling dc_dmub_srv_destroy().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 5.6 | 5.10.246 |
| linux / linux_kernel | 5.11 | 5.15.111 |
| linux / linux_kernel | 5.16 | 6.1.28 |
| linux / linux_kernel | 6.2 | 6.2.15 |
| linux / linux_kernel | 6.3 | 6.3.2 |