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 autolearn=unavailable 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 31CC2C35671 for ; Mon, 24 Feb 2020 13:28:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 102882080D for ; Mon, 24 Feb 2020 13:28:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727460AbgBXN2K (ORCPT ); Mon, 24 Feb 2020 08:28:10 -0500 Received: from mail-il1-f200.google.com ([209.85.166.200]:40015 "EHLO mail-il1-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbgBXN2K (ORCPT ); Mon, 24 Feb 2020 08:28:10 -0500 Received: by mail-il1-f200.google.com with SMTP id m18so18363485ill.7 for ; Mon, 24 Feb 2020 05:28:10 -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=NdXzwTxsYE7lPypqKfg8VI+A23wMd8ir8/7mmStWt7k=; b=Y5159shKgUdynhJJbYmh4gB2DXyjknnYufBm4fgNHnjR9zv0jxZtnnov1bCFeqBrph VqlJn7laLp4I5wwgfQTW+WGKB/UUTJwAcpXBfrbYWao6B7gaKLX+JvooT7y30iYWLcAd CmaiYRSu5nsvsVeuMcg3nmdn5loc4vSDBibKfC7qj+3WtQ1IrFDGJUCjVJkf+8XI6coT 8vTuFnY6XLdCvl598mWJgBTg9TpYWw1j+DVMGHvVNeZbdt3p73PO2a2ExArUql4c9Hy5 zR0wdpBwfLfGDbLR+Cq0vytffU43T27I5CFGghsERuNb7dz6aHOhXvWLThaLdC7hY4b8 fBAg== X-Gm-Message-State: APjAAAXnSJ7gj4BAC/JyNwDBoYoMkGFoqJ6YUgZE5OJsfH7o3Z67Rgdl dY4EhScIxmKm40HO+3edw9P0ZzAjPBUEoXI2L9xQ0zxI8DjU X-Google-Smtp-Source: APXvYqweyiNUVJGTJoX5ERMX8NHJ8mNoRsKvSYNdHnsdQBG9TPmhkHb1wEBwR6Hp44QzW3GOSbiloznyeIhCS0xwfz4n68Lt8fqx MIME-Version: 1.0 X-Received: by 2002:a5e:da42:: with SMTP id o2mr49041886iop.125.1582550889689; Mon, 24 Feb 2020 05:28:09 -0800 (PST) Date: Mon, 24 Feb 2020 05:28:09 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009e7712059f5257af@google.com> Subject: BUG: bad host encryption descriptor; descriptor is too short (3 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-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: 307a2623 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=13fa7a29e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=cf0c83d9cbd23d52 dashboard link: https://syzkaller.appspot.com/bug?extid=069037c83014b5536cb7 compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12acfe09e00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1613d1b5e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+069037c83014b5536cb7@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 (3 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