[PATCH 0/4] Venus driver fixes to avoid possible OOB accesses

Vikash Garodia posted 4 patches 2 weeks, 5 days ago
There is a newer version of this series
drivers/media/platform/qcom/venus/hfi_parser.c |  6 +++++-
drivers/media/platform/qcom/venus/hfi_venus.c  | 15 +++++++++++++--
2 files changed, 18 insertions(+), 3 deletions(-)
[PATCH 0/4] Venus driver fixes to avoid possible OOB accesses
Posted by Vikash Garodia 2 weeks, 5 days ago
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.

Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
---
Vikash Garodia (4):
      media: venus: hfi_parser: add check to avoid out of bound access
      media: venus: hfi_parser: avoid OOB access beyond payload word count
      media: venus: hfi: add check to handle incorrect queue size
      media: venus: hfi: add a check to handle OOB in sfr region

 drivers/media/platform/qcom/venus/hfi_parser.c |  6 +++++-
 drivers/media/platform/qcom/venus/hfi_venus.c  | 15 +++++++++++++--
 2 files changed, 18 insertions(+), 3 deletions(-)
---
base-commit: c7ccf3683ac9746b263b0502255f5ce47f64fe0a
change-id: 20241104-venus_oob-0343b143d61d

Best regards,
-- 
Vikash Garodia <quic_vgarodia@quicinc.com>