diff options
author | Oliver Neukum <oneukum@suse.com> | 2019-08-08 16:21:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-15 14:49:16 +0200 |
commit | c52873e5a1ef72f845526d9f6a50704433f9c625 (patch) | |
tree | 136da6da0627fede8a7afd52da66423eca351d48 /crypto/poly1305_generic.c | |
parent | 303911cfc5b95d33687d9046133ff184cf5043ff (diff) | |
download | linux-c52873e5a1ef72f845526d9f6a50704433f9c625.tar.bz2 |
usb: cdc-acm: make sure a refcount is taken early enough
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)")
Cc: stable <stable@vger.kernel.org>
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>
Diffstat (limited to 'crypto/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions