The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [media] st-hva: potential null pointer dereference in hva_hw_its_irq_thread()
@ 2020-09-18  7:40 Evgeny Novikov
  0 siblings, 0 replies; only message in thread
From: Evgeny Novikov @ 2020-09-18  7:40 UTC (permalink / raw)
  To: Jean-Christophe Trotin
  Cc: Mauro Carvalho Chehab, linux-media, linux-kernel, ldv-project-org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-18  7:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-18  7:40 [media] st-hva: potential null pointer dereference in hva_hw_its_irq_thread() Evgeny Novikov

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