CVE-2024-53060

drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported

Medium · published November 19, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00258 · 16.6th percentile
Published
2024-11-19T17:22Z
EPSS history
Timeline
  • 19 NOV 17:22Z
    drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
    cvelistv5