linux-stable/drivers/gpu
Bob Zhou 5594971e02 drm/amdgpu: add error handle to avoid out-of-bounds
commit 8b2faf1a4f upstream.

if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
be stop to avoid out-of-bounds read, so directly return -EINVAL.

Signed-off-by: Bob Zhou <bob.zhou@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-16 13:28:49 +02:00
..
drm drm/amdgpu: add error handle to avoid out-of-bounds 2024-06-16 13:28:49 +02:00
host1x gpu: host1x: Do not setup DMA for virtual devices 2024-05-17 11:43:52 +02:00
ipu-v3 gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id() 2023-03-11 16:43:44 +01:00
vga
Makefile