Bug 8640 - kernel crash when nmcli device disconnect
Summary: kernel crash when nmcli device disconnect
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S1-blocker
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 10:51 UTC by wangchuanguo_lc
Modified: 2024-03-26 10:55 UTC (History)
2 users (show)

See Also:


Attachments
vmcore-dmesg (300.70 KB, text/plain)
2024-03-26 10:51 UTC, wangchuanguo_lc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wangchuanguo_lc inspur_group 2024-03-26 10:51:38 UTC
Created attachment 1112 [details]
vmcore-dmesg

Description of problem:
kernel crash when do cmd 'nmcli device disconnect ***' after rmmod ice and modprobe ice

Version-Release number of selected component (if applicable):
kernel: 4.19.91-26.6
ice: 1.11.14

How reproducible:
The triggering probability is very high


Steps to Reproduce:
1、install kernel-4.19.91-26.* and ice-1.11.14
2、rmmod ice && modprobe ice
3、nmcli device disconnect enp65s0f0 (.e.g for device name)

Actual results:
kernel crash

Expected results:
kernel do not crash

Additional info:
Comment 1 wangchuanguo_lc inspur_group 2024-03-26 10:52:58 UTC
https://gitee.com/src-anolis-sig/kmod-ice/tree/version-4.19-1.9.11/ 
works well.
Comment 2 wangchuanguo_lc inspur_group 2024-03-26 10:55:07 UTC
The crash location is here:  
ida_free()
{
   BUG_ON((int)id < 0);

}