[PATCH 01/11] drm/v3d: Prevent out of bounds access in performance query extensions

2024-07-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 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. Signed-off-by: Tvrtko Ursulin Fixes: bae7cb5d6800 ("drm/v3d: Create a CPU job extension for the reset

[PATCH 01/11] drm/v3d: Prevent out of bounds access in performance query extensions

2024-07-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 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. Signed-off-by: Tvrtko Ursulin Fixes: bae7cb5d6800 ("drm/v3d: Create a CPU job extension for the reset