summaryrefslogtreecommitdiffstats
path: root/drivers/media/cec
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2021-07-07 19:54:30 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-07-22 14:01:55 +0200
commit514e97674400462cc09c459a1ddfb9bf39017223 (patch)
tree3abb5ba063365647a3fa5201b183ad855f3d22f1 /drivers/media/cec
parent7910c23d704794461aba7a72b07aae582496b781 (diff)
downloadlinux-stable-514e97674400462cc09c459a1ddfb9bf39017223.tar.gz
linux-stable-514e97674400462cc09c459a1ddfb9bf39017223.tar.bz2
linux-stable-514e97674400462cc09c459a1ddfb9bf39017223.zip
media: stkwebcam: fix memory leak in stk_camera_probe
My local syzbot instance hit memory leak in usb_set_configuration(). The problem was in unputted usb interface. In case of errors after usb_get_intf() the reference should be putted to correclty free memory allocated for this interface. Fixes: ec16dae5453e ("V4L/DVB (7019): V4L: add support for Syntek DC1125 webcams") Cc: stable@vger.kernel.org Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/cec')
0 files changed, 0 insertions, 0 deletions