summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2018-01-05 09:57:13 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 16:17:56 +0200
commitd62c8d80f84fa4c9dba0f61b27376339afde2f35 (patch)
tree956a7f97d12ab74f5da0df13511686d7dc31661f /drivers/media/platform/vsp1
parent53ba3526baad31528f72bd57bbc1b66378b60c3f (diff)
media: lgdt3306a: Fix a double kfree on i2c device remove
[ Upstream commit 94448e21cf08b10f7dc7acdaca387594370396b0 ] Both lgdt33606a_release and lgdt3306a_remove kfree state, but _release is called first, then _remove operates on states members before kfree'ing it. This can lead to random oops/GPF/etc on USB disconnect. Signed-off-by: Brad Love <brad@nextdimension.cc> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/platform/vsp1')
0 files changed, 0 insertions, 0 deletions