From: Eric Dumazet <[email protected]>
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: 95d6ebd53c79 ("net/x25: fix use-after-free in x25_device_event()")
> Signed-off-by: Eric Dumazet <[email protected]>
> Cc: andrew hendry <[email protected]>
> Reported-by: syzbot <[email protected]>

Applied and queued up, thanks.

Reply via email to