diff options
| author | Maíra Canal <mcanal@igalia.com> | 2026-11-18 18:47:28 -0300 |
|---|---|---|
| committer | Maíra Canal <mcanal@igalia.com> | 2026-11-19 10:40:54 -0300 |
| commit | 1fbbd14add401c70c178f0fa13016a3a53ef0de5 (patch) | |
| tree | 0ac304098c332369b17d56add289206d334a1f53 /scripts | |
| parent | 8f4557137542a343ce12ea5ca02b63e36f933cac (diff) | |
drm/vc4: Fix off-by-one in the shader record BO handle check
validate_gl_shader_rec() accepts a shader BO handle equal to
exec->bo_count, reading one entry past the end of exec->bo[] and
using it as a GEM object.
Reject handles that aren't below exec->bo_count.
Cc: stable@vger.kernel.org
Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patch.msgid.link/20261118-vc4-icache-workaround-v1-1-5b8adc2c84fe@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
