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 5D4FDC3F2D1 for ; Fri, 28 Feb 2020 12:50:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B89C246A3 for ; Fri, 28 Feb 2020 12:50:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726400AbgB1MuO (ORCPT ); Fri, 28 Feb 2020 07:50:14 -0500 Received: from mail-il1-f199.google.com ([209.85.166.199]:43899 "EHLO mail-il1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbgB1MuO (ORCPT ); Fri, 28 Feb 2020 07:50:14 -0500 Received: by mail-il1-f199.google.com with SMTP id o13so3186509ilf.10 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=LM0FCJ+4KrKjYVOZD9eoAK5J6A6SqATe6bP4uXW+GrE=; b=IGQhU4iz+vxXg6C9/DFA2Jp8vX8Gjz+sW6GXWpnCUQ7XYQfEvocTYzNOEHlYFCbY8Z lkCo5d0KIFeaCrDIWyLIzKYeXFit8lsVdF1hqqDgfMhWFDPT+JhpD2noE6U/UXqlLyTI UOQf386T/6CoC/uy+fXlkUZo5a54uLXiDEkY+CNHzI5N7w60UF1d2KVbzOx+JGrtwDVe 9Uep8ss5VVlgRwyFhoiXHZp16hQLHaD1uINR02RWF8vJRpDimV6DG0ULkqClYIIzccdJ EaAnDH0b2vum9/r5zWdC4rLGtbwnHAGupLR1BtbSCCYVCo18ywClymD3F8H4abFmLSmw iRXg== X-Gm-Message-State: APjAAAXeDHtze2f9QgVkVPUUM9qxBHNdsC+CHhTUAKKAS7lKXKPVpVcd gv4d936hD2jBS4CcY/6sFAMbCnwug7nS3c0jIJ5qOKGVNxuo X-Google-Smtp-Source: APXvYqxnMG6CtbOph8kuz2jwfpOW0Zu/YcDE6V5G5am9WB6BuxUgsYwXeKWXvnB/UGn07sYo/1n/FMXRxI/O/GmPWBw6RPG3Yb6r MIME-Version: 1.0 X-Received: by 2002:a5d:8143:: with SMTP id f3mr3173932ioo.12.1582894212180; 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: <0000000000003bf3fb059fa247eb@google.com> Subject: BUG: bad host encryption descriptor; descriptor is too short (1 vs 5 needed) 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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=15cd9a81e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=90a3d9bed5648419 dashboard link: https://syzkaller.appspot.com/bug?extid=2470d4931705e03b0977 compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15cfbd09e00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=170e3645e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+2470d4931705e03b0977@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=5611, 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 encryption descriptor; descriptor is too short (1 vs 5 needed) 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