Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4568192ybe; Mon, 16 Sep 2019 14:37:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxS1DfTzR2N95Q5Epd2yKHbXRdcAzBWB4Cfppe3c912dPsVZ8g3PGIb1uOHw/QmWNTBGV4M X-Received: by 2002:a17:906:85c8:: with SMTP id i8mr2001329ejy.178.1568669821359; Mon, 16 Sep 2019 14:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568669821; cv=none; d=google.com; s=arc-20160816; b=vdOlDD4PbyyoS+o+XiGCIATmwrHCIJrf9yzD7NBfffRITn4Zh+egLbb3xDvOM1uiHo /k00OvsxMl8aexFcZlKSh04F1WJZntyR3p772fsu05SwTrEQx9uj1wXRRrp5VSNoWwzH QfkpuI47NVZrnUNwwujFBzYaMOlvLkj18ffAq55X55MeDc0JbUB4wU8THyheHLMNpQtG SX3khOVYAjAmmjzymXH55mEsistB8pbIGvspO8AEqKXjjZj770D022hXda+lRvmDV1B3 VzMCDJWT+Nz96QQbY+twSTRr/iaZYZk2UIM5gOYko0dLpzEmk/j9iSvMCntcnLaXf5Gc DK0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+y4AkvsKSUe07hNkypQ1HfKQPXtAqApgQQ2c6pYsyvM=; b=xX7VKjPVceIGhlqCAg7tgScbYWWIELrnn6qEf7xxs3sXQC49xCJKwGlsqqJuprKXd6 j0fXh+NvxR+/oNbUuS04sUXD/FoPSDC1q3CtPk3sYwPKmpm27BQEmaPp4BOcg2AdQ+lv Qr1WFs4FBhy0gbcUTAysqzr08OMMQIAoH+OiLZVme6KgaF0hkeDrqixq5wcMoR/RfERG DZtOjBqlWQ00BHs9OVQ8pGCbJ0NG7Tc6sfUetWN+R3uhoVQDXeeg2e/AKXopzsTvW+KR uEO3iA/2vZKRvgAM2RwCoIc5LtIS3pH9xA/xGqTUWGK9kLWTithaVmeTPPYCeU2Ti1Xj CNcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=r4xQx2sZ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z55si189235edz.254.2019.09.16.14.36.37; Mon, 16 Sep 2019 14:37:01 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=r4xQx2sZ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389140AbfIPP3v (ORCPT + 99 others); Mon, 16 Sep 2019 11:29:51 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:34716 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727374AbfIPP3v (ORCPT ); Mon, 16 Sep 2019 11:29:51 -0400 Received: by mail-pg1-f194.google.com with SMTP id n9so218192pgc.1 for ; Mon, 16 Sep 2019 08:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+y4AkvsKSUe07hNkypQ1HfKQPXtAqApgQQ2c6pYsyvM=; b=r4xQx2sZTsVMGJQTG+yP4K5+89JMjruqVFAgOZPhHjy/5EkjLo1a+GA6OjtG8UcSAO fvBhCoNTRyRrS6Ofwjw+bvMrNKaGQkXc1Uuk9sFidnQFMWlNE0jPWFEhejNhE6IvaJDA m8mYa79vRNAwdeqXH6tiYsmBklPEU+vPM4OCoAjyp7c701HPMbeM0QF1B66YfF2EoD9T jI7RZ2FLOTYh61RKVmjkGCq1L0resvYIZdl0COVppwxBXUik4hh127syb1lEODBawtYR qyXRY5d02OFbdtt7s3xfzuwme6NwGVVbYTa7Q3Z9JbUNYkHgmsdHlsyLIRnbvKyrewHR kZig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+y4AkvsKSUe07hNkypQ1HfKQPXtAqApgQQ2c6pYsyvM=; b=eQ7acYTrEP6xruAJBgkVhnp4jzXqYnO9tvqVuuUm+i03GnuhWGCSIpYv2ssiYJn/Yf VFbLqb1GMK/KM5/5OWHCWPwWecBtLhigm1pBzR0bqS3U2Iz5NPvP855rTmJdQe0+XyCb c1AEz5qXuvgC57UTDBiixt5XmavGp1F25hQOTvO4CeYg/L3Ybt1dH8KlUfxc7/4IEK+k Pr/CO+DJUJCiG5wfKhT+PCQy2x5i2BVDRWq/Yx785KovYBlZxLw7spohIy3fSpIqj1mQ 0FsqI0syf7NNJfL4lZ9ssp/YG4obkGRgXC6GG/wucLad13h3lO9Pxva6ZUTW3dTMfu62 TLDA== X-Gm-Message-State: APjAAAXQcDYbgVy0VlToNqgocYNR+ryJ2gxI1srGP6QUQImy9coPSuPi pvaqjRpRP2onopYS5+yw1a5XaIiGENPVt112NP4xFg== X-Received: by 2002:a17:90a:1990:: with SMTP id 16mr278460pji.47.1568647790078; Mon, 16 Sep 2019 08:29:50 -0700 (PDT) MIME-Version: 1.0 References: <0000000000004fb020059274a5ff@google.com> In-Reply-To: From: Andrey Konovalov Date: Mon, 16 Sep 2019 17:29:39 +0200 Message-ID: Subject: Re: INFO: rcu detected stall in dummy_timer To: Alan Stern Cc: syzbot , Felipe Balbi , chunfeng.yun@mediatek.com, Greg Kroah-Hartman , LKML , USB list , syzkaller-bugs , Dmitry Vyukov 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 On Fri, Sep 13, 2019 at 10:35 PM Alan Stern wrote: > > On Fri, 13 Sep 2019, syzbot wrote: > > > syzbot has found a reproducer for the following crash on: > > > > HEAD commit: f0df5c1b 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=1146550d600000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=5c6633fa4ed00be5 > > dashboard link: https://syzkaller.appspot.com/bug?extid=b24d736f18a1541ad550 > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11203fa5600000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=162cd335600000 > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+b24d736f18a1541ad550@syzkaller.appspotmail.com > > > > yurex 3-1:0.101: yurex_interrupt - unknown status received: -71 > > yurex 5-1:0.101: yurex_interrupt - unknown status received: -71 > > yurex 6-1:0.101: yurex_interrupt - unknown status received: -71 > > rcu: INFO: rcu_sched self-detected stall on CPU > > Andrey: > > This problem may be a result of overloading dummy_timer. The kernel > config you are using has CONFIG_HZ=100, but dummy-hcd needs > CONFIG_HZ=1000 (see the comment on line 1789). That is, lower values > of HZ will occasionally lead to trouble, and this may be an example. > > Can you change the config value for HZ and see if the bug still > reproduces? Hi Alan, I've tried running the reproducer with CONFIG_HZ=1000 and still got the same stall message. It's accompanied by countless "yurex 6-1:0.101: yurex_interrupt - unknown status received: -71" messages, so I believe this is an issue in the yurex driver. Why does dumy_hcd require CONFIG_HZ=1000? The comment doesn't really explain the reason. Thanks!