Commit 766f6a78 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

Merge branch 'xfrm: fixes for xfrm_state_find under preemption'

Sabrina Dubroca says:

====================
While looking at the pcpu_id changes, I found two issues that can
happen if we get preempted and the cpu_id changes. The second patch
takes care of both problems. The first patch also makes sure we don't
use state_ptrs uninitialized, which could currently happen. syzbot
seems to have hit this issue [1].

[1] https://syzkaller.appspot.com/bug?extid=7ed9d47e15e88581dc5b


====================

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parents b56bbaf8 7eb11c0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment