Files
linux/drivers
Dan Carpenter 4b977e2916 net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
[ Upstream commit e7e7104e2d ]

The "fsp->location" variable comes from user via ethtool_get_rxnfc().
Check that it is valid to prevent an out of bounds read.

Fixes: 7aab747e55 ("net: ethernet: mediatek: add ethtool functions to configure RX flows of HW LRO")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-29 09:26:23 +09:00
..
2023-05-16 12:22:16 +09:00
2023-05-16 12:12:51 +09:00
2023-05-15 12:46:28 +09:00
2023-06-29 09:26:11 +09:00
2023-05-16 09:58:13 +09:00
2023-06-29 09:26:07 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 08:28:33 +09:00
2023-05-15 16:59:11 +09:00