Bug 2307876 (CVE-2024-43903) - CVE-2024-43903 kernel: drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
Summary: CVE-2024-43903 kernel: drm/amd/display: Add NULL check for 'afb' before deref...
Keywords:
Status: NEW
Alias: CVE-2024-43903
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2308115
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-26 11:21 UTC by OSIDB Bzimport
Modified: 2024-10-08 14:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-08-26 11:21:20 UTC
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)

Comment 1 Mauro Matteo Cascella 2024-08-27 11:14:26 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024082620-CVE-2024-43903-3644@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.