kernel_samsung_a53x/drivers/net/ethernet/intel/i40e
Sudheer Mogilappagari c8930ca741 i40e: Fix filter input checks to prevent config with invalid values
[ Upstream commit 3e48041d9820c17e0a51599d12e66c6e12a8d08d ]

Prevent VF from configuring filters with unsupported actions or use
REDIRECT action with invalid tc number. Current checks could cause
out of bounds access on PF side.

Fixes: e284fc280473 ("i40e: Add and delete cloud filter")
Reviewed-by: Andrii Staikov <andrii.staikov@intel.com>
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:06 +01:00
..
i40e.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq_cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_alloc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_client.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_common.c i40e: prevent crash on probe if hw registers have invalid values 2024-11-08 11:26:10 +01:00
i40e_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_dcb_nl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ddp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_devids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_diag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_diag.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_hmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_hmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_lan_hmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_lan_hmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_main.c i40e: Fix unexpected MFS warning message 2024-11-18 12:11:39 +01:00
i40e_nvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_osdep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_prototype.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_register.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_status.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_txrx.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
i40e_txrx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_txrx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_virtchnl_pf.c i40e: Fix filter input checks to prevent config with invalid values 2024-11-18 12:12:06 +01:00
i40e_virtchnl_pf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_xsk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_xsk.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00