ice: fix validation issues in virtchnl parameters
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 9 repliesIn review
- v25 patches 11 repliesSuperseded
- v14 patches 2 repliesSuperseded
v3 -> v2 from the cover letter
removed redundant check and fixed kfree being called on uninitialized var in 5. patch
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | virtchnl: make proto and filter action count unsignedinclude/ | +2 | 5 replies | |
| 2/5 | ice: stop truncating queue ids when checkingdrivers/ | +1 | 1 reply | |
| 3/5 | ice: validate queue quanta parameters to prevent OOB accessdrivers/ | +9 | 1 reply | |
| 4/5 | ice: fix input validation for virtchnl BWdrivers/ | +21 | 1 reply | |
| 5/5 | ice: fix using untrusted value of pkt_len in ice_vc_fdir_parse_raw()drivers/ | +15 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jedrzej Jagielski | Simon Horman | Aleksandr Loktionov | Przemek Kitszel | Rafal Romanowski |
|---|---|---|---|---|---|
| 1/5 | R-b | R-b | T-b | ||
| 2/5 | R-b | R-b | R-b | T-b | |
| 3/5 | R-b | R-b | T-b | ||
| 4/5 | R-b | R-b | T-b | ||
| 5/5 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [iwl-net v3 0/5] ice: fix validation issues in virtchnl parameters
This patch series addresses validation issues in the virtchnl interface of the ice driver. These fixes correct improper value checking, ensuring that the driver can properly handle and reject invalid inputs from potentially malicious VFs. By fixing validation mechanisms, these patches strictly enforce existing constraints to prevent out-of-bounds scenarios, making the system more robust against incorrect or unexpected data.
---
v3 -> v2:
removed redundant check and fixed kfree being called on uninitialized var in 5. patch
v2 -> v1:
attached Mateusz's related patch
rephrase some commit messages to indicate that this are fixes and should target net
---
Jan Glaza (3):
virtchnl: make proto and filter action count unsigned
ice: stop truncating queue ids when checking
ice: validate queue quanta parameters to prevent OOB access
Lukasz Czapnik (1):
ice: fix input validation for virtchnl BW
Mateusz Polchlopek (1):
ice: fix using untrusted value of pkt_len in ice_vc_fdir_parse_raw()
drivers/net/ethernet/intel/ice/ice_virtchnl.c | 39 +++++++++++++++---- .../ethernet/intel/ice/ice_virtchnl_fdir.c | 24 +++++++----- include/linux/avf/virtchnl.h | 4 +- 3 files changed, 48 insertions(+), 19 deletions(-)
Signature · 1 line
2.47.0