diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-10 14:58:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:17:06 +0100 |
commit | 8a927cbaf361e57671ea822b44048adf251d62a9 (patch) | |
tree | a66ffa630a95d0e29e112f6b67353608f6d0dbc1 /drivers/usb/class | |
parent | a1f27405201eb6268f82bf9f00631a3350ae2786 (diff) | |
download | linux-rt-8a927cbaf361e57671ea822b44048adf251d62a9.tar.gz |
USB: ldusb: fix memleak on disconnect
commit b14a39048c1156cfee76228bf449852da2f14df8 upstream.
If disconnect() races with release() after a process has been
interrupted, release() could end up returning early and the driver would
fail to free its driver data.
Fixes: 2824bd250f0b ("[PATCH] USB: add ldusb driver")
Cc: stable <stable@vger.kernel.org> # 2.6.13
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191010125835.27031-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions