CVE-2024-53084 drm/imagination: Break an object reference loop

Medium 5.5 Published Updated

A reference loop in the Imagination DRM driver causes memory leaks during cleanup, potentially leading to resource exhaustion and denial of service.

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

CVE-2024-53084 is a medium-severity memory corruption 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/imagination: Break an object reference loop

When remaining resources are being cleaned up on driver close, outstanding VM mappings may result in resources being leaked, due to an object reference loop, as shown below, with each object (or set of objects) referencing the object below it:

PVR GEM Object GPU scheduler "finished" fence GPU scheduler “scheduled” fence PVR driver “done” fence PVR Context PVR VM Context PVR VM Mappings PVR GEM Object

The reference that the PVR VM Context has on the VM mappings is a soft one, in the sense that the freeing of outstanding VM mappings is done as part of VM context destruction; no reference counts are involved, as is the case for all the other references in the loop.

To break the reference loop during cleanup, free the outstanding VM mappings before destroying the PVR Context associated with the VM context.

Weakness: CWE-401

Which versions are affected by CVE-2024-53084?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53084?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-53084 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-53831, AZL-53948, BELL-CVE-2024-53084, DEBIAN-CVE-2024-53084, GHSA-7mjf-5rrm-399r, ROOT-OS-UBUNTU-2204-CVE-2024-53084 and 1 more.

Is CVE-2024-53084 in your software?

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

Check your SBOMs for free