summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-05-26 11:02:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-14 16:59:33 +0200
commit657e7174603f0aab2cdedc64ac81edffd2a87afe (patch)
tree8ac5fda18055d3f29485bff4feebbe84d260899c /scripts
parent2798944556a2ba898b945cc0b06fb4aaff2a9e3c (diff)
net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
[ Upstream commit e7e7104e2d5ddf3806a28695670f21bef471f1e1 ] The "fsp->location" variable comes from user via ethtool_get_rxnfc(). Check that it is valid to prevent an out of bounds read. Fixes: 7aab747e5563 ("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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions