Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp608085pxy; Thu, 22 Apr 2021 09:15:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPphh/UJigmCj63C/NkUw9oRbzvyk0aq8BSYPCV8331CBiGlOgY6YetmhYIgBfTZ0lnxQi X-Received: by 2002:a17:906:2c4a:: with SMTP id f10mr4313324ejh.63.1619108115284; Thu, 22 Apr 2021 09:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619108115; cv=none; d=google.com; s=arc-20160816; b=TKsC8Xvd8Xncp5lFCr49RL7MzYhhykHwHBditnQ9k0H4+FaW/Gknl4dsFE65/wcQUI AYIBV5TCMTMGG4pO9/qo2XVI21jlpItUEc+zx40w3sS+JZZV/U1YNNHVKUCf5PrDQXL1 BXVp/e/m/bSp8t1riRzZXOrW1Og9Ho3RiQS9qxdgVoN0YpAUDTN0gOI7C/pqwzOV42ab wCFxSCJUSHhL1e/AHEqqpmP9sOs4c4PWOvP0itYL66YZzUk+Kv8aukLoHEzZVCtCuZF4 Qvy3G9HmZxxeRdBI9xGBQ5MunbchU8/qncLghK0TH3B4bD+cEQDMT+4QC2+sncwq36Jn +8XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=6BO0hUID3Q78NpwUtkEv3BLen0Hw7I6J39aOFNViCBQ=; b=VoSYn8A94eNMbcT4de/jvKXu9Nbexvk+Aex61SGP5uKSjeXjUNt/qOjdp5JCnpkEPU x6Yl3SxzNMBQBfMQiiuYYdvF65huigKKVxltQ0tRa7OTs5lLhudLtNMN+DzfYqH0nnw8 WcYtHhbiF22C2/U5FRnUD662NEzaotyQkAiCkOUnrM9FasYgz+sXmFN0JuGYX9+PhEJO bFV/j/idc9e3Xyms6eDvrJBu4+7TOvrUZKTTWEhlWgmV4FcjfX57+daj1bSW/V4cFB/a 9tcrnlE2meOq3xO6D5gSd0l3veUxAZrd1bsmjWb/r83jLJy6VGcCbnaaQPiuBZg3/iIn UTjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si2945383edp.330.2021.04.22.09.14.52; Thu, 22 Apr 2021 09:15:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237946AbhDVQN6 (ORCPT + 99 others); Thu, 22 Apr 2021 12:13:58 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:55415 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236637AbhDVQN4 (ORCPT ); Thu, 22 Apr 2021 12:13:56 -0400 Received: from fsav103.sakura.ne.jp (fsav103.sakura.ne.jp [27.133.134.230]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 13MGD7e3035656; Fri, 23 Apr 2021 01:13:07 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav103.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav103.sakura.ne.jp); Fri, 23 Apr 2021 01:13:07 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav103.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 13MGD7ND035619 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Fri, 23 Apr 2021 01:13:07 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [syzbot] unexpected kernel reboot (4) To: Dmitry Vyukov Cc: Andrey Konovalov , syzbot , LKML , syzkaller-bugs , "open list:HID CORE LAYER" , syzkaller References: <000000000000301a4d05bfe14b8f@google.com> From: Tetsuo Handa Message-ID: Date: Fri, 23 Apr 2021 01:13:03 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/04/22 23:20, Dmitry Vyukov wrote: > I've prepared this syzkaller change: > https://github.com/google/syzkaller/pull/2550/files OK. Please merge and let's see whether syzkaller can find different ways. In my environment, this problem behaves very puzzling. While the reproducer I use is single threaded, changing timing via CONFIG_DEBUG_KOBJECT=y or even https://syzkaller.appspot.com/x/patch.diff?x=13d69ffed00000 avoids this problem. I can't narrow down what is happening. > > Re hibernation/suspend configs, you said disabling them is not > helping, right? Does it still make sense to disable them? > If these configs are enabled, we can at least find some bugs in the > preparation for suspend code. However, as you noted, it will > immediately lead to "lost connection". > Ideally we somehow tweak hibernation/suspend to get to the > hibernation/suspend point and then immediately and automatically > resume. That will be one of disable-specific-functionality changes. > This way we could test both suspend and unsuspend code, which > I assume can lead to bugs, and don't cause "lost connection" at the > same time. I guess such a mode does not exist today... and I am not > sure what happens with TCP connections after this. I don't know whether ssh sessions can survive 10 seconds of hibernation/suspend. But maybe disabling hibernation/suspend configs until disable-specific-functionality changes are accepted makes sense.