![](/assets/img/cve_300x82_sin_bg.png)
CVE-2024-49910 – drm/amd/display: Add NULL check for function pointer in dcn401_set_output_transfer_func
https://notcve.org/view.php?id=CVE-2024-49910
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn401_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn401_set_output_transfer_func function. Previously, set_output_gamma was being checked for null, but then it was being dereferenced without any null check. This could lead to a null pointer dereference if set_output_gamma is null. To fix this, we now ensure that set_output_gamma is not null before dereferencing it. We do this by adding a null check for set_output_gamma before the call to set_output_gamma. • https://git.kernel.org/stable/c/d8ee900b92b6526cf84275b49a473155ad75c70e https://git.kernel.org/stable/c/dd340acd42c24a3f28dd22fae6bf38662334264c •
![](/assets/img/cve_300x82_sin_bg.png)
CVE-2024-49909 – drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func
https://notcve.org/view.php?id=CVE-2024-49909
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn32_set_output_transfer_func function. Previously, set_output_gamma was being checked for null, but then it was being dereferenced without any null check. This could lead to a null pointer dereference if set_output_gamma is null. To fix this, we now ensure that set_output_gamma is not null before dereferencing it. We do this by adding a null check for set_output_gamma before the call to set_output_gamma. • https://git.kernel.org/stable/c/496486950c3d2aebf46a3be300296ac091da7a2d https://git.kernel.org/stable/c/5298270bdabe97be5b8236e544c9e936415fe1f2 https://git.kernel.org/stable/c/28574b08c70e56d34d6f6379326a860b96749051 •
![](/assets/img/cve_300x82_sin_bg.png)
CVE-2024-49908 – drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2)
https://notcve.org/view.php?id=CVE-2024-49908
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2) This commit adds a null check for the 'afb' variable in the amdgpu_dm_update_cursor function. Previously, 'afb' was assumed to be null at line 8388, but was used later in the code without a null check. This could potentially lead to a null pointer dereference. Changes since v1: - Moved the null check for 'afb' to the line where 'afb' is used. (Alex) Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8433 amdgpu_dm_update_cursor() error: we previously assumed 'afb' could be null (see line 8388) • https://git.kernel.org/stable/c/a742168b6a39ead257da53bcbe472384d6e14a1b https://git.kernel.org/stable/c/0fe20258b4989b9112b5e9470df33a0939403fd4 •
![](/assets/img/cve_300x82_sin_bg.png)
CVE-2024-49907 – drm/amd/display: Check null pointers before using dc->clk_mgr
https://notcve.org/view.php?id=CVE-2024-49907
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check null pointers before using dc->clk_mgr [WHY & HOW] dc->clk_mgr is null checked previously in the same function, indicating it might be null. Passing "dc" to "dc->hwss.apply_idle_power_optimizations", which dereferences null "dc->clk_mgr". (The function pointer resolves to "dcn35_apply_idle_power_optimizations".) This fixes 1 FORWARD_NULL issue reported by Coverity. • https://git.kernel.org/stable/c/8d54001f8dccd56146973f23f3ab2ba037a21251 https://git.kernel.org/stable/c/a545a9403e04c6e17fdc04a26a61d9feebbba106 https://git.kernel.org/stable/c/a2773e0a4b79e7a6463abdffaf8cc4f24428ba18 https://git.kernel.org/stable/c/9641bc4adf8446034e490ed543ae7e9833cfbdf5 https://git.kernel.org/stable/c/3f7e533c10db3d0158709a99e2129ff63add6bcd https://git.kernel.org/stable/c/5ba3fbf75b243b2863a8be9e7c393e003d3b88f3 https://git.kernel.org/stable/c/95d9e0803e51d5a24276b7643b244c7477daf463 •
![](/assets/img/cve_300x82_sin_bg.png)
CVE-2024-49906 – drm/amd/display: Check null pointer before try to access it
https://notcve.org/view.php?id=CVE-2024-49906
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check null pointer before try to access it [why & how] Change the order of the pipe_ctx->plane_state check to ensure that plane_state is not null before accessing it. • https://git.kernel.org/stable/c/2002ccb93004e76a471b180560accb2c1f850f35 https://git.kernel.org/stable/c/1b686053c06ffb9f4524b288110cf2a831ff7a25 •