[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200507.173642.1807000659009589804.davem@davemloft.net>
Date: Thu, 07 May 2020 17:36:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: claudiu.manoil@....com, Po.Liu@....com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] enetc: Fix use after free in
stream_filter_unref()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Tue, 5 May 2020 23:47:21 +0300
> This code frees "sfi" and then dereferences it on the next line.
>
> Fixes: 888ae5a3952b ("net: enetc: add tc flower psfp offload driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
This was fixed in another patch by using the local variable 'index'.
Powered by blists - more mailing lists