drm/v3d: Prevent out of bounds access in performance query extensions
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 |
|
|
6.10.146.11.36.12In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Prevent out of bounds access in performance query extensions
Check that the number of perfmons userspace is passing in the copy and reset extensions is not greater than the internal kernel storage where the ids will be copied into.
From the CVE record · Linux
The Linux kernel’s drm/v3d performance query copy and reset extensions did not check whether a userspace-supplied perfmon count exceeded the kernel’s internal storage for IDs. A local userspace caller could trigger out-of-bounds access by supplying an oversized count; the input does not specify authentication requirements.
Engineers running Linux kernels with the drm/v3d component should check whether their kernel includes the fix; affected versions are not specified.