i40e: Setting VF MAC address causes General Protection Fault
Bug #1852432 reported by
Heitor Alves de Siqueira
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Heitor Alves de Siqueira | ||
Bionic |
Fix Released
|
High
|
Heitor Alves de Siqueira | ||
Disco |
Fix Released
|
High
|
Heitor Alves de Siqueira | ||
Eoan |
Fix Released
|
High
|
Heitor Alves de Siqueira | ||
Focal |
Fix Released
|
High
|
Heitor Alves de Siqueira |
Bug Description
[Impact]
* Creating SR-IOV enabled VMs in Openstack can sometimes trigger the GPF and leave system unusable
[Test Case]
* Continuously spin up VFs and set MAC address with e.g. ifconfig
[Fix]
* The fix updates the VSI pointer passed down to i40e_set_vf_mac function() if the adapter is still in reset, preventing the GPF.
[Regression Potential]
* Regression potential should be low, as we're now updating the VSI using the ID stored in the VF pointer
* Regressions could arise from issues in VF creation or reset, as that would corrupt the new VSI pointer
* Patch was validated and tested in a production environment
CVE References
description: | updated |
Changed in linux (Ubuntu Eoan): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Disco): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Eoan): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Disco): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Eoan): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
Changed in linux (Ubuntu Disco): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Heitor Alves de Siqueira (halves) |
no longer affects: | linux (Ubuntu Xenial) |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- disco' to 'verification- done-disco' . If the problem still exists, change the tag 'verification- needed- disco' to 'verification- failed- disco'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!