[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190610.093816.262800300265390788.davem@davemloft.net>
Date: Mon, 10 Jun 2019 09:38:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: linux-sctp@...r.kernel.org, netdev@...r.kernel.org,
marcelo.leitner@...il.com, lucien.xin@...il.com
Subject: Re: [PATCH] Free cookie before we memdup a new one
From: Neil Horman <nhorman@...driver.com>
Date: Mon, 10 Jun 2019 12:34:56 -0400
> Based on comments from Xin, even after fixes for our recent syzbot
> report of cookie memory leaks, its possible to get a resend of an INIT
> chunk which would lead to us leaking cookie memory.
>
> To ensure that we don't leak cookie memory, free any previously
> allocated cookie first.
>
> Signed-off-by: Neil Horman <nhorman@...driver.com>
Please post with an appropriate subsystem prefix in the Subject.
Thank you.
Powered by blists - more mailing lists