CVEvulnerability
CVE-2024-49912
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-10-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
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_changed_for_existing_stream() error: we previously assumed 'stream_status' could be null (see line 3774)
Affected configurations
• linux linux kernel (< 6.1.113)
• linux linux kernel (>= 6.2 < 6.6.55)
• linux linux kernel (>= 6.7 < 6.10.14)
• linux linux kernel (>= 6.11 < 6.11.3)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659 Patch
- https://git.kernel.org/stable/c/4778982c73d6c9f3fdbdbc6b6c8aa18df98251af Patch
- https://git.kernel.org/stable/c/8141f21b941710ecebe49220b69822cab3abd23d Patch
- https://git.kernel.org/stable/c/c4b699b93496c423b0e5b584d4eb4ab849313bcf Patch
- https://git.kernel.org/stable/c/ec6c32b58e6c4e87760e797c525e99a460c82bcb Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org