From: Takeshi Misawa <[email protected]> Date: Sun, 22 Sep 2019 16:45:31 +0900
> When ppp is closing, __ppp_xmit_process() failed to enqueue skb
> and skb allocated in ppp_write() is leaked.
>
> syzbot reported :
...
> Fix this by freeing skb, if ppp is closing.
>
> Fixes: 6d066734e9f0 ("ppp: avoid loop in xmit recursion detection code")
> Reported-and-tested-by: [email protected]
> Signed-off-by: Takeshi Misawa <[email protected]>
Applied and queued up for -stable.
