CVE-2024-49919 – drm/amd/display: Add null check for head_pipe in dcn201_acquire_free_pipe_for_layer
https://notcve.org/view.php?id=CVE-2024-49919
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for head_pipe in dcn201_acquire_free_pipe_for_layer This commit addresses a potential null pointer dereference issue in the `dcn201_acquire_free_pipe_for_layer` function. The issue could occur when `head_pipe` is null. The fix adds a check to ensure `head_pipe` is not null before asserting it. If `head_pipe` is null, the function returns NULL to prevent a potential null pointer dereference. Reported by smatch... • https://git.kernel.org/stable/c/390d757621f5f35d11a63ed7d9d3262ead240064 •
CVE-2024-49918 – drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer
https://notcve.org/view.php?id=CVE-2024-49918
21 Oct 2024 — In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer This commit addresses a potential null pointer dereference issue in the `dcn32_acquire_idle_pipe_for_head_pipe_in_layer` function. The issue could occur when `head_pipe` is null. The fix adds a check to ensure `head_pipe` is not null before asserting it. If `head_pipe` is null, the function returns NULL to prevent a potential null pointer derefer... • https://git.kernel.org/stable/c/4f47292f488fa7041284dca1f1244116c18721f1 •
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: driver... • 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: driv... • 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/.. • 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/.. • 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 planes_... • 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. To... • 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_output_g... • https://git.kernel.org/stable/c/d8ee900b92b6526cf84275b49a473155ad75c70e •