[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b30b28c5-5e96-6f5e-a43d-141419dda6ae@intel.com>
Date: Wed, 4 Aug 2021 11:38:05 -0700
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Pavel Skripkin <paskripkin@...il.com>, <davem@...emloft.net>,
<kuba@...nel.org>, <qiangqing.zhang@....com>,
<hslester96@...il.com>, <fugang.duan@....com>, <jdmason@...zu.us>,
<colin.king@...onical.com>
CC: <dan.carpenter@...cle.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] net: fix use-after-free bugs
On 8/4/2021 8:48 AM, Pavel Skripkin wrote:
> I've added new checker to smatch yesterday. It warns about using
> netdev_priv() pointer after free_{netdev,candev}() call. I hope, it will
> get into next smatch release.
>
> Some of the reported bugs are fixed and upstreamed already, but Dan ran new
> smatch with allmodconfig and found 2 more. Big thanks to Dan for doing it,
> because I totally forgot to do it.
>
> Pavel Skripkin (2):
> net: fec: fix use-after-free in fec_drv_remove
> net: vxge: fix use-after-free in vxge_device_unregister
>
> drivers/net/ethernet/freescale/fec_main.c | 2 +-
> drivers/net/ethernet/neterion/vxge/vxge-main.c | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
Looks like a good new check! For the series:
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists