CVE-2024-49908

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49908
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49908.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49908
Downstream
Related
Published
2024-10-21T18:01:38.149Z
Modified
2025-11-28T02:34:03.259597Z
Summary
drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2)
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Add null check for 'afb' in amdgpudmupdate_cursor (v2)

This commit adds a null check for the 'afb' variable in the amdgpudmupdate_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/amdgpudm/amdgpudm.c:8433 amdgpudmupdate_cursor() error: we previously assumed 'afb' could be null (see line 8388)

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49908.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c
Fixed
a742168b6a39ead257da53bcbe472384d6e14a1b
Fixed
0fe20258b4989b9112b5e9470df33a0939403fd4

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
6.11.3