Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2778562imm; Sat, 12 May 2018 20:30:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZouV3cwBz14AyP7dfVQGVCOaAeBIWbQTvvoWTjJa1I+jq0IVmOZP+wLlpaISmUZKM9FjUgc X-Received: by 2002:a17:902:aa04:: with SMTP id be4-v6mr4616907plb.20.1526182241895; Sat, 12 May 2018 20:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526182241; cv=none; d=google.com; s=arc-20160816; b=vDgF4hk4NC3f7nv1IhDzja90T1wELrZO8xq2KGUFAXuLwCtaAfQX1xL6LNViFT7Iu5 vBcQeU3GwXX7CSRb/WzBc7EVAkjPLmzZm8X3WT28UqTM2kfA29NyDUU0OquftM+iwKVE DH4/wZ2S9SX4i1fnTkPfoigJko8283k1fgKtuB4j06QIdmnpNEMcDghCuWdaLkpzjsKX AuuDv6Ivjlarje0Zo7o35juVBtV6pwHC/6GA3jGFxLIwPu13I7cRShE+MWwYDTQ21PfR 7/a1P/CG90Jc9+jP9sXxfGGxYBbNDgkKAsh/8EURWyT/k+KJnNgB5AJseJOrSdRMsUw2 0zCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=wyq+UBs+HhUlTV7lm6+PckFKzY5Gx19rcpj73dookzo=; b=uNT/ixteTe4l5xXMi/iuMKnNUuZo4AT7Q5nXEhXKs7EZS6KjiWr4AHBeiGll+o8SQT CCxVpsAXs3haVNqf7dvL3bbh6dJ9a4jCTb0YjLqL9AgGyDKdRDd16eaIiPhuY/Skwz8y YuHaxjkk/EjCt52xZyKucO2f+arlkfNU6SEehLRkFYPAB8XiTNbjGXbLkNPn5oCb8qBZ XtFYWGP0KPRY5tD5hjGKLye+hnvs4JzxwOrVUOYWyzW6lHy4BWmJhqNBtBF9GraUUVh9 rbpap/uJpLeJH+gmEL5CCwWD9kepIyqvQsfzWhfVPe+f1fhGIVv+p8PVBl1Oz0n6FGcu /uiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nCVQ2DDR; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e19-v6si3860478pgn.36.2018.05.12.20.30.26; Sat, 12 May 2018 20:30:41 -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=@gmail.com header.s=20161025 header.b=nCVQ2DDR; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbeEMDaR (ORCPT + 99 others); Sat, 12 May 2018 23:30:17 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:43905 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812AbeEMDaQ (ORCPT ); Sat, 12 May 2018 23:30:16 -0400 Received: by mail-pf0-f193.google.com with SMTP id j20-v6so4435241pff.10 for ; Sat, 12 May 2018 20:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wyq+UBs+HhUlTV7lm6+PckFKzY5Gx19rcpj73dookzo=; b=nCVQ2DDRmXn9iQaxzTw2LmGPAuZUQ7r9XkV+qxy5RPpkmxOi86Z8DTyoFjOjXiR20P 2qxcRSbWAazv6ZJq03IvngmsjuQPPewbK5YMo6+hdaWyGCIjrf8u503EL4a/QJ+8ta5h CfUhC2EX+8N2HJphhy4imMqUEqujtLmplmuRA5Lslxs69j0939uz1hJpxoyoqyKBEgaY j8WF0z/6rtIUwU2B8Y4rRp1ejBb4J8SJIG+MPmiyWGWeR9GFRDpcVMTQZZRvGUXlId5V 1YZ29Jgum/s/v1PTcDvIMMZCTY2YdkTdgx83lA8Pcwhs1AdNxgK/P7g5NzE6WGISbwa1 QCWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wyq+UBs+HhUlTV7lm6+PckFKzY5Gx19rcpj73dookzo=; b=V5AyXUwksYouws05kCSkdY9AWK/u+lBkfibcpNw+TqSnRW/e+/0sQYYA8rXrQrFm03 Il2h6i77DRsQFchZryIAblFadYyOPhLc/Gnpvi+EkktoTqTtxFg8FfuMiZEvNHVendX6 1IiF10NfCFExX8NcYa0M5pBCdkxf23DXesN9Uo73UEYMsIWr867SSI23q5QGtHc5rPUF RA//aKvcaFfa6M5+7cJFnwRUwBU3YyTMHyk2x/RrWCjDlDauzESq4eBKSXsZuD+MpiEk F0ItwuALUfrBLo75h7oVPYlqzvNMbLHK7lCk78IKO6ZjJVIZhqVf72wGrtTB7535bYx/ Bolw== X-Gm-Message-State: ALKqPwdqDQrMSu3jQGPnSa7GP17ppSsjWkHO7WyeDw49S6xAq3BJretS +NFIZWQotk0qtEWDRR/MB1U= X-Received: by 2002:a65:5041:: with SMTP id k1-v6mr569542pgo.142.1526182215403; Sat, 12 May 2018 20:30:15 -0700 (PDT) Received: from sol.localdomain (c-67-185-97-198.hsd1.wa.comcast.net. [67.185.97.198]) by smtp.gmail.com with ESMTPSA id d4-v6sm14687725pfl.24.2018.05.12.20.30.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 May 2018 20:30:14 -0700 (PDT) Date: Sat, 12 May 2018 20:32:20 -0700 From: Eric Biggers To: Tetsuo Handa 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) Message-ID: <20180513033220.GA654@sol.localdomain> References: <94eb2c03c9bc75aff2055f70734c@google.com> <001a113f711a528a3f0560b08e76@google.com> <20180512215222.GC817@sol.localdomain> <201805131106.GFF73973.OOtMVQFSFOJFHL@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201805131106.GFF73973.OOtMVQFSFOJFHL@I-love.SAKURA.ne.jp> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tetsuo, On Sun, May 13, 2018 at 11:06:17AM +0900, Tetsuo Handa wrote: > Eric Biggers wrote: > > The bug that this reproducer reproduces was fixed a while ago by commit > > 966031f340185e, so I'm marking this bug report fixed by it: > > > > #syz fix: n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD) > > Nope. Commit 966031f340185edd ("n_tty: fix EXTPROC vs ICANON interaction with > TIOCINQ (aka FIONREAD)") is "Wed Dec 20 17:57:06 2017 -0800" but the last > occurrence on linux.git (commit 008464a9360e31b1 ("Merge branch 'for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid")) is only a few days ago > ("Wed May 9 10:49:52 2018 -1000"). > > > > > Note that the error message was not always "BUG: workqueue lockup"; it was also > > sometimes like "watchdog: BUG: soft lockup - CPU#5 stuck for 22s!". > > > > syzbot still is hitting the "BUG: workqueue lockup" error sometimes, but it must > > be for other reasons. None has a reproducer currently. > > The last occurrence on linux.git is considered as a duplicate of > > [upstream] INFO: rcu detected stall in n_tty_receive_char_special > https://syzkaller.appspot.com/bug?id=3d7481a346958d9469bebbeb0537d5f056bdd6e8 > > which we already have a reproducer at > https://groups.google.com/d/msg/syzkaller-bugs/O4DbPiJZFBY/YCVPocx3AgAJ > and debug output is available at > https://groups.google.com/d/msg/syzkaller-bugs/O4DbPiJZFBY/TxQ7WS5ZAwAJ . > > We are currently waiting for comments from Peter Hurley who added that code. > Actually I did verify that the C reproducer is fixed by the commit I said, and I also simplified the reproducer and turned it into an LTP test (http://lists.linux.it/pipermail/ltp/2018-May/008071.html). Like I said, syzbot is still occasionally hitting the same "BUG: workqueue lockup" error, but apparently for other reasons. The one on 008464a9360e31b even looks like it's in the TTY layer too, and it very well could be a very similar bug, but based on what I observed it's not the same bug that syzbot reproduced on f3b5ad89de16f5d. 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. Otherwise they sit on the syzbot dashboard where few people are looking at them. Though of course, if you are up to it, you're certainly free to look into any of the crashes already there even before a new bug report gets created. 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 Thanks! Eric