commit | 93ec1320b0170d7a207eda2d119c669b673401ed | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Wed Sep 22 10:50:06 2021 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Thu Sep 23 10:11:12 2021 +0200 |
tree | ac03e9c7e839e7aca5e7a0e6f658978d79c08dc3 | |
parent | 047a749d231e4faccaf5f473cf73dc5732425f81 [diff] |
xfrm: fix rcu lock in xfrm_notify_userpolicy() 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> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>