Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp933793imm; Tue, 5 Jun 2018 06:47:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKqtXDO+5FCCZ4pPpny2psx0Ue/r7yNQPBK5sAT8i97xB64cLicsQ970NQmNYSy24BQJdk9 X-Received: by 2002:a63:7707:: with SMTP id s7-v6mr16839125pgc.426.1528206439072; Tue, 05 Jun 2018 06:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528206439; cv=none; d=google.com; s=arc-20160816; b=h/DdEFiHOrF+DXCad663m4B6hQZkz/CS8l7ZBUDS+LJRx1wW8iC2bOQMMJak3HTOid HM+fslO4Up0ZZxLZ+Hx+uxYCVxwPDIZlSEVT14JawyQvmx3yldvcyeMtboGPTJ8dldr9 R46++zfJEWjT70GPSDmINxf8yfrmqJlydKbDaYPBwUtXqo9veWQDVFr7ektYtVE094UI Zf5ojJQJl9Wn0f6K1VVYmnD/uD2sN9imMDL6dKLBhrSq0FowY5ScUyG+rgb/icA/8MSS 10e8X5R8FBQZSTLzf1xcT1NO4d5o+Dr4fcds0/g2bBrl1DejbOy9yDICcT4+ruzHdHbG Sa0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=MqbJLmRMgL0beKnsbCp/JpkJTX3qLytisBvgTgZ+icQ=; b=xDUzxcrxYD9EtgbYhkU7xGPvqk628HA8FFHo8e1MNg+Ah7PGjnliAI8Qkb/B1XXamz zDaKgsJZ/lPdRbNbh5GtfFHiC1L6olQzcM606OagXb9FQ8EJU7vVMf/h5GZqTV4TrsA6 wI5zFx8leXbFf6FH26Zvbl2rdG40jCAgrujUadPiFFlMPh7aIKEju3QNEdSFsCq03SQi ABGmkS/hhk37FSSni0CEkvgiZRAdLVQaH3xQAt0iw8LE7Qv8nd9m3q23IlI7awFIoWQt oR9ZFfODPg/vn4wUJsV7QV5OykEuGQPEtEsjiz7a1V60mo8bQFbt6bGZ+IG1hBzEEoBx K8Tg== 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 34-v6si47650113plc.346.2018.06.05.06.47.04; Tue, 05 Jun 2018 06:47:19 -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 S1751948AbeFENqi (ORCPT + 99 others); Tue, 5 Jun 2018 09:46:38 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:56485 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbeFENqf (ORCPT ); Tue, 5 Jun 2018 09:46:35 -0400 Received: from fsav401.sakura.ne.jp (fsav401.sakura.ne.jp [133.242.250.100]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id w55DjahM058058; Tue, 5 Jun 2018 22:45:37 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav401.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav401.sakura.ne.jp); Tue, 05 Jun 2018 22:45:36 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav401.sakura.ne.jp) Received: from [192.168.1.8] (softbank126074194044.bbtec.net [126.74.194.44]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id w55DjZSw058053 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2018 22:45:36 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: general protection fault in wb_workfn (2) To: Dmitry Vyukov Cc: Jens Axboe , Jan Kara , syzbot , syzkaller-bugs@googlegroups.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, tj@kernel.org, david@fromorbit.com, linux-block@vger.kernel.org, Linus Torvalds References: <000000000000cbd959056d1851ca@google.com> <0c7c5dea-7312-8a59-9d1b-5467f69719bf@I-love.SAKURA.ne.jp> <20180528133503.awomzj6djozbo5bv@quack2.suse.cz> <2dda7a11-3f6b-bdba-a68a-7c0694806cc4@I-love.SAKURA.ne.jp> <20180531114228.6zx27xxurmz27pke@quack2.suse.cz> <20180531134212.oo4ra4ypuruab3xp@quack2.suse.cz> From: Tetsuo Handa Message-ID: <95865cab-e12f-d45b-b6e3-465b624862ba@i-love.sakura.ne.jp> Date: Tue, 5 Jun 2018 22:45:31 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dmitry, can you assign VM resources for a git tree for this bug? This bug wants to fight against https://github.com/google/syzkaller/blob/master/docs/syzbot.md#no-custom-patches ... On 2018/06/01 1:56, Jens Axboe wrote: > On 5/31/18 7:42 AM, Jan Kara wrote: >> On Thu 31-05-18 22:19:44, Tetsuo Handa wrote: >>> On 2018/05/31 20:42, Jan Kara wrote: >>>> On Thu 31-05-18 01:00:08, Tetsuo Handa wrote: >>>>> So, we have no idea what is happening... >>>>> Then, what about starting from temporary debug printk() patch shown below? >>>>> >>>>> >From 4f70f72ad3c9ae6ce1678024ef740aca4958e5b0 Mon Sep 17 00:00:00 2001 >>>>> From: Tetsuo Handa >>>>> Date: Wed, 30 May 2018 09:57:10 +0900 >>>>> Subject: [PATCH] bdi: Add temporary config for debugging wb_workfn() versus >>>>> bdi_unregister() race bug. >>>>> >>>>> syzbot is hitting NULL pointer dereference at wb_workfn() [1]. But due to >>>>> limitations that syzbot cannot find reproducer for this bug (frequency is >>>>> once or twice per a day) nor we can't capture vmcore in the environment >>>>> which syzbot is using, for now we need to rely on printk() debugging. >>>>> >>>>> [1] https://syzkaller.appspot.com/bug?id=e0818ccb7e46190b3f1038b0c794299208ed4206 >>>>> >>>>> Signed-off-by: Tetsuo Handa >>>> >>>> Hum a bit ugly solution but if others are fine with this, I can live with >>>> it for a while as well. Or would it be possible for syzkaller to just test >>>> some git tree where this patch is included? Then we would not even have to >>>> have the extra config option... >>> >>> If syzbot can reproduce this bug that way. While it is possible to add/remove >>> git trees syzbot tests, frequently adding/removing trees is bothering. >>> >>> syzbot can enable extra config option. Maybe the config name should be >>> something like CONFIG_DEBUG_FOR_SYZBOT rather than individual topic. >>> >>> I think that syzbot is using many VM instances. I don't know how many >>> instances will be needed for reproducing this bug within reasonable period. >>> More git trees syzbot tests, (I assume that) longer period will be needed >>> for reproducing this bug. The most reliable way is to use the shared part >>> of all trees (i.e. linux.git). >> >> I understand this, I'd be just a bit reluctant to merge temporary debug >> patches like this to Linus' tree only to revert them later just because >> syzkaller... What do others think? > > I guess I don't understand why having it in Linus's tree would make > a difference to syzkaller? > > If there is a compelling reason why that absolutely has to be done, > I don't think it should be accompanied by a special Kconfig option > for it. It should just be on unconditionally, with the intent to > remove it before release. >