[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211222142025.30364-1-johan@kernel.org>
Date: Wed, 22 Dec 2021 15:20:21 +0100
From: Johan Hovold <johan@...nel.org>
To: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hans.verkuil@...co.com>,
Kevin Hilman <khilman@...libre.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Johan Hovold <johan@...nel.org>
Subject: [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(-)
--
2.32.0
Powered by blists - more mailing lists