[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221226180950.86129-1-n.zhandarovich@fintech.ru>
Date: Mon, 26 Dec 2022 10:09:49 -0800
From: Nikita Zhandarovich <n.zhandarovich@...tech.ru>
To: <stable@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: Nikita Zhandarovich <n.zhandarovich@...tech.ru>,
Dima·Chumak· <dchumak@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>,
Leon Romanovsky <leon@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>,
<linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lvc-project@...uxtesting.org>
Subject: [PATCH 5.10 0/1] net/mlx5e: Fix nullptr in mlx5e_tc_add_fdb_flow()
The result of __dev_get_by_index() is not checked for NULL, which then
passed to mlx5e_attach_encap() and gets dereferenced.
This patch backports commit <fe7738e> to correct the issue in 5.10 branch.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Powered by blists - more mailing lists