diff options
| author | Pavel Skripkin <paskripkin@gmail.com> | 2021-03-02 02:01:52 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-17 16:07:21 +0100 |
| commit | 8e9e62fb49a5fae2500924c2d4b6c80b65bf9cd0 (patch) | |
| tree | 6c6b08379dd02139ca68251ebe9805cd2ec2929f /tools/perf/scripts/python | |
| parent | bc06115e1bfd393dd75adce5310e274cb10f5585 (diff) | |
USB: serial: io_edgeport: fix memory leak in edge_startup
commit cfdc67acc785e01a8719eeb7012709d245564701 upstream.
sysbot found memory leak in edge_startup().
The problem was that when an error was received from the usb_submit_urb(),
nothing was cleaned up.
Reported-by: syzbot+59f777bdcbdd7eea5305@syzkaller.appspotmail.com
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Fixes: 6e8cf7751f9f ("USB: add EPIC support to the io_edgeport driver")
Cc: stable@vger.kernel.org # 2.6.21: c5c0c55598ce
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
