From: Eric Dumazet
Date: Mon, 11 Mar 2019 13:48:44 -0700
> In case x25_connect() fails and frees the socket neighbour,
> we also need to undo the change done to x25->state.
>
> Before my last bug fix, we had use-after-free so this
> patch fixes a latent bug.
>
> syzbot report :
...
> Fixes: 95
In case x25_connect() fails and frees the socket neighbour,
we also need to undo the change done to x25->state.
Before my last bug fix, we had use-after-free so this
patch fixes a latent bug.
syzbot report :
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user