From: Eric Dumazet <eduma...@google.com>
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 <eduma...@google.com>
> Cc: andrew hendry <andrew.hen...@gmail.com>
> Reported-by: syzbot <syzkal...@googlegroups.com>

Applied and queued up, thanks.

Reply via email to