summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorRoman Demidov <roman.demidov.nn@gmail.com>2026-10-19 10:29:37 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-11-04 12:34:28 -0500
commit7fac15d009cf236677a8cddf6bc0e8c85666ac3b (patch)
treeab02319eed29b57a09fb2c806a2f6b3c4aeecb3f /include/linux/workqueue.h
parentd1551515a3258b43cba60bd7f45bbdd1f4e9e60a (diff)
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. Fixes: b6d508533fa1 ("drm/amd/display: fix a crash when clock source is reference for non otg master pipe") Signed-off-by: Roman Demidov <roman.demidov.nn@gmail.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit ffde3d74c1faeeb645b66d02d02fdae3e073941b) Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions