[bionic]mlx5: reading SW stats through ifstat cause kernel crash
Bug #1799049 reported by
Talat Batheesh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
Description of problem:
Attempting to read SW stats (ifstat -x cpu_hit) on a system with probed VFs will crash the system.
How reproducible:
Always
Steps to Reproduce:
1. Create a VF
echo 1 > /sys/bus/
2. read SW stats:
ifstat -x cpu_hit
Actual results:
System will crash
Expected results:
No system crash
Additional info:
The reason for the crash is insufficient check on the helper that determines if a netdev is vf rep.
will crash:
$ ifstat -x cpu_hit
will not crash:
$ ifstat -x cpu_hit $VF_REP
$ ifstat -x cpu_hit $UPLINK_REP
We already have a fix for this issue, and it is accepted upstream.
https:/
CVE References
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: |
added: kernel-fixup-verification-needed-bionic removed: verification-needed-bionic |
tags: | added: cscc |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1799049
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.