linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet.com>
To: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Cc: <syzbot+3d9866419b4aa8f985d6@syzkaller.appspotmail.com>,
	<davem@davemloft.net>, <herbert@gondor.apana.org.au>,
	<kuba@kernel.org>, <linux-kernel@vger.kernel.org>,
	<syzkaller-bugs@googlegroups.com>, <netdev@vger.kernel.org>
Subject: Re: [PATCH ipsec] xfrm: fix rcu lock in xfrm_notify_userpolicy()
Date: Sat, 25 Sep 2021 10:06:15 +0200	[thread overview]
Message-ID: <20210925080615.GA3027429@gauss3.secunet.de> (raw)
In-Reply-To: <20210922085006.13570-1-nicolas.dichtel@6wind.com>

On Wed, Sep 22, 2021 at 10:50:06AM +0200, Nicolas Dichtel wrote:
> As stated in the comment above xfrm_nlmsg_multicast(), rcu read lock must
> be held before calling this function.
> 
> Reported-by: syzbot+3d9866419b4aa8f985d6@syzkaller.appspotmail.com
> Fixes: 703b94b93c19 ("xfrm: notify default policy on update")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>

Applied, thanks Nicolas!

      reply	other threads:[~2021-09-25  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22  0:13 [syzbot] WARNING: suspicious RCU usage in xfrm_set_default syzbot
2021-09-22  8:50 ` [PATCH ipsec] xfrm: fix rcu lock in xfrm_notify_userpolicy() Nicolas Dichtel
2021-09-25  8:06   ` Steffen Klassert [this message]

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=20210925080615.GA3027429@gauss3.secunet.de \
    --to=steffen.klassert@secunet.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.com \
    --cc=syzbot+3d9866419b4aa8f985d6@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).