5.5medium
drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before c4b699b93496c423b0e5b584d4eb4ab849313bcf, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 4778982c73d6c9f3fdbdbc6b6c8aa18df98251af, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before ec6c32b58e6c4e87760e797c525e99a460c82bcb, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 8141f21b941710ecebe49220b69822cab3abd23d, 4.15 Not affected: before 4.15, from 6.1.113 up to 6.1.*, from 6.6.55 up to 6.6.*, from 6.10.14 up to 6.10.*, from 6.11.3 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | before 6.1.113, from 6.2 before 6.6.55, from 6.7 before 6.10.14, from 6.11 before 6.11.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Controlar 'stream_status' nulo en 'planes_changed_for_existing_stream' Esta confirmación agrega una comprobación NULL para 'stream_status' en la función 'planes_changed_for_existing_stream'. Anteriormente, el código asumía que 'stream_status' podía ser nulo, pero no manejaba el caso en el que realmente era nulo. Esto podría llevar a una desreferencia de puntero nulo. Reportado por smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 error planes_changed_for_existing_stream(): anteriormente asumimos que 'stream_status' podía ser nulo (ver línea 3774)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-49912 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-49912 changed 2026-06-17 | Public domain |