[ldv-project] [media] st-hva: potential null pointer dereference in hva_hw_its_irq_thread()

Evgeny Novikov novikov at ispras.ru
Fri Sep 18 10:40:02 MSK 2020


If ctx_id >= HVA_MAX_INSTANCES in hva_hw_its_irq_thread(), it dereferences
ctx that is initialized to NULL.

I can not provide the patch since I do not know the logic of the driver
and I have not a capability to test it.

Found by Linux Driver Verification project (linuxtesting.org).

-- 
Best regards,
Evgeny Novikov



More information about the ldv-project mailing list