media: davinci: vpif: fix use-after-free on driver unbind
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | media: davinci: vpif: fix unbalanced runtime PM getdrivers/ | +1 | 1 reply | |
| 2/4 | media: davinci: vpif: fix unbalanced runtime PM enabledrivers/ | +9 | 2 replies | |
| 3/4 | media: davinci: vpif: fix use-after-free on driver unbinddrivers/ | +71 | 1 reply | |
| 4/4 | media: davinci: vpif: drop probe printkdrivers/ | +0 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Lad Prabhakar |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] media: davinci: vpif: fix use-after-free on driver unbind
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(-)
Signature · 1 line
2.32.0