Linux kernel NULL pointer dereference in AMD display clock updates
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix NULL deref in dcn401_update_clocks_update_dtb_dto
[Why] resource_get_otg_master_for_stream() can return NULL if no OTG master pipe is found for a given stream. The current code dereferences this pointer without a NULL check. This may lead to a possible NULL pointer dereference.
[How] Add an explicit NULL check and skip the stream if the OTG master is not found. This is similar to dcn60_update_clocks_update_dtb_dto().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
(cherry picked from commit ffde3d74c1faeeb645b66d02d02fdae3e073941b)
From the CVE record · Linux
The Linux kernel AMD display clock-update code can dereference a NULL pointer when no OTG master pipe is found for a stream. This may cause a crash; the input does not establish whether an attacker can trigger it or specify access or interaction requirements.
Engineers running Linux kernels with AMD display support should check their versions; affected versions are not specified.