[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221114133853.5384-1-shangxiaojing@huawei.com>
Date: Mon, 14 Nov 2022 21:38:51 +0800
From: Shang XiaoJing <shangxiaojing@...wei.com>
To: <horatiu.vultur@...rochip.com>, <UNGLinuxDriver@...rochip.com>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <lars.povlsen@...rochip.com>,
<Steen.Hegelund@...rochip.com>, <daniel.machon@...rochip.com>,
<rmk+kernel@...linux.org.uk>, <casper.casan@...il.com>,
<bjarni.jonasson@...rochip.com>, <netdev@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: <shangxiaojing@...wei.com>
Subject: [PATCH 0/2] net: microchip: Fix potential null-ptr-deref due to create_singlethread_workqueue()
There are some functions call create_singlethread_workqueue() without
checking ret value, and the NULL workqueue_struct pointer may causes
null-ptr-deref. Will be fixed by this patch.
Shang XiaoJing (2):
net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()
net: microchip: sparx5: Fix potential null-ptr-deref in
sparx_stats_init() and sparx5_start()
drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c | 3 +++
drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c | 3 +++
drivers/net/ethernet/microchip/sparx5/sparx5_main.c | 3 +++
3 files changed, 9 insertions(+)
--
2.17.1
Powered by blists - more mailing lists