Skip to content
Commit a3a1114a authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by Greg Kroah-Hartman
Browse files

xfrm: fix rcu lock in xfrm_notify_userpolicy()



commit 93ec1320 upstream.

As stated in the comment above xfrm_nlmsg_multicast(), rcu read lock must
be held before calling this function.

Reported-by: default avatar <syzbot+3d9866419b4aa8f985d6@syzkaller.appspotmail.com>
Fixes: 703b94b93c19 ("xfrm: notify default policy on update")
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 091f85db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment