5.5medium
drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported acpi_evaluate_object() may return AE_NOT_FOUND (failure), which would result in dereferencing buffer.pointer (obj) while being NULL. Although this case may be unrealistic for the current code, it is still better to protect against possible bugs. Bail out also when status is AE_NOT_FOUND. This fixes 1 FORWARD_NULL issue reported by Coverity Report: CID 1600951: Null pointer dereferences (FORWARD_NULL) (cherry picked from commit 91c9e221fe2553edf2db71627d8453f083de87a1)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 58556dcbd5606a5daccaee73b2130bc16b48e025 before ce8a00a00e36f61f5a1e47734332420b68784c43, from 43b4fa6e0e238c6e2662f4fb61d9f51c2785fb1d before 8d7a28eca7553d35d4ce192fa1f390f2357df41b, from 234682910971732cd4da96fd95946e296e486b38 before 2ac7f253deada4d449559b65a1c1cd0a6f6f19b7, from 6032287747f874b52dc8b9d7490e2799736e035f before 27fc29b5376998c126c85cf9b15d9dfc2afc9cbe, from cd67af3c1762de4c2483ae4dbdd98f9ea8fa56e3 before 1a9f55ed5b512f510ccd21ad527d532e60550e80, from 975ede2a7bec52b5da1428829b3439667c8a234b before a613a392417532ca5aaf3deac6e3277aa7aaef2b, from 1d7175f9c57b1abf9ecfbdfd53ea760761f52ffe before b9d9881237afeb52eddd70077b7174bf17e2fa30, from bf58f03931fdcf7b3c45cb76ac13244477a60f44 before a6dd15981c03f2cdc9a351a278f09b5479d53d2e and 7 more | CVE List |
| linux linux_kernel | before 4.19.324, from 4.20 before 5.4.286, from 5.5 before 5.10.230, from 5.11 before 5.15.172, from 5.16 before 6.1.117, from 6.2 before 6.6.61, from 6.7 before 6.11.8, 6.12 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
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/amdgpu: prevent NULL pointer dereference if ATIF is not supported acpi_evaluate_object() may return AE_NOT_FOUND (failure), which would result in dereferencing buffer.pointer (obj) while being NULL. Although this case may be unrealistic for the current code, it is still better to protect against possible bugs. Bail out also when status is AE_NOT_FOUND. This fixes 1 FORWARD_NULL issue reported by Coverity Report: CID 1600951: Null pointer dereferences (FORWARD_NULL) (cherry picked from commit 91c9e221fe2553edf2db71627d8453f083de87a1)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdgpu: evitar la desreferenciación de punteros NULL si no se admite ATIF acpi_evaluate_object() puede devolver AE_NOT_FOUND (error), lo que provocaría la desreferenciación de buffer.pointer (obj) mientras sea NULL. Aunque este caso puede ser poco realista para el código actual, sigue siendo mejor protegerse contra posibles errores. También se debe abandonar cuando el estado sea AE_NOT_FOUND. Esto soluciona 1 problema de FORWARD_NULL informado por Coverity Report: CID 1600951: Desreferencias de punteros nulos (FORWARD_NULL) (seleccionado de el commit 91c9e221fe2553edf2db71627d8453f083de87a1)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53060 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-53060 changed 2026-06-17 | Public domain |