Re: [PATCH ipsec] xfrm: fix rcu lock in xfrm_notify_userpolicy()

From: Steffen Klassert
Date: Sat Sep 25 2021 - 04:27:29 EST


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@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 703b94b93c19 ("xfrm: notify default policy on update")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>

Applied, thanks Nicolas!