What’s Vulnerable › Vulnerabilities
CVE-2024-49908: drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2)
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-06-17
- Weakness: CWE-476
Description
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)
Affected products
- Linux kernel: before 6.11.3 — fixed in 6.11.3
How to fix
Upgrade to a fixed version: Linux kernel 6.11.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0fe20258b4989b9112b5e9470df33a0939403fd4
- https://git.kernel.org/stable/c/a742168b6a39ead257da53bcbe472384d6e14a1b
Get alerted when CVE-2024-49908 or the next vulnerability affects your stack