CVE-2024-53133 drm/amd/display: Handle dml allocation failure to avoid crash

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's AMD display driver can cause a system crash due to double free errors during memory allocation failures.

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-53133?

CVE-2024-53133 is a high-severity use after free vulnerability in Linux kernel, published on 4 Dec 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/amd/display: Handle dml allocation failure to avoid crash

[Why] In the case where a dml allocation fails for any reason, the current state's dml contexts would no longer be valid. Then subsequent calls dc_state_copy_internal would shallow copy invalid memory and if the new state was released, a double free would occur.

[How] Reset dml pointers in new_state to NULL and avoid invalid pointer

(cherry picked from commit bcafdc61529a48f6f06355d78eb41b3aeda5296c)

Weakness: CWE-415

Which versions are affected by CVE-2024-53133?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53133?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-53133 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-54101, AZL-54105, BELL-CVE-2024-53133, DEBIAN-CVE-2024-53133, GHSA-3q5q-j6r6-cgv8, ROOT-OS-DEBIAN-11-CVE-2024-53133 and 3 more.

Is CVE-2024-53133 in your software?

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

Check your SBOMs for free