CVE-2024-53060

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

State
Published
Severity
5.5 Medium
Published
Nov 19, 2024
Updated
May 11, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 58556dcbd5606a5daccaee73b2130bc16b48e025 to before ce8a00a00e36f61f5a1e47734332420b68784c43Affected
  • 43b4fa6e0e238c6e2662f4fb61d9f51c2785fb1d to before 8d7a28eca7553d35d4ce192fa1f390f2357df41bAffected
  • 234682910971732cd4da96fd95946e296e486b38 to before 2ac7f253deada4d449559b65a1c1cd0a6f6f19b7Affected
  • 6032287747f874b52dc8b9d7490e2799736e035f to before 27fc29b5376998c126c85cf9b15d9dfc2afc9cbeAffected
  • cd67af3c1762de4c2483ae4dbdd98f9ea8fa56e3 to before 1a9f55ed5b512f510ccd21ad527d532e60550e80Affected
  • 975ede2a7bec52b5da1428829b3439667c8a234b to before a613a392417532ca5aaf3deac6e3277aa7aaef2bAffected
  • 1d7175f9c57b1abf9ecfbdfd53ea760761f52ffe to before b9d9881237afeb52eddd70077b7174bf17e2fa30Affected
  • bf58f03931fdcf7b3c45cb76ac13244477a60f44 to before a6dd15981c03f2cdc9a351a278f09b5479d53d2eAffected
LinuxLinux
  • 4.19.323 to before 4.19.324Affected
  • 5.4.285 to before 5.4.286Affected
  • 5.10.229 to before 5.10.230Affected
  • 5.15.170 to before 5.15.172Affected
  • 6.1.115 to before 6.1.117Affected
  • 6.6.59 to before 6.6.61Affected
  • 6.11.6 to before 6.11.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.