Bug 200301 - reproducible kernel panic with Linux 4.17, events_unbound call_usermodehelper_exec_work, BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
Summary: reproducible kernel panic with Linux 4.17, events_unbound call_usermodehelper...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Intel Linux
: P1 blocking
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-27 08:46 UTC by Andrey Arapov
Modified: 2018-07-24 07:30 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.17.3, 4.17.9
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
kernel panic log (1.59 MB, image/jpeg)
2018-06-27 08:46 UTC, Andrey Arapov
Details

Description Andrey Arapov 2018-06-27 08:46:44 UTC
Created attachment 276903 [details]
kernel panic log

Hello,

it appears that the Linux 4.17 kernels are getting kernel panic whenever I am plugging my wifi dongle - TP-Link TL-WN722N v2, shortly after "R8188EU: assoc success" message in dmesg.

That device is supported by the Linux kernel starting v4.13-rc2 https://github.com/torvalds/linux/commit/5a1d4c5dd4eb2f1f8a9b30e61762f3b3b564df70

I have never experienced this bug on the kernels up to 4.16.15 (including).


Please see the kernel panic log is attached as a screenshot.

Since I can reproduce it, please let me know if you need the whole log and please let me know how can I save it, since "dmesg -T -w | tee bug.log" running along with the "while true; do sleep 0.1; sync; done" did not really help, the "bug.log" just ended with the "R8188EU: assoc success" message.

keywords: events_unbound call_usermodehelper_exec_work, BUG: unable to handle kernel NULL pointer dereference at 0000000000000000

Thanks,

Kind regards,
Andrey Arapov
Comment 1 Andrey Arapov 2018-07-24 06:25:59 UTC
4.17.9 from https://www.kernel.org has the same issue. I am pretty sure the whole 4.17 line has it.

As long as my wifi dongle boots up or when I am trying to re/connect to a WiFi, the kernel would just panic.
Comment 2 Andrey Arapov 2018-07-24 06:41:01 UTC
Some people say that this is a WiFi driver issue and that building it from source might help.

I will try it and will reply here.

- https://ask.fedoraproject.org/en/question/123443/kernel-417-wifi-usb-restarts/?answer=123829#post-id-123829
- https://github.com/quickreflex/rtl8188eus
Comment 3 Andrey Arapov 2018-07-24 07:30:09 UTC
So I have tried the 4.17.9 with https://github.com/lwfinger/rtl8188eu.git and it looks like it is working. I will report in here in case if I will see the problem with it.

# modprobe -r r8188eu
# echo 'blacklist r8188eu' | tee /etc/modprobe.d/50-8188eu.conf

# git clone https://github.com/lwfinger/rtl8188eu.git
# dkms add ./rtl8188eu
# dkms install 8188eu/1.0
# modprobe 8188eu

P.S.

The https://github.com/quickreflex/rtl8188eus - did not work for me. My wifi dongle did not show the light at all.

Note You need to log in before you can comment on or make changes to this bug.