[PATCH 0/4] media: davinci: vpif: fix use-after-free on driver unbind

Johan Hovold posted 4 patches 4 years, 6 months ago
drivers/media/platform/davinci/vpif.c | 111 +++++++++++++++++++-------
1 file changed, 81 insertions(+), 30 deletions(-)
[PATCH 0/4] media: davinci: vpif: fix use-after-free on driver unbind
Posted by Johan Hovold 4 years, 6 months ago
When scanning the tree for drivers that did not handle platform-device
registration failures properly I stumbled upon this driver, which also
failed to deregister device structures before freeing them.

Included are also some related runtime PM imbalance fixes and a printk
clean up.

Johan


Johan Hovold (4):
  media: davinci: vpif: fix unbalanced runtime PM get
  media: davinci: vpif: fix unbalanced runtime PM enable
  media: davinci: vpif: fix use-after-free on driver unbind
  media: davinci: vpif: drop probe printk

 drivers/media/platform/davinci/vpif.c | 111 +++++++++++++++++++-------
 1 file changed, 81 insertions(+), 30 deletions(-)

-- 
2.32.0