summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorVedang Nagar <quic_vnagar@quicinc.com>2025-05-19 10:12:21 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2025-07-03 12:02:43 +0300
commit49befc830daa743e051a65468c05c2ff9e8580e6 (patch)
tree3cd20a8bcac17a035f1bdfd3b33a876a12ab4504 /tools/perf/scripts/python/bin/stackcollapse-report
parent3200144a2fa4209dc084a19941b9b203b43580f0 (diff)
downloadlinux-49befc830daa743e051a65468c05c2ff9e8580e6.tar.xz
media: venus: Add a check for packet size after reading from shared memory
Add a check to ensure that the packet size does not exceed the number of available words after reading the packet header from shared memory. This ensures that the size provided by the firmware is safe to process and prevent potential out-of-bounds memory access. Fixes: d96d3f30c0f2 ("[media] media: venus: hfi: add Venus HFI files") Cc: stable@vger.kernel.org Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com> Co-developed-by: Dikshita Agarwal <quic_dikshita@quicinc.com> Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions