Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp504772imm; Wed, 18 Jul 2018 06:05:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcslse1xTKP0rlpM7+yHXyISCamaQYn4LpVia20E0VSygWaKktBGfkGTzWLV1p4Y7D9+q9d X-Received: by 2002:a62:d94a:: with SMTP id s71-v6mr5108209pfg.164.1531919151790; Wed, 18 Jul 2018 06:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531919151; cv=none; d=google.com; s=arc-20160816; b=DA3eER/iPg0gKZ7bLzhfRyit2QfHa8TksLQPIL5l8XJAxNiPhlqWIgLk34UGKXW1gB x1qWa60QxTKEKdG8GKfCPJk3sDymSv9tZDxjN8gXV2WvRzEohzTHb0vt/uSdGvDLaVAN bNyORxO6Pl0G+hf2diESqjMh1DyvP1SkT92oifpQoexYbhkPAgSJVW/4SmsriwB1VEVH Oh7djgmQrUhrqV5W6w8mIPG2ClOIAVjyUaBR7VT7rEfsm5Tr3KU4snsLmzJ3ANHnhidl LaCMK7sq/CI1RwgtSRg3vp1+chy7kdwXBggoQyV2QUAQMMjQZpwYyE5Hvm8FdfdeSE0X NSSQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ZHAAccBlISS2hXHEB9QIVnh9K3rzjM6gV9VSn5ePmhk=; b=wRQvV7mu/AQGe67Y4COAiLvxABl1mvF19tu8lUCNtBGnytC8XOFJhyaq3YzKvLZ7pB Vd9YHi9Ifwnp9h8NnuRU/TThbhKE9AnqIkfdiQZVNvmAGrmHeEPsLTkfbhzBUCM21wqQ 5qWb/CzGdqFJyL8f9N78dT395KtcbVRK+KFEfS7IR1suAG3HBpsw7tPI+nUk0vUbDzGZ /MtvNtmsFSaouD0cu5z1pdLBPMWTePuPEa7pthkQezYVsCIloo/Ag0PSJDiNF4w94MKo LD4hiNto5PV/haNZUUngwu7w+h+XNX9mHZb1GfnCe2aR0v+3+nDUDCbAKzTPySgJhEHm 3Ftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=GK2Bm0ka; 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 s1-v6si3357735pfi.369.2018.07.18.06.05.36; Wed, 18 Jul 2018 06:05:51 -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=GK2Bm0ka; 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 S1730096AbeGRNmw (ORCPT + 99 others); Wed, 18 Jul 2018 09:42:52 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:42116 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726633AbeGRNmw (ORCPT ); Wed, 18 Jul 2018 09:42:52 -0400 Received: by mail-pl0-f68.google.com with SMTP id z7-v6so246937plo.9 for ; Wed, 18 Jul 2018 06:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZHAAccBlISS2hXHEB9QIVnh9K3rzjM6gV9VSn5ePmhk=; b=GK2Bm0kaSW9YugQyaIV7LxvOHd3ntaRmHJdvCzfJ/ljwAWw+qXwcPyV2VBEZK3fbl2 5QLCatiBKziA5MeoDUBV+SVlgw8gwewRdDBhBMetOFIbhbwzGYBhRgJ1zEHWSq0NSqWg Zgo0NU4NG5jUBtdVDY2BxAC/CjE4FAobC7/Xul8QxqOFpnjUctCpr1cRU+xnsgXgn8lA xhE0xkBcDVS+/CP71evT7+9+eVKzEFHXkfRb9KGAqgSl97thy5z+rDScVUi6D4Qe2Zb8 6AV55VZR4taUBiihruhhmKaFseM5II7pXPrIiI5GkH1f6f8tOHSCV5uCXPdoKXNNwLo3 2gDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZHAAccBlISS2hXHEB9QIVnh9K3rzjM6gV9VSn5ePmhk=; b=JWH/rXss3FFeImvQeFKo0/1DwlqaTolpEz4L5kS9uqvG82EK6SMKArx/UzjvH5B8fU WnZPTLAsOjcoxllxlybVrggF2pmnmjXB4R9AVbI3XnaOFsrjeeKXX7xNuLeA2gtHbviH wBGvB/3MADR64O1K78ojPtXAzRzMjz7cv+InlqgFDXcE2RKXWAVhMz6vo4k0mYc3tcaF Zzcb/p7MsEIu9V0rmXneSFKC4//QNzGXQ4qsQTqsvuoItgUfOqLD0WDSzu+bWGc2Pyav NScR4DkVWlGlm8XDk33shvg54FKA/e1zGchSY46RyCV15Hcn4llgH61Lh/+qzu2NCofS bRvQ== X-Gm-Message-State: AOUpUlGsfTdN4yLtg/GrnPmMsxQ/YNE8l7bauSMG5aR0B17DMmRCS672 CubyrKY1rdVbblpAznJqomfcFvIA/qhuoN/9eDtBSQ== X-Received: by 2002:a17:902:ab95:: with SMTP id f21-v6mr5746375plr.264.1531919101110; Wed, 18 Jul 2018 06:05:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:ac14:0:0:0:0 with HTTP; Wed, 18 Jul 2018 06:04:40 -0700 (PDT) In-Reply-To: <0adc592b-d4a3-f6da-3c5c-22490f641eb9@i-love.sakura.ne.jp> References: <0000000000002f5541057143a85e@google.com> <0adc592b-d4a3-f6da-3c5c-22490f641eb9@i-love.sakura.ne.jp> From: Dmitry Vyukov Date: Wed, 18 Jul 2018 15:04:40 +0200 Message-ID: Subject: Re: INFO: task hung in grab_super To: Tetsuo Handa Cc: Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , v9fs-developer@lists.sourceforge.net, syzbot , linux-fsdevel , LKML , syzkaller-bugs , Al Viro 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 Wed, Jul 18, 2018 at 2:53 PM, Tetsuo Handa wrote: > On 2018/07/18 20:41, Dmitry Vyukov wrote: >> This seems to be related to 9p. After rerunning the log I got: >> >> root@syzkaller:~# ps afxu | grep syz >> root 18253 0.0 0.0 0 0 ttyS0 Zl 10:16 0:00 \_ >> [syz-executor] >> root@syzkaller:~# cat /proc/18253/task/*/stack >> [<0>] p9_client_rpc+0x3a2/0x1400 >> [<0>] p9_client_flush+0x134/0x2a0 >> [<0>] p9_client_rpc+0x122c/0x1400 >> [<0>] p9_client_create+0xc56/0x16af >> [<0>] v9fs_session_init+0x21a/0x1a80 >> [<0>] v9fs_mount+0x7c/0x900 >> [<0>] mount_fs+0xae/0x328 >> [<0>] vfs_kern_mount.part.34+0xdc/0x4e0 >> [<0>] do_mount+0x581/0x30e0 >> [<0>] ksys_mount+0x12d/0x140 >> [<0>] __x64_sys_mount+0xbe/0x150 >> [<0>] do_syscall_64+0x1b9/0x820 >> [<0>] entry_SYSCALL_64_after_hwframe+0x49/0xbe >> [<0>] 0xffffffffffffffff >> >> There is a bunch of hangs in 9p, so let's do: >> >> #syz dup: INFO: task hung in flush_work >> > Then, is dumping all threads when khungtaskd fires a candidate > for CONFIG_DEBUG_AID_FOR_SYZBOT=y path? Perhaps would be useful. But maybe only tasks that are blocked for more than timeout/2? and/or unkillable tasks? killable tasks are not a problem. Btw, I see that p9_client_rpc uses wait_event_killable, why wasn't it killed along with the whole process?