On 2/25/25 10:08, Martyna Szapar-Mudlaw wrote:
From: Mateusz Polchlopek <[email protected]>Fix using the untrusted value of proto->raw.pkt_len in function ice_vc_fdir_parse_raw() by verifying if it does not exceed the VIRTCHNL_MAX_SIZE_RAW_PACKET value. Fixes: 99f419df8a5c ("ice: enable FDIR filters from raw binary patterns for VFs") Signed-off-by: Mateusz Polchlopek <[email protected]> Signed-off-by: Martyna Szapar-Mudlaw <[email protected]> --- .../ethernet/intel/ice/ice_virtchnl_fdir.c | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)
Reviewed-by: Przemek Kitszel <[email protected]>
