CVE-2024-53060 drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported

Medium 5.5 Published Updated

A null pointer dereference in the amdgpu driver can cause a system crash when ATIF is unsupported, requiring a kernel patch.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53060?

CVE-2024-53060 is a medium-severity vulnerability in Linux kernel, published on 19 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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)

Weakness: CWE-476

Which versions are affected by CVE-2024-53060?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53060?

Apply the vendor's patch.

Is CVE-2024-53060 being exploited?

There is no known exploitation of CVE-2024-53060 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-53967, AZL-53981, BELL-CVE-2024-53060, DEBIAN-CVE-2024-53060, GHSA-r9m7-7gg7-9ppr, UBUNTU-CVE-2024-53060.

Is CVE-2024-53060 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free