drm/v3d: Fix potential memory leak in the timestamp extension
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Fix potential memory leak in the timestamp extension
If fetching of userspace memory fails during the main loop, all drm sync objs looked up until that point will be leaked because of the missing drm_syncobj_put.
Fix it by exporting and using a common cleanup helper.
(cherry picked from commit 753ce4fea62182c77e1691ab4f9022008f25b62e)
From the CVE record · Linux
The Linux kernel’s drm/v3d timestamp extension can leak DRM sync objects if fetching userspace memory fails during its main loop. The input does not specify whether triggering this requires authentication or user interaction, or whether it can be done over a network.
Engineers running Linux kernels with the drm/v3d component should check their versions against the vendor advisory; affected versions are not specified.