CVE-2024-49917 – drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw
https://notcve.org/view.php?id=CVE-2024-49917
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw This commit addresses a potential null pointer dereference issue in the `dcn30_init_hw` function. The issue could occur when `dc->clk_mgr` or `dc->clk_mgr->funcs` is null. The fix adds a check to ensure `dc->clk_mgr` and `dc->clk_mgr->funcs` is not null before accessing its functions. This prevents a potential null pointer dereference. Reported by smatch: dr... • https://git.kernel.org/stable/c/23cb6139543580dc36743586ca86fbb3f7ab2c9d •
CVE-2024-49916 – drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_init_hw
https://notcve.org/view.php?id=CVE-2024-49916
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_init_hw This commit addresses a potential null pointer dereference issue in the `dcn401_init_hw` function. The issue could occur when `dc->clk_mgr` or `dc->clk_mgr->funcs` is null. The fix adds a check to ensure `dc->clk_mgr` and `dc->clk_mgr->funcs` is not null before accessing its functions. This prevents a potential null pointer dereference. Reported by smatch: ... • https://git.kernel.org/stable/c/ac1c41e318074d8a9ea925787e366be15d7645e8 •
CVE-2024-49915 – drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw
https://notcve.org/view.php?id=CVE-2024-49915
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw This commit addresses a potential null pointer dereference issue in the `dcn32_init_hw` function. The issue could occur when `dc->clk_mgr` is null. The fix adds a check to ensure `dc->clk_mgr` is not null before accessing its functions. This prevents a potential null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn32/dcn32_hwseq.c:961 ... • https://git.kernel.org/stable/c/0d94d9cbd9fec7344d230c4f7b781826f7799c60 •
CVE-2024-49914 – drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe
https://notcve.org/view.php?id=CVE-2024-49914
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe This commit addresses a null pointer dereference issue in the `dcn20_program_pipe` function. The issue could occur when `pipe_ctx->plane_state` is null. The fix adds a check to ensure `pipe_ctx->plane_state` is not null before accessing. This prevents a null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hw... • https://git.kernel.org/stable/c/68f75e6f08aad66069a629db8d7840919156c761 •
CVE-2024-49913 – drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream
https://notcve.org/view.php?id=CVE-2024-49913
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream This commit addresses a null pointer dereference issue in the `commit_planes_for_stream` function at line 4140. The issue could occur when `top_pipe_to_program` is null. The fix adds a check to ensure `top_pipe_to_program` is not null before accessing its stream_res. This prevents a null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu... • https://git.kernel.org/stable/c/1ebfa6663807c144be8c8b6727375012409d2356 •
CVE-2024-49912 – drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
https://notcve.org/view.php?id=CVE-2024-49912
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream' This commit adds a null check for 'stream_status' in the function 'planes_changed_for_existing_stream'. Previously, the code assumed 'stream_status' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 plan... • https://git.kernel.org/stable/c/c4b699b93496c423b0e5b584d4eb4ab849313bcf •
CVE-2024-49911 – drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func
https://notcve.org/view.php?id=CVE-2024-49911
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn20_set_output_transfer_func function. Previously, set_output_gamma was being checked for null at line 1030, but then it was being dereferenced without any null check at line 1048. This could potentially lead to a null pointer dereference error if set_output_gamma is null. ... • https://git.kernel.org/stable/c/e8a24767899c86f4c5f1e4d3b2608942d054900f •
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
21 Oct 2024 — 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_outpu... • https://git.kernel.org/stable/c/d8ee900b92b6526cf84275b49a473155ad75c70e •
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
21 Oct 2024 — 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_... • https://git.kernel.org/stable/c/e087c9738ee1cdeebde346f4dfc819e5f7057e90 •
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
21 Oct 2024 — 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 belo... • https://git.kernel.org/stable/c/a742168b6a39ead257da53bcbe472384d6e14a1b •