diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2021-07-07 20:54:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-08 09:50:21 +0300 |
commit | 2f939f346edb7f57b1775120b78867fbdb254c5b (patch) | |
tree | cac3047c2ac5c5e0e8b6bd010f680620e97f8d60 /Makefile | |
parent | 26874d67198becb6f6ca91c65c3e2e426d771cfc (diff) | |
download | linux-2f939f346edb7f57b1775120b78867fbdb254c5b.tar.xz |
media: stkwebcam: fix memory leak in stk_camera_probe
commit 514e97674400462cc09c459a1ddfb9bf39017223 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions