Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2832932pxb; Mon, 19 Apr 2021 15:27:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBan4BnQZYz6TBfOpianpFw8N60XGSzjIB3YW81Q7dWApxjnQGZPM9qoODQFwWiRS0VaWr X-Received: by 2002:a17:90a:f292:: with SMTP id fs18mr1416835pjb.142.1618871237583; Mon, 19 Apr 2021 15:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618871237; cv=none; d=google.com; s=arc-20160816; b=I9PagzqY6WY3DwA0DE+Xq8OPZ/WB1wu3kmHNNqNuIkf2w6ph5QO21nUcldvMTMg3/b o5dOCU/fsg3sGI+6+j0qZ51LHm18IUqy6QRtiC4LFTRwEUPk9JL0RZu9KGdinHu39gVo IUKJePpEpDXMsn9p2dbRv36kK5YkmCNzQOgLHAZ8/qJuwy4ffDZMENXeXsPqDZ3GmgBS nh8EmjmHE+hn16LqGuOmtv1GK/4/VlvrJP3f6yLnG8pzss7jlFgPi+3YAZfjH3736Gbu wWiDj10dWzfO5HHn+Ah2YSbembJoEqcfd0lGw6sLEKPWhrCSVL4wbCZUozNfIujy68uB yxng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:hvs-prefix:hvs-classificationid:content-language :accept-language:message-id:date:thread-index:thread-topic:cc:to :from:content-transfer-encoding:mime-version:subject; bh=eMIoB2RRI4UzNitGLg5aA4eMm176F5KxPCX3wBGMisQ=; b=SLmpO9czCBPc+yxoWhbuxd7kBao0zYVs3MOO6i56AGdQfERkxxU91Z6KCrETdKuXgl RAn/xsKlf9kZbmSUx9usYzWLPDblK4l564qRcsuZPr9j1gLu/P9oqOzkEL4AycjiSYJh rgzDroE15zZwlbaIzo6Kzv2tm+MHbBrg5/854fP5aU5YkayKjsuNSAF3nAavq0YNTztV /t997AubQru7eWjegvOpKHM1MLBaxGXrrY5S4YWkbKdI3rkUrzWS1S9uwU76TWNlOQcM oRlPmoRMT8pT4FAGTydubmqB8hy22KobRa3RPhB00XWMsypWcz/I8cDoFDGuHCDIFeLx 0iRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si813343pju.131.2021.04.19.15.27.05; Mon, 19 Apr 2021 15:27:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239618AbhDSVME convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Apr 2021 17:12:04 -0400 Received: from mail02.rohde-schwarz.com ([80.246.32.97]:19666 "EHLO mail02.rohde-schwarz.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238515AbhDSVMB (ORCPT ); Mon, 19 Apr 2021 17:12:01 -0400 X-Greylist: delayed 906 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Apr 2021 17:12:01 EDT Received: from amu316.rsint.net (10.0.26.65) by mail-emea.rohde-schwarz.com (172.21.64.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.858.5; Mon, 19 Apr 2021 22:56:21 +0200 Subject: RE: Re: [syzbot] INFO: rcu detected stall in tx MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Received: from GMU419.rsint.net ([10.0.230.184]) by amu316.rsint.net (Totemo SMTP Server) with SMTP ID 935; Mon, 19 Apr 2021 22:56:21 +0200 (CEST) Received: from GMU008.rsint.net (10.0.2.29) by GMU419.rsint.net (10.0.230.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2106.2; Mon, 19 Apr 2021 22:56:20 +0200 Received: from GMU006.rsint.net (10.0.2.28) by GMU008.rsint.net (10.0.2.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Mon, 19 Apr 2021 22:56:19 +0200 Received: from GMU006.rsint.net ([fe80::81e7:6ea1:2437:698b]) by GMU006.rsint.net ([fe80::81e7:6ea1:2437:698b%12]) with mapi id 15.01.2106.013; Mon, 19 Apr 2021 22:56:19 +0200 From: Guido Kiener To: Dmitry Vyukov , syzbot , Greg Kroah-Hartman , "dpenkler@gmail.com" , "lee.jones@linaro.org" , USB list CC: "bp@alien8.de" , "dwmw@amazon.co.uk" , "hpa@zytor.com" , "linux-kernel@vger.kernel.org" , "luto@kernel.org" , "mingo@redhat.com" , "syzkaller-bugs@googlegroups.com" , "tglx@linutronix.de" , "x86@kernel.org" Thread-Topic: Re: [syzbot] INFO: rcu detected stall in tx /cr/ Thread-Index: Adc1XknZ7zhjMD1QSUmt+svgS3FT2Q== Date: Mon, 19 Apr 2021 20:56:19 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-rus_sensitivity: 20 hvs-classificationid: da48e46a-4823-4cc6-82ac-f236c0a43172 hvs-prefix: R_S x-originating-ip: [10.0.9.40] X-IQAV: YES X-GBS-PROC: +DJ8kKkYTDukuJ4lFI4ki04klpYsn7OPmvMIdnipf6hSecQOT+7QKWO8vH/9sEC7U5e9EOsmtJhF90qtJrBQEXHU40BFnKrxlP+KvZ+Ho1C9FzvvTPX5rxAYlB+dOIG6 X-GBS-PROCJOB: HPGX6Ee7lplaR7o29OJF5HOEjxAtyKw3iamF7/sdi6z3MeNA3di9HyuyhcYbjutc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, The error is in usbtmc_interrupt(struct urb *urb) since five years. The status code EPROTO is not handled correctly. It's not a showstopper, but we should fix it and check the status code according to usbtmc_read_bulk_cb() or usb_skeleton.c. @Dave: Do you have time? Otherwise I can do it. @Greg: Is it urgent? - Guido -----Original Message----- From: Dmitry Sent: Monday, April 19, 2021 9:27 AM Subject: Re: [syzbot] INFO: rcu detected stall in tx On Mon, Apr 19, 2021 at 9:19 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 50987bec Merge tag 'trace-v5.12-rc7' of git://git.kernel.o.. > git tree: upstream > console output: > https://syzkaller.appspot.com/x/log.txt?x=1065c5fcd00000 > kernel config: > https://syzkaller.appspot.com/x/.config?x=398c4d0fe6f66e68 > dashboard link: > https://syzkaller.appspot.com/bug?extid=e2eae5639e7203360018 > > Unfortunately, I don't have any reproducer for this issue yet. > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+e2eae5639e7203360018@syzkaller.appspotmail.com > > usbtmc 5-1:0.0: unknown status received: -71 usbtmc 3-1:0.0: unknown > status received: -71 usbtmc 5-1:0.0: unknown status received: -71 The log shows an infinite stream of these before the stall, so I assume it's an infinite loop in usbtmc. +usbtmc maintainers [ 370.171634][ C0] usbtmc 6-1:0.0: unknown status received: -71 [ 370.177799][ C1] usbtmc 3-1:0.0: unknown status received: -71 [ 370.183912][ C0] usbtmc 4-1:0.0: unknown status received: -71 [ 370.190076][ C1] usbtmc 5-1:0.0: unknown status received: -71 [ 370.196194][ C0] usbtmc 2-1:0.0: unknown status received: -71 [ 370.202387][ C1] usbtmc 3-1:0.0: unknown status received: -71 [ 370.208460][ C0] usbtmc 6-1:0.0: unknown status received: -71 [ 370.214615][ C1] usbtmc 5-1:0.0: unknown status received: -71 [ 370.220736][ C0] usbtmc 4-1:0.0: unknown status received: -71 [ 370.226902][ C1] usbtmc 3-1:0.0: unknown status received: -71 [ 370.233005][ C0] usbtmc 2-1:0.0: unknown status received: -71 [ 370.239168][ C1] usbtmc 5-1:0.0: unknown status received: -71 [ 370.245271][ C0] usbtmc 6-1:0.0: unknown status received: -71 [ 370.251426][ C1] usbtmc 3-1:0.0: unknown status received: -71 [ 370.257552][ C0] usbtmc 4-1:0.0: unknown status received: -71 [ 370.263715][ C1] usbtmc 5-1:0.0: unknown status received: -71 [ 370.269819][ C0] usbtmc 2-1:0.0: unknown status received: -71 [ 370.275974][ C1] usbtmc 3-1:0.0: unknown status received: -71 [ 370.282100][ C0] usbtmc 6-1:0.0: unknown status received: -71 [ 370.288262][ C1] usbtmc 5-1:0.0: unknown status received: -71 [ 370.294399][ C0] usbtmc 4-1:0.0: unknown status received: -71 Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.