mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] Venus driver fixes to avoid possible OOB accesses
@ 2023-07-27  4:34 Vikash Garodia
  2023-07-27  4:34 ` [PATCH 1/4] venus: hfi: add checks to perform sanity on queue pointers Vikash Garodia
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vikash Garodia @ 2023-07-27  4:34 UTC (permalink / raw)
  To: stanimir.k.varbanov, bryan.odonoghue, agross, andersson,
	konrad.dybcio, mchehab, hans.verkuil, tfiga
  Cc: linux-media, linux-arm-msm, linux-kernel, stable, Vikash Garodia

This series primarily adds check at relevant places in venus driver where there
are possible OOB accesses due to unexpected payload from venus firmware. The
patches describes the specific OOB possibility.

Please review and share your feedback.

Vikash Garodia (4):
  venus: hfi: add checks to perform sanity on queue pointers
  venus: hfi: fix the check to handle session buffer requirement
  venus: hfi: add checks to handle capabilities from firmware
  venus: hfi_parser: Add check to keep the number of codecs within range

 drivers/media/platform/qcom/venus/hfi_msgs.c   |  2 +-
 drivers/media/platform/qcom/venus/hfi_parser.c | 27 ++++++++++++++++++++++++++
 drivers/media/platform/qcom/venus/hfi_venus.c  |  8 ++++++++
 3 files changed, 36 insertions(+), 1 deletion(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-07-28 21:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27  4:34 [PATCH 0/4] Venus driver fixes to avoid possible OOB accesses Vikash Garodia
2023-07-27  4:34 ` [PATCH 1/4] venus: hfi: add checks to perform sanity on queue pointers Vikash Garodia
2023-07-27 17:08   ` Konrad Dybcio
2023-07-28  7:56     ` Vikash Garodia
2023-07-27  4:34 ` [PATCH 2/4] venus: hfi: fix the check to handle session buffer requirement Vikash Garodia
2023-07-28 19:12   ` Nathan Hebert
2023-07-27  4:34 ` [PATCH 3/4] venus: hfi: add checks to handle capabilities from firmware Vikash Garodia
2023-07-28 21:14   ` Nathan Hebert
2023-07-27  4:34 ` [PATCH 4/4] venus: hfi_parser: Add check to keep the number of codecs within range Vikash Garodia
2023-07-27 17:11   ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®