Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3256739imm; Sun, 13 May 2018 07:30:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq7fFSBz+M7lfRGWPioQsYccL+hp0KtmIGoOwtMf3qOrh5ViFckOV4RRWg0gfuw31HJYSsY X-Received: by 2002:a62:8605:: with SMTP id x5-v6mr6741582pfd.103.1526221813102; Sun, 13 May 2018 07:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526221813; cv=none; d=google.com; s=arc-20160816; b=PJiiiFgR8/XCCOkIBVaHjLWHVeA5P9MsYZdnCzuhZpYbvC34tSqJcY2o3pM4LqzsIP hg6309XkZ+328kOoJTPMlYiPGAuok5u3BpN6xC08rKm2hbz69w7WgVLHALmsOVDylPch gnIuuB9pu6bN7PDF6wrPt/zEHVf78p9PI+8F9jL0XHkatFVROQAnsKWZ6JwZ/R0DZHz2 3hD0LxtUb60nQMcMfTyPY0Vz/DLY0GBBePnChbBe1i2ypx4qX4xzzmotY8fX6JWHB83O B2T7dADRC2ObAVUI0tgPFF62eW4Fo/wD0MRAJ+TxRpSRJqQEEI6vPIPLDV4hKl2hmVYB nbZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:date:message-id:in-reply-to :references:from:subject:cc:to:arc-authentication-results; bh=Q3HNMTjBc4eZ4UY4Xntm41sbIPLZn1F9FXuYu5hBQ+Q=; b=jnEqHh0mr+KLqrgUOlkaFBRNqlbBOEDBF2i+ojA7+jMy074v9y0/2J9y3SYbFoe4u0 KQt3W1rUf37JMhbS6MjvTfkC4ZZv78CYlQ2STCR3OLBsqJBy6U43aFM4V1FQC2rKrGt0 r73eQfPrZiVZzTW/bREaH//05OWjX7S31UCkeBsUdNx8jKTlzby160uqdfHjhG02LNhR RA/n3lxkPvKGVEQ9WcoVYYTqeaXVsn9Rif4b4He1alUJrTHlbjRgj5B5Kp2ENOGF5C4F pjqfQZ974lpfZkaVfBU1LJH4ZS77a+INsunO2ixSsXyOmx9yUJiQCRU6V9WpXi9Oy2RO GAXw== 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 c86-v6si7872719pfl.319.2018.05.13.07.29.56; Sun, 13 May 2018 07:30:13 -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 S1751596AbeEMO3q (ORCPT + 99 others); Sun, 13 May 2018 10:29:46 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:65257 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751295AbeEMO3p (ORCPT ); Sun, 13 May 2018 10:29:45 -0400 Received: from fsav302.sakura.ne.jp (fsav302.sakura.ne.jp [153.120.85.133]) by www262.sakura.ne.jp (8.14.5/8.14.5) with ESMTP id w4DEThJJ043925; Sun, 13 May 2018 23:29:43 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav302.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav302.sakura.ne.jp); Sun, 13 May 2018 23:29:43 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav302.sakura.ne.jp) Received: from AQUA (softbank126074194044.bbtec.net [126.74.194.44]) (authenticated bits=0) by www262.sakura.ne.jp (8.14.5/8.14.5) with ESMTP id w4DETgIg043919; Sun, 13 May 2018 23:29:42 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) To: ebiggers3@gmail.com Cc: bot+e38be687a2450270a3b593bacb6b5795a7a74edb@syzkaller.appspotmail.com, peter@hurleysoftware.com, dvyukov@google.com, gregkh@linuxfoundation.org, kstewart@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, pombredanne@nexb.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de Subject: Re: BUG: workqueue lockup (2) From: Tetsuo Handa References: <94eb2c03c9bc75aff2055f70734c@google.com> <001a113f711a528a3f0560b08e76@google.com> <20180512215222.GC817@sol.localdomain> <201805131106.GFF73973.OOtMVQFSFOJFHL@I-love.SAKURA.ne.jp> <20180513033220.GA654@sol.localdomain> In-Reply-To: <20180513033220.GA654@sol.localdomain> Message-Id: <201805132329.CEB90134.OFFSMHOFtVJQLO@I-love.SAKURA.ne.jp> X-Mailer: Winbiff [Version 2.51 PL2] X-Accept-Language: ja,en,zh Date: Sun, 13 May 2018 23:29:41 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric Biggers wrote: > Generally it's best to close syzbot bug reports once the original cause is > fixed, so that syzbot can continue to report other bugs with the same signature. That's difficult to judge. Closing as soon as the original cause is fixed allows syzbot to try to report different reproducer for different bugs. But at the same time, different/similar bugs which were reported in that report (or comments in the discussion for that report) will become almost invisible from users (because users unlikely check other reports in already fixed bugs). An example is general protection fault in kernfs_kill_sb (2) https://syzkaller.appspot.com/bug?id=903af3e08fc7ec60e57d9c9b93b035f4fb038d9a where the cause of above report was already pointed out in the discussion for the below report. general protection fault in kernfs_kill_sb https://syzkaller.appspot.com/bug?id=d7db6ecf34f099248e4ff404cd381a19a4075653 Since the latter is marked as "fixed on May 08 18:30", I worry that quite few users would check the relationship. > Note also that a "workqueue lockup" can be caused by almost anything in the > kernel, I think. This one for example is probably in the sound subsystem: > https://syzkaller.appspot.com/text?tag=CrashReport&x=1767232b800000 > Right. Maybe we should not stop the test upon "workqueue lockup" message, for it is likely that the cause of lockup is that somebody is busy looping which should have been reported shortly as "rcu detected stall". Of course, there is possibility that "workqueue lockup" is reported because cond_resched() was used when explicit schedule_timeout_*() is required, which was the reason commit 82607adcf9cdf40f ("workqueue: implement lockup detector") was added. If we stop the test upon "workqueue lockup" message, maybe longer timeout (e.g. 300 seconds) is better so that rcu stall or hung task messages are reported if rcu stall or hung task is occurring.