Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp110152pxj; Thu, 13 May 2021 00:10:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk37c8/RAY+W+gRZXUfRS+uiJAYn7Wym3kSzycITHfhPkS+OMWc09t1X8wpGEvKcQwpkJL X-Received: by 2002:aa7:df96:: with SMTP id b22mr2973974edy.95.1620889816219; Thu, 13 May 2021 00:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620889816; cv=none; d=google.com; s=arc-20160816; b=BTdQRseyDCscjvAX6JhahfPVm4v6WOrRh4k09FD+TPRO6ydr6trL5tPxvFwY8lCout iUyCzjCTNAL1OQBRNRBUd+N+GiyDUMIMX2n8zwD9/egOfMTC+td676KoxJMNpKO8r06U SeOklo4rBWeQloMp58qwrH0H+ANt6VS8Ea4Ug7r/YqaTSXQDhqSvFLJiokgisHF8mtVY V6JQzu60FdBVJT5SYNb4kedDUN0XZCVbqai0hONO9iKzwIcEebK/LuR97PXK4drPIRUv UWLcnh+dx2RjWtIwUB4Fa8NThyoDOcEOwpVRUkjx5hx7QvH4jA8uBP5uW8wo573X6KtH 9RHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tyi0hLLwsaVhIG2kqmVitJUhgVmvI4jXmKcfvvz6ltQ=; b=lncBDz8qAOl0xcQMExOySh/BiXPZHTecKwzrW6I+NBbo/mvQ46CK7uuZZpiiaxNvUo QY7d4+XvHnlc1SvUdIeMeya6BZtxyvEtv/58ZSbXzgyMjxvPtGNE5C5kCRBfPkiijMji th32TkkQDlCUlDUXJKuiA7hOfgHdhiyofoZw/ZlZyod2D2eXxBVOqWmU2vjcPPjBioPx oQDXx4fufGFV6DFQ4trKKbGDm7K2RFyHXOoGLZtlnk3Nlu+8R/bV//v4xvfnmiNkR9tC HkNInolPTzFhZdj8BEvj26U6nPE+VEn3+RFpKLZS0MzhZj3uL/3f/01mRqqXDqceGsrY oA2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=DMKgdD30; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si2176433edj.448.2021.05.13.00.09.47; Thu, 13 May 2021 00:10:16 -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=@google.com header.s=20161025 header.b=DMKgdD30; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231295AbhEMHJq (ORCPT + 99 others); Thu, 13 May 2021 03:09:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbhEMHJn (ORCPT ); Thu, 13 May 2021 03:09:43 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FFF6C06175F for ; Thu, 13 May 2021 00:08:33 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id t1so260473qvz.12 for ; Thu, 13 May 2021 00:08:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tyi0hLLwsaVhIG2kqmVitJUhgVmvI4jXmKcfvvz6ltQ=; b=DMKgdD30W8LrgmvfpHDsR7IBySr1EWTLYntNbEtJmrf3V1efZECo7cxiPIsjccFdFK Pwge9iZFRLHQQTTrolhcizYFv5v6E5A2cIHs6Xjv63q1WSBZPoEvJiWcI0EfgOwmrAgH /jU2TynityAh+A1/ps1fqD0sqcGnENKG+6TnsnNP3wkLjU5swNJ3saqudGTw5H5AlnEM At0TDCqmp+uvsGDLnZFX7gra2pb4lFj+cBwp+mbqAkHbtC1YgBzlakRPeMRTPqGlm73w ijPFLcntMhcQTTEHTAOq3y+H9LeoL0fG9Euzcb2yYV/9wKiB4K18Y6dA+MFwAcrYYd1o lWsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tyi0hLLwsaVhIG2kqmVitJUhgVmvI4jXmKcfvvz6ltQ=; b=fnpLjB6jO5DnFzsGFt+5bRz0wfuWiWIfleZ6bOB84MZUqIgJmQyiMsmtZWM4z2GjEp f0+RZ4t/6+n0/poP+KZt5Lacwd5LMblJ8wFpadIL3l9NNehZrsRPgei0KbCTsPkuf5vR Lt74yV3eazw31kUMdgC0+/+XkIxzghYjKcHLhu/Y3aY0X3zcMQ95AkonM4mUxB7f75iP 1SEaptkLaPQmWj7wMqODKSjjtjVb8sZK0rRWXKlfaTn0GeO0C39Gc9CXIhuVUHGlcUdM zzJ/1HtG2QW4w2LSlOPRYMsAufeHAsiN2qubjyaRAXtDn+gI6jTDqWyk+S1NPP3dngYt CLPQ== X-Gm-Message-State: AOAM531EwficRkPqAF/QaopDyAWV4RTwkxGau84fSpRhNui8efOA32wX W+i7JRf3SkKilXEMJQ8Rn574PoOsQqYZUnDoc01ynA== X-Received: by 2002:a0c:d786:: with SMTP id z6mr39155641qvi.18.1620889711884; Thu, 13 May 2021 00:08:31 -0700 (PDT) MIME-Version: 1.0 References: <0000000000008ce91e05bf9f62bc@google.com> <20210508144657.GC4038@breakpoint.cc> <20210513005608.GA23780@salvia> In-Reply-To: <20210513005608.GA23780@salvia> From: Dmitry Vyukov Date: Thu, 13 May 2021 09:08:20 +0200 Message-ID: Subject: Re: [syzbot] WARNING in __nf_unregister_net_hook (4) To: Pablo Neira Ayuso Cc: Florian Westphal , syzbot , coreteam@netfilter.org, David Miller , Jozsef Kadlecsik , Jakub Kicinski , LKML , netdev , NetFilter , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 13, 2021 at 2:56 AM Pablo Neira Ayuso wrote: > > On Sat, May 08, 2021 at 04:46:57PM +0200, Florian Westphal wrote: > > Dmitry Vyukov wrote: > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > > > Reported-by: syzbot+154bd5be532a63aa778b@syzkaller.appspotmail.com > > > > > > Is this also fixed by "netfilter: arptables: use pernet ops struct > > > during unregister"? > > > The warning is the same, but the stack is different... > > > > No, this is a different bug. > > > > In both cases the caller attempts to unregister a hook that the core > > can't find, but in this case the caller is nftables, not arptables. > > I see no reproducer for this bug. Maybe I broke the dormant flag handling? > > Or maybe syzbot got here after the arptables bug has been hitted? syzbot always stops after the first bug to give you perfect "Not tainted" oopses.