Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4964709pxj; Wed, 12 May 2021 17:58:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBDcoI1D2ZvksNbOftFvqTT4tL9qhs15Ys/CWCZbMBuX937bP+OlRn9nbU8dCN174LLYvt X-Received: by 2002:a17:906:d28e:: with SMTP id ay14mr40488523ejb.33.1620867484017; Wed, 12 May 2021 17:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620867484; cv=none; d=google.com; s=arc-20160816; b=FZf0JWSkGrnwAWKGXIxCRRhjlwta/lSSHM1XMeyv1WyYR7+1dmH2nABfwQB7aqRgUs YuOhNsIVS/ZqOFL1EedLX2ZUdjGhMT3ubZyEZ2s/wTU6k6bJAFODM9x+3j4k8+Bd2hAz /gYOzjEM2WCMJUPGIDEV2Ew4r9+Cv0QFlWqvifbbrnr31IYLcGQ7xVzDXLnGVkHzb+fM IgHDHTpr+A1Wsz0/rKF9IOixg8eM7ko/UcFIzAhPIN8yd9ucwE5xianSVhkhbS21JeN7 9dTjURub5CbqPutEtp8XCnwy0u1aiuodnAm/aFbNS9XG4DdDpVn9JkJBqH2rKAH7N/QP Z99w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wPHHAiUanpu1C+pS5h2BVrLMQUNA0URmZXaMutx0o4Q=; b=VYmgCkk4yrSvrxDE7ywFHRt5HIXVudFcHO+iU9DoQapFzx8UWv7y3LuVKg8D3SaxkD 8+RXgfAESxfiiOaMVJXYVRo0+b1VEr8nNYfSeopNIZeg6BjCBTRsLdCzwaoKUXJ8hXb9 5BfnPd5S6E/cY405UXekEH//eR0WXi7WNkysBzJc4P7qe+q5HQi6Takk/OZPZ/0e1C+l pbcfC5zCOT6XlBJZAhQN4kQNhdGulJygs4LE8eudV1h6624YzfgCq7Af1yGhGWTc6MR1 sNkt+2amf1q7s1tNzxyIFrqj0/6v9B7qwWm8kepPHgxA/is+8SeGhkoFF8xPJi0Bzxe6 cEzw== 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 t15si1942530ejx.9.2021.05.12.17.57.38; Wed, 12 May 2021 17:58:04 -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 S232618AbhEMA5W (ORCPT + 99 others); Wed, 12 May 2021 20:57:22 -0400 Received: from mail.netfilter.org ([217.70.188.207]:60024 "EHLO mail.netfilter.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231640AbhEMA5V (ORCPT ); Wed, 12 May 2021 20:57:21 -0400 Received: from us.es (unknown [90.77.255.23]) by mail.netfilter.org (Postfix) with ESMTPSA id EB03E64143; Thu, 13 May 2021 02:55:21 +0200 (CEST) Date: Thu, 13 May 2021 02:56:08 +0200 From: Pablo Neira Ayuso To: Florian Westphal Cc: Dmitry Vyukov , syzbot , coreteam@netfilter.org, David Miller , Jozsef Kadlecsik , Jakub Kicinski , LKML , netdev , NetFilter , syzkaller-bugs Subject: Re: [syzbot] WARNING in __nf_unregister_net_hook (4) Message-ID: <20210513005608.GA23780@salvia> References: <0000000000008ce91e05bf9f62bc@google.com> <20210508144657.GC4038@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210508144657.GC4038@breakpoint.cc> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?