]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: uvcvideo: Fix access to uninitialized fields on probe error
authorOliver Neukum <oneukum@suse.com>
Tue, 30 Apr 2019 12:28:14 +0000 (08:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:12:33 +0000 (09:12 +0200)
commit22b193c0c822fc624b133091c3fceffe3e81825c
treeea8749aa21b6b47f405b0b711d039900e7d8d2cf
parentd47f5d1540ae9e4b1bb8b4251d0c8dca015ca4a5
media: uvcvideo: Fix access to uninitialized fields on probe error

[ Upstream commit 11a087f484bf15ff65f0a9f277aa5a61fd07ed2a ]

We need to check whether this work we are canceling actually is
initialized.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+2e1ef9188251d9cc7944@syzkaller.appspotmail.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/uvc/uvc_ctrl.c