[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190925.134554.2101760650151955552.davem@davemloft.net>
Date: Wed, 25 Sep 2019 13:45:54 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: jeliantsurux@...il.com
Cc: gnault@...hat.com, paulus@...ba.org, netdev@...r.kernel.org
Subject: Re: [PATCH net] ppp: Fix memory leak in ppp_write
From: Takeshi Misawa <jeliantsurux@...il.com>
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: syzbot+d9c8bf24e56416d7ce2c@...kaller.appspotmail.com
> Signed-off-by: Takeshi Misawa <jeliantsurux@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists