Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp805384pxb; Thu, 23 Sep 2021 10:55:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKRL1Y4kL+KhDt5fjHcmQSYzc5sGrGyINDO0g2BBfEP2MRQNJ1q5TAn7zHFsFenWxrGYoF X-Received: by 2002:a05:6602:2151:: with SMTP id y17mr5059336ioy.197.1632419712850; Thu, 23 Sep 2021 10:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632419712; cv=none; d=google.com; s=arc-20160816; b=PKV9fTm4503bjUYF9x9nf9s5QI0QYyD8Pz4o9Qkl4eURa5cVhcR+pY+Z4l+XdQc+1W nYTvJM1hsC6nYZrSyMKZ/mRcm5WOpBZJH//RyFdAMjniaNFmCg/AACQCm2ogZac7q5W7 aaNHx+ewK5LuxKVo1BBij2KOdoI3pvChvdJ4R1iPgbeWscmfvkmbKhfajlSAZ4VoqoJq 9vT878nqKrM81R0moD/kmytPNBT0UzOiRzo0Kc+25/lgWIFxfRL+bJ2MxPu8cJrB81Jy oHAKlTnURicPVKib3KU1rGgqxP7q7Ld3CI+7VUrWpg6S0BeOZkDDEe3rxZMphPPhTbFe 4qPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id :dkim-signature; bh=X/vuVNvHePN1EgwSjUBd2yxxj05+ej0G9CIaZxnchz4=; b=oM5xaivUTmE778Q5L2jQ/BfqV09lykae46WkAnUXrm3kVDn7HVI89b4L0u7O7+yTAp 8ntu90xRPl98ZVO5cLJjnS6FIs44SM9EyHj7rh+Kpo14dr4FUudNoW8jJAE9Q5yOMr0i AS7ZOdskeXpZ72Aim353xkNkcdKC+popzFL7IaMDv6VEcgqt7vj8avR7Pmq2cHck+JbR BeU+HlwCkGoPQ3Jce6ZFpg1q0zHimRC3jv0XxXynl0jJRrcPl/TULvdH7jl+dyP7bYOM LLLWHUgUrOQhmS08wgtFbCJNfxz7ht4fX2qCQ59pMfpA2YZ3kG4DgvzWnNdmzslFQHz+ lKHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tAXc45TI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si8999751jaj.126.2021.09.23.10.55.01; Thu, 23 Sep 2021 10:55:12 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tAXc45TI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242640AbhIWRzx (ORCPT + 99 others); Thu, 23 Sep 2021 13:55:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:60720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242158AbhIWRzv (ORCPT ); Thu, 23 Sep 2021 13:55:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0E02060FDC; Thu, 23 Sep 2021 17:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632419660; bh=Kgu4niKvjFx+GzALLxKmra8ei7WGl2xi2rfOhBjEL0s=; h=Subject:From:To:Date:In-Reply-To:References:From; b=tAXc45TIR4TL1vim7Ozo5WIbYHZYbZIpKDzr4dIggZid8/AqkZQzeQD21kzDbfGB6 qWwiQcEzDHOSYyAMoYjTdRlpwXBpfT1mNnc2fRhpdLrFEzfwn02FIHcBkGF51tT4C3 8lh3nAKIcfW0dVi7vlsjESYkJo6GTG+UaC0fiThoLh866z83BDIPM/Q8P4F2/OFyQ1 WzMolk7H2mQ5IphjsWf6ry0mqYnkldyW04PIryExRcroVWg91Q6izzM3XHto+IQYrU HHgMiiMzgNexdDFMi3nulinqjPDvumFdF8kAPo5LIC/6O0AAsU3XHq+SzrpTBhYLE5 BZFzusdYI0JyQ== Message-ID: <792f0377a0aa982ebb476be05eef5f21fd45c429.camel@kernel.org> Subject: Re: [syzbot] possible deadlock in f_getown From: Jeff Layton To: Desmond Cheong Zhi Xi , syzbot , asm@florahospitality.com, bfields@fieldses.org, boqun.feng@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk, will@kernel.org Date: Thu, 23 Sep 2021 13:54:17 -0400 In-Reply-To: References: <000000000000ed2e6705cca36282@google.com> Content-Type: text/plain; charset="ISO-8859-15" User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-09-23 at 13:20 -0400, Desmond Cheong Zhi Xi wrote: > On 23/9/21 2:03 am, syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > > > commit f671a691e299f58835d4660d642582bf0e8f6fda > > Author: Desmond Cheong Zhi Xi > > Date: Fri Jul 2 09:18:30 2021 +0000 > > > > fcntl: fix potential deadlocks for &fown_struct.lock > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15fa8017300000 > > start commit: 293837b9ac8d Revert "i915: fix remap_io_sg to verify the p.. > > git tree: upstream > > kernel config: https://syzkaller.appspot.com/x/.config?x=18fade5827eb74f7 > > dashboard link: https://syzkaller.appspot.com/bug?extid=8073030e235a5a84dd31 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=171390add00000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10050553d00000 > > > > If the result looks correct, please mark the issue as fixed by replying with: > > > > #syz fix: fcntl: fix potential deadlocks for &fown_struct.lock > > > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > > > #syz fix: fcntl: fix potential deadlocks for &fown_struct.lock > > Think I got jumbled a bit when marking the dups. This bug shares the > same root cause as [1], and is fixed by the same patch. Nice that Syzbot > noticed. > > Link: https://syzkaller.appspot.com/bug?extid=e6d5398a02c516ce5e70 [1] Yeah, I had forgotten about that syzkaller report entirely. I'm not sure we can do much about it now that the patch is already merged though. Is there a process for amending changelogs for patches already in Linus' tree? If I had gotten this email while it was still sitting in linux-next, I would have added that line. The syzkaller folks might want to consider occasionally doing these sorts of checks vs. linux-next to catch this sort of thing, if they care about the attribution. -- Jeff Layton