Описание
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
This commit adds a null check for the 'afb' variable in the amdgpu_dm_plane_handle_cursor_update function. Previously, 'afb' was assumed to be null, but was used later in the code without a null check. This could potentially lead to a null pointer dereference.
Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1298 amdgpu_dm_plane_handle_cursor_update() error: we previously assumed 'afb' could be null (see line 1252)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
This commit adds a null check for the 'afb' variable in the amdgpu_dm_plane_handle_cursor_update function. Previously, 'afb' was assumed to be null, but was used later in the code without a null check. This could potentially lead to a null pointer dereference.
Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1298 amdgpu_dm_plane_handle_cursor_update() error: we previously assumed 'afb' could be null (see line 1252)
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2024-43903
- https://git.kernel.org/stable/c/31a679a880102dee6e10985a7b1789af8dc328cc
- https://git.kernel.org/stable/c/38e6f715b02b572f74677eb2f29d3b4bc6f1ddff
- https://git.kernel.org/stable/c/94220b35aeba2b68da81deeefbb784d94eeb5c04
- https://git.kernel.org/stable/c/ce5d090af683137cb779ed7e3683839f9c778b35
Связанные уязвимости
A NULL pointer dereference vulnerability was found in the AMD Display (drm/amd/display) subsystem of the Linux kernel with the "afb" variable in the amdgpu_dm_plane_handle_cursor_update() function in amdgpu_dm_plane.c file. This flaw allows an attacker to craft a situation where the "afb" variable is NULL but is used later in the function. This issue can lead to a kernel panic or a system crash when dereferencing the NULL pointer, impacting system availability. It can also disrupt services reliant on the graphical subsystem, affecting performance and user experience.
Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.