Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7036934ybn; Mon, 30 Sep 2019 07:44:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNsidBgSFy0CqfFpj/y2jCXSYtoFXlclBWs0cprLarwOflqtqpgvVMcKgzqMJjC6AVzfrZ X-Received: by 2002:aa7:c759:: with SMTP id c25mr19792551eds.15.1569854655308; Mon, 30 Sep 2019 07:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569854655; cv=none; d=google.com; s=arc-20160816; b=FwVIKIiTV97FM+ZlW0lscD9SiUAoMFZCuv+XUDqOOUru6JgNjM6ZLn5G0fCR6Ci9P5 KnGOOdAgUgtP4YQQErmgAtN0SC353Kp4o09vBotEpOIg9Fu4RNhjmUIaIeiJ3B3TMfmX BnDtxkIByQNKWJim8GnW+mMOMVnF6aitpwzt6eNteIgiMokNQzqMKlH7QvxB1V1FTbmD mpjItjlr3j7dw+QVhigR3xLDTuxOd4VZccTKftkjppXQUQg2/nypn3+AGTx9pjARKO+C eRZ58G6RfugFFPiUZMc8oap5t1F9e4OcjtH97yIJqzZceElN1RCc/09xGPKsRwxNrDy4 OKKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :to:from:subject:message-id; bh=Igi93wcY6YLdhaxf51eajN45WmFtCndqGCjDbQ8eZZw=; b=IWK8Ai+hvBgwjceKMYEqYoSE3K1/rIwee1OOJzBvmcnkz6snj5qHGrD5qmdGYHolbW KcHwJsnsiEY+qKOLOLF/xNvYJcQDA0qTH4Bind89QF5rqOlHfoeUq8bVBYNdwZeWIXFN 0L4pgKl95Wike2MEE4zW8T3CUgwDXhJh4FqSKEurGg47ak8czAEUYlEmkpGdt8lNUXUj ojWGoEQ7VFRBahTxG80CesJ4ARwW+11l35bpxVDTzmUAbn978n7LG1fxmeCOue29SZ6k uvOKZdKEJOUsjfjbsir89cRf+LAXs2dvXmg3rY59ZMzUyTHbkfhCMN8ijs/W/lA8TgTE mmQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si6845063ejy.106.2019.09.30.07.43.49; Mon, 30 Sep 2019 07:44:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731719AbfI3On1 (ORCPT + 99 others); Mon, 30 Sep 2019 10:43:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:48436 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730809AbfI3On1 (ORCPT ); Mon, 30 Sep 2019 10:43:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9E6D4AE2A; Mon, 30 Sep 2019 14:43:24 +0000 (UTC) Message-ID: <1569853679.2639.4.camel@suse.com> Subject: Re: WARNING in _chaoskey_fill/usb_submit_urb From: Oliver Neukum To: syzbot , gustavo@embeddedor.com, andreyknvl@google.com, syzkaller-bugs@googlegroups.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Mon, 30 Sep 2019 16:27:59 +0200 In-Reply-To: <000000000000488dd305933945d2@google.com> References: <000000000000488dd305933945d2@google.com> Content-Type: multipart/mixed; boundary="=-pDbKljJr9HUl0bviT/pC" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-pDbKljJr9HUl0bviT/pC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Am Montag, den 23.09.2019, 07:31 -0700 schrieb syzbot: > Hello, > > syzbot found the following crash on: > > HEAD commit: e0bd8d79 usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=1452c6a1600000 > kernel config: https://syzkaller.appspot.com/x/.config?x=8847e5384a16f66a > dashboard link: https://syzkaller.appspot.com/bug?extid=f5349b421c6213d34ce2 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16342d45600000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=166769b1600000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+f5349b421c6213d34ce2@syzkaller.appspotmail.com #syz test: https://github.com/google/kasan.git e0bd8d79 --=-pDbKljJr9HUl0bviT/pC Content-Disposition: attachment; filename="0001-USB-chaoskey-fix-error-case-of-a-timeout.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0001-USB-chaoskey-fix-error-case-of-a-timeout.patch"; charset="UTF-8" RnJvbSBiODBiMzlhMjU2NWE4MGYxNmNlMDA3OTgyYmFiZTc1M2UyMjVlYTgzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBPbGl2ZXIgTmV1a3VtIDxvbmV1a3VtQHN1c2UuY29tPgpEYXRl OiBNb24sIDMwIFNlcCAyMDE5IDE1OjE5OjEzICswMjAwClN1YmplY3Q6IFtQQVRDSF0gVVNCOiBj aGFvc2tleTogZml4IGVycm9yIGNhc2Ugb2YgYSB0aW1lb3V0CgpJbiBjYXNlIG9mIGEgdGltZW91 dCBjb21tdW5pY2F0aW9uIHdpdGggdGhlIGR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