aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorVikash Garodia <[email protected]>2023-08-10 02:25:01 +0000
committerHans Verkuil <[email protected]>2023-10-23 10:24:52 +0000
commit5e538fce33589da6d7cb2de1445b84d3a8a692f7 (patch)
tree9711874d5bb3c921f44d3f041d03d23d240641cd /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentmedia: platform: cadence: select MIPI_DPHY dependency (diff)
downloadkernel-5e538fce33589da6d7cb2de1445b84d3a8a692f7.tar.gz
kernel-5e538fce33589da6d7cb2de1445b84d3a8a692f7.zip
media: venus: hfi: add checks to perform sanity on queue pointers
Read and write pointers are used to track the packet index in the memory shared between video driver and firmware. There is a possibility of OOB access if the read or write pointer goes beyond the queue memory size. Add checks for the read and write pointer to avoid OOB access. Cc: [email protected] Fixes: d96d3f30c0f2 ("[media] media: venus: hfi: add Venus HFI files") Signed-off-by: Vikash Garodia <[email protected]> Signed-off-by: Stanimir Varbanov <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions