[Dell Docking IE][0bda:8153] Realtek USB Ethernet leads to system hang
Bug #1720977 reported by
AceLan Kao
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
AceLan Kao | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
AceLan Kao | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
There is a USB Ethernet port, 0bda:8153, on Dell IE Docking.
After plugged in the docking, system hard hangs.
[Fix]
This issue has been fix after v4.11-rc4, so after bisecting the kernel, we found the first bad commit, and realized this issue is from Realtek USB Ethernet driver with a non-initialized list.
98d068a r8152: fix the list rx_done may be used without initialization
[Test Case]
Verified on the Dell XPS and IE docking, and confirm this patch works.
[Regression Potential]
It's a one line patch and do the initialization of the list variable, there should be no any regression would be resulted from this.
CVE References
tags: | added: originate-from-1696374 somerville |
Changed in hwe-next: | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Zesty): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in hwe-next: | |
status: | New → Fix Committed |
Changed in hwe-next: | |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
commit 98d068ab52b4b11 d403995ed141546 60797e7136
Author: hayeswang <email address hidden>
Date: Tue Mar 14 14:15:20 2017 +0800
r8152: fix the list rx_done may be used without initialization
The list rx_done would be initialized when the linking on occurs.
Therefore, if a napi is scheduled without any linking on before,
the following kernel panic would happen.
BUG: unable to handle kernel NULL pointer dereference at 000000000000008 fde>] r8152_poll+ 0xe1e/0x1210 [r8152]
IP: [<ffffffffc085e
PGD 0
Oops: 0002 [#1] SMP
Signed-off-by: Hayes Wang <email address hidden>
Signed-off-by: David S. Miller <email address hidden>