summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2019-08-08 16:21:19 +0200
committerBen Hutchings <ben@decadent.org.uk>2019-11-22 15:57:17 +0000
commit3a8f54a68c9868ddae64603f2ddee082c1737075 (patch)
tree182b95ab7c62fe9f047635090dcbde5bc687b769 /net
parent5dc88c0bd578c05e4b764bdb2606017995ff9724 (diff)
downloadlinux-stable-3a8f54a68c9868ddae64603f2ddee082c1737075.tar.gz
linux-stable-3a8f54a68c9868ddae64603f2ddee082c1737075.tar.bz2
linux-stable-3a8f54a68c9868ddae64603f2ddee082c1737075.zip
usb: cdc-acm: make sure a refcount is taken early enough
commit c52873e5a1ef72f845526d9f6a50704433f9c625 upstream. destroy() will decrement the refcount on the interface, so that it needs to be taken so early that it never undercounts. Fixes: 7fb57a019f94e ("USB: cdc-acm: Fix potential deadlock (lockdep warning)") Reported-and-tested-by: syzbot+1b2449b7b5dc240d107a@syzkaller.appspotmail.com Signed-off-by: Oliver Neukum <oneukum@suse.com> Link: https://lore.kernel.org/r/20190808142119.7998-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions