CVE-2024-53084: drm/imagination: Break an object reference loop
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53084?
CVE-2024-53084 has a moderate severity level due to potential resource leakage.
How do I fix CVE-2024-53084?
To fix CVE-2024-53084, upgrade the Linux kernel to version 6.12 or later.
Which Linux kernel versions are affected by CVE-2024-53084?
CVE-2024-53084 affects Linux kernel versions up to 6.11.8 and several 6.12 release candidates.
What risks are associated with CVE-2024-53084?
The risks associated with CVE-2024-53084 include potential memory leaks that could impact system stability.
Is CVE-2024-53084 specific to certain distributions of Linux?
CVE-2024-53084 is a vulnerability found in the Linux kernel itself and can affect any distribution utilizing the affected versions.