public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen•de>
To: Eric Dumazet <eric.dumazet@gmail•com>
Cc: Pablo Neira Ayuso <pablo@netfilter•org>,
	Jozsef Kadlecsik <kadlec@blackhole•kfki.hu>,
	Florian Westphal <fw@strlen•de>,
	netfilter-devel@vger•kernel.org, netdev <netdev@vger•kernel.org>,
	Eric Dumazet <edumazet@google•com>,
	syzbot <syzkaller@googlegroups•com>
Subject: Re: [PATCH nf] netfilter: fix use-after-free in __nf_register_net_hook()
Date: Sun, 27 Feb 2022 19:07:07 +0100	[thread overview]
Message-ID: <20220227180707.GA8536@breakpoint.cc> (raw)
In-Reply-To: <20220227180141.931857-1-eric.dumazet@gmail.com>

Eric Dumazet <eric.dumazet@gmail•com> wrote:
> We must not dereference @new_hooks after nf_hook_mutex has been released,
> because other threads might have freed our allocated hooks already.

Oh, right you are.

Acked-by: Florian Westphal <fw@strlen•de>

  reply	other threads:[~2022-02-27 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-27 18:01 [PATCH nf] netfilter: fix use-after-free in __nf_register_net_hook() Eric Dumazet
2022-02-27 18:07 ` Florian Westphal [this message]
2022-02-28 21:35 ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220227180707.GA8536@breakpoint.cc \
    --to=fw@strlen$(echo .)de \
    --cc=edumazet@google$(echo .)com \
    --cc=eric.dumazet@gmail$(echo .)com \
    --cc=kadlec@blackhole$(echo .)kfki.hu \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=netfilter-devel@vger$(echo .)kernel.org \
    --cc=pablo@netfilter$(echo .)org \
    --cc=syzkaller@googlegroups$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox