From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64F72C3F2D3 for ; Fri, 28 Feb 2020 12:50:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4884B246AF for ; Fri, 28 Feb 2020 12:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726700AbgB1MuP (ORCPT ); Fri, 28 Feb 2020 07:50:15 -0500 Received: from mail-il1-f199.google.com ([209.85.166.199]:36478 "EHLO mail-il1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgB1MuO (ORCPT ); Fri, 28 Feb 2020 07:50:14 -0500 Received: by mail-il1-f199.google.com with SMTP id d22so3224570ild.3 for ; Fri, 28 Feb 2020 04:50:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=oqhhv1XjJHQ2T1zWZjc9yf8VhjjCLqsDFW+4Y2HXbcM=; b=cXOc+WVzZr7WIW8sy1UIkXi96muYwyco65y8zAhxnni9G15YAnTAWg0aHIILdUZKSs cy1kBFsP+sm7zNPIwaxUFkfXgJ2cR/PJmE11uU7mfu9Mo0BOsq+wks2eO/REKJKa8fF5 lG0tiq/34ZqQVgZ91vXZTWNLOxnHlGnnX7QRww5oIYXx1X1rwnUcL4etUumvENAYJ1BF Km5gpOxBesx4RPqPEu6YJ/NDOmArFAGzbFQmoaIIre+OO8LZvO0Pv9yuKil3TksnWSK1 w41IE5Z3r4UQCidFJTGjd2arJJfejWdM8fS2VWOCWGBy1WooVdyuZsUItLYUqsZOgxvH /bSg== X-Gm-Message-State: APjAAAXuxqkDMFGzhWjV+EI68hL3mngE7e224xS1wXRK5cXMeZGGNi/N 1CRG7/w/zIkkxYuIXdIEa2owLBWcbtWHas1zgOpL4KotyG22 X-Google-Smtp-Source: APXvYqxcv/yMzxG5tAuDiZNSnFqyaEfrAWY0P2rcXUkwBdyaWlgbeg0Q7pPNDp7mz7q814h8gj2ljmOsw1UAtDXDTsNB8rLul5yG MIME-Version: 1.0 X-Received: by 2002:a92:798d:: with SMTP id u135mr4351064ilc.49.1582894212469; Fri, 28 Feb 2020 04:50:12 -0800 (PST) Date: Fri, 28 Feb 2020 04:50:12 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000040573d059fa2474f@google.com> Subject: BUG: bad host security descriptor; not enough data (1 vs 5 left) From: syzbot To: andreyknvl@google.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: d6ff8147 usb: gadget: add raw-gadget interface git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=159c5d29e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=90a3d9bed5648419 dashboard link: https://syzkaller.appspot.com/bug?extid=52be5a94ed1c3d6bf9ce compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12c172c3e00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1461ee65e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+52be5a94ed1c3d6bf9ce@syzkaller.appspotmail.com usb 1-1: config 0 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 4 usb 1-1: New USB device found, idVendor=13dc, idProduct=56fc, bcdDevice=40.15 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 1-1: config 0 descriptor?? hwa-hc 1-1:0.0: Wire Adapter v106.52 newer than groked v1.0 usb 1-1: BUG: bad host security descriptor; not enough data (1 vs 5 left) usb 1-1: supported encryption types: usb 1-1: E: host doesn't support CCM-1 crypto hwa-hc 1-1:0.0: Cannot initialize internals: -19 --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches