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=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 4E6A5C3F2D6 for ; Fri, 28 Feb 2020 12:50:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31B03246A3 for ; Fri, 28 Feb 2020 12:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbgB1MuO (ORCPT ); Fri, 28 Feb 2020 07:50:14 -0500 Received: from mail-il1-f198.google.com ([209.85.166.198]:56156 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725884AbgB1MuO (ORCPT ); Fri, 28 Feb 2020 07:50:14 -0500 Received: by mail-il1-f198.google.com with SMTP id w62so3152843ila.22 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=tWaNIg+BXiQ6SIBHk7xuGOPEGQouqh1ic5YDQ8grK+HzRWvSB+i569v91BvIHVEqsm vdUdtqQ9h0xGfyxxePUCBQbI4XT4ajpKznu0XuNyjixey2ukVBAIGKoiT7UAZGfOtz62 eLHi29sMrpf5Dgb3UD9bARQazcW/JAhNqO/cRkbljD/5Y2dF7vI4+Gad6DuOdZrFjdab HiE0HmCAGQ4LsLc+gt+GaUtnmNdrNADsm3Mvj1tsfbAli5Yv7FWwSTOO8UCDXIWyHHbY yB8fSZCn18YG1D1MEQTREr6ZAntHt5OXa0dVvauuE1zSL0hnIU9Z9QeE4TxYyJH2q08q QMWQ== X-Gm-Message-State: APjAAAVgGRhM04aTgvvlikJHTFKz4CFRd4nd6wFciBs43gtWmoyf735a tAlC6n//dNlbSlS5d2/8vXDrixeiK9O038bBJ7v25o666SVq 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-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=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