Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp270815pxb; Mon, 8 Nov 2021 13:22:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKO1bViy8rd2RnOw7VtQFfuu1ew0s6QsDXgWfIRRfqaMr+1Or5yIYjv18uCyfBTVmIP82a X-Received: by 2002:a50:930b:: with SMTP id m11mr2869333eda.133.1636406544829; Mon, 08 Nov 2021 13:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636406544; cv=none; d=google.com; s=arc-20160816; b=TAahrzNo97IzDrRdUAhtz4QFSj/6R7SdJjuhfuSmHkUmEW/e3C2uz0t/MIndKJ63Ox RPUvPQywQhyeuJdTz1qCFW5J5H9PQKOuOWaNNRMemk/8iaF7Ny3pFDFdZo3NS/G+cN6n dzc+Jz26A88YXe+Pshv0JsztUHNXwJzBaH+58yTgusWO53rZzhdeoqD/llo2oq8NKdx4 rdmrNmOZ9PphvrjBblP/nD/PfQvTeSGL1vxieoOsjIzEk7qraNRpr0PTKTUa9m5SRlj6 kZZ/fkkbbbsB1n+259i0+SejTAENZkuoftw22spcrlXVDF2aPI9UMcvPXfqiH00XjuvO zRLQ== 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:dkim-signature; bh=IxAdOb0LqPBFkwvM1Auqh52QS5bnCXigClzsNcGh4zY=; b=hI55xFWZwGsWJyxQ4tRh6lslH1/SQfonaP8gglWdd+wnTPTwpXkSABnsRfjNAEnMz3 b+1Tdgs0c3pgU4DiK8seol3wEu0oF5nusT40M+EzCQp9/mUp+iM6AHHo48JJ7d2+tYqI wYZNJvenbAsFggWg4Wp/dJaSTas5oUZKXqkuo1EGN0athXK3N4E7W0OtfKGbO15g5kvv p7CvRxaOa13j18h7/BLOxsJ9RBljBvyk6gwNhV9TyoNsiKZu5K0KKaYClLAr9p341SOq 2Tjc5IuacvFg3kRSgA5exp/OziBYzAYA8mqLsXCrLw3viMgmTlAlLhXTXjY0tNPPAVvB wCLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=pWyC0UDi; 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 r21si31712033ejo.92.2021.11.08.13.22.00; Mon, 08 Nov 2021 13:22:24 -0800 (PST) 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; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=pWyC0UDi; 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 S241316AbhKHQp0 (ORCPT + 99 others); Mon, 8 Nov 2021 11:45:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236528AbhKHQpZ (ORCPT ); Mon, 8 Nov 2021 11:45:25 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54B5EC061570 for ; Mon, 8 Nov 2021 08:42:41 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id k22so5999710iol.13 for ; Mon, 08 Nov 2021 08:42:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=IxAdOb0LqPBFkwvM1Auqh52QS5bnCXigClzsNcGh4zY=; b=pWyC0UDicmpv1e+mmc2qy6UIzmW3a43fmJK9OZdzMGN6XowJNYmxkrcpLEY4l+L7Uo Fq/pJ6H4QzukA1o4IOgeIvscd9PC/oHtKPMRK5VCYBDfbhYPwea94iqHZuQKQXfKrjfc yuCy26oaXShM1f0JejBZJKq6UufqyTD0qRtXFeOKgKoOAhb4jZIKT1/Yf5tXgkqo8alL FGcOQLVv+wAZmCBCUYZ/JLXSx3nvPgCywiHlHbqm8lwM/SWP/FeMkJorCet2x6uA4kj8 nWu67sAJz1p8TQwYp7iN6uvJytMFbtWuLpaKLqFAw5/FuqQb1YoRB3G2sjprezLhAKKL DShg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IxAdOb0LqPBFkwvM1Auqh52QS5bnCXigClzsNcGh4zY=; b=yEay9/s11PyzSzo6Q4qJDl84M7m1Vj+QvrIlHSz+58lzAuv01vo1Y2AnVTXPcFsPZf fR029ImJILZBnrzGFPgMEK3+eTYpNajPSsyCdMQWAct6AUzJZmI2kvJ7/SsqczytaD/z eP8wmONOlkXEUdeZvotgW363bF1RU6UlPjLTHtN/8MXHLY3HFOJ+Xn9bdOB0ccoCBa47 5N/6/HPSHQ7JtqTeYhkTtEsuyoGbjPIA+2EnANd0Hz0rSKbyhpOAK8m4lVLApGp5CrD1 u0NfaDgEWUO8zr+V0VWduVRJc6qF3Gn85plFiO3pO/pVm3jt37GLShxlyXGI1kobsnQ7 1W3A== X-Gm-Message-State: AOAM530B/X9dZPAah0TdfAtygznvXKHJf7+GURQFy7d1vW2zv51p6dyO Xn7UMzxwgNYlS5TTnMy/sIdG/Q== X-Received: by 2002:a6b:ee10:: with SMTP id i16mr369263ioh.98.1636389759476; Mon, 08 Nov 2021 08:42:39 -0800 (PST) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id i15sm10697495ila.12.2021.11.08.08.42.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 08:42:39 -0800 (PST) Subject: Re: [syzbot] WARNING in io_poll_task_func (2) To: Dmitry Vyukov , syzkaller Cc: Aleksandr Nogikh , syzbot , asml.silence@gmail.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, xiaoguang.wang@linux.alibaba.com References: <0000000000007a0d5705cfea99b2@google.com> <0935df19-f813-8840-fa35-43c5558b90e7@kernel.dk> <97328832-70de-92d9-bf42-c2d1c9d5a2d6@kernel.dk> From: Jens Axboe Message-ID: <0099680c-8955-6771-808f-7fcae8ba7dcb@kernel.dk> Date: Mon, 8 Nov 2021 09:42:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 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 11/8/21 9:30 AM, Dmitry Vyukov wrote: > On Thu, 4 Nov 2021 at 12:44, Jens Axboe wrote: >> >> On 11/4/21 4:45 AM, Aleksandr Nogikh wrote: >>> Hi Jeans, >>> >>> We'll try to figure something out. >>> >>> I've filed an issue to track progress on the problem. >>> https://github.com/google/syzkaller/issues/2865 >> >> Great thanks. It's annoyed me a bit in the past, but it's really >> excessive this time around. Probably because that particular patch >> caused more than its fair share of problems, but still shouldn't >> be an issue once it's dropped from the trees. > > syzbot always tests the latest working tree. In this case it's the > latest linux-next tree. No dead branches were tested. Maybe the -next tree is just lagging. Does the syzbot setup for the kernel have some notion of the trees involved? For this particular example, if the upstream tree that contains/contained the patch that is flagged as problematic, then it would be ideal if it didn't get reported. Not sure if this is viable or not. Ditto if the upstream tree already has a fix for that issue, marked appropriately. But I guess this one naturally falls out from having told syzbot with a #fix reply, but that normally doesn't need to happen as long as the patch flows into the tree being tested. If -next is lagging, then again we'd get multiple reports for the same thing on an outdated tree. > The real problem here is rebased trees and dropped patches and the use > of "invalid" command. > For issues fixed with a commit (#syz fix) syzbot tracks precisely when > the commit reaches all of the tested builds and only then closes the > issue and starts reporting new occurrences as new issues. > But "syz invalid" does not give syzbot a commit to track and means > literally "close now", so any new occurrences are reported as new > issues immediately. > The intention is that it's on the user issuing the "invalid" command > to do this only when the issue is really not present in any of syzbot > builds anymore. And the latter is problematic if the -next tree isn't current anymore. > There are hacks around like saying "syz fix" with some unrelated later > commit that will reach linux-next upstream along with the dropped > patch, then syzbot will do proper tracking on its own. > Better suggestions are welcome. I guess a work-around would just be to use #fix for eg the merge commit in the upstream branch. -- Jens Axboe