Skip to contentSkip to conversation

ice: Fix memory corruption in VF driver

PATCH In review Mateusz Palczewski 1 participant 1 message Jun 2, 2022

lore
Share & tools
lore
#0 lore raw

v2 cover ice: Fix memory corruption in VF driver

Disable VF queues, when VF requests reset. Add error handling for VIRTCHNL_OP_CONFIG_VSI_QUEUES handler. Without this patch VF driver could experience memory corruption, which lead to crash:

BUG: unable to handle kernel paging request at 00001b9780003237

---
v2: Edit commit msg to have additional informations, add missing fixes tag

Przemyslaw Patynowski (2):
ice: Fix queue config fail handling
ice: Fix memory corruption in VF driver

 drivers/net/ethernet/intel/ice/ice_vf_lib.c   |  5 ++
 drivers/net/ethernet/intel/ice/ice_virtchnl.c | 53 +++++++++----------
 2 files changed, 31 insertions(+), 27 deletions(-)
Signature · 6 lines
2.27.0

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan