четверг

[Bug 1799049] Re: [bionic]mlx5: reading SW stats through ifstat cause kernel crash

** Changed in: linux (Ubuntu Bionic)
Status: In Progress => Fix Committed

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/1799049

Title:
[bionic]mlx5: reading SW stats through ifstat cause kernel crash

Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Bionic:
Fix Committed

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/pci/devices/0000\:82\:00.0/sriov_numvfs

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://patchwork.ozlabs.org/patch/935193/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1799049/+subscriptions

Комментариев нет:

Отправить комментарий