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 |
|
|
In 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.
(cherry picked from commit f32b5128d2c440368b5bf3a7a356823e235caabb)
From the CVE record · Linux
The Linux kernel's drm/v3d performance query extensions did not check whether the number of perfmon IDs supplied by userspace exceeded internal kernel storage. A local userspace caller could trigger an out-of-bounds access through a copy or reset extension.
Engineers running Linux kernels with the drm/v3d component should check their kernel's status; affected versions were not specified.