CVE-2024-53084

drm/imagination: Break an object reference loop

Medium · published November 19, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
8.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.1th percentile
Published
2024-11-19T17:45Z
EPSS history
Timeline
  • 19 NOV 17:45Z
    drm/imagination: Break an object reference loop
    cvelistv5