kernel BUG in new r8188eu

Larry Finger
2021-07-30T19:59:50Z

Greg,

When I unplug the USB device with the driver loaded, I get the following BUG and
my laptop freezes:

kernel: BUG: unable to handle page fault for address: ffffeb0200043248
kernel: #PF: supervisor read access in kernel mode
kernel: #PF: error_code(0x0000) - not-present page

The traceback points to a kfree() call. I do not understand this BUG. Can you
explain what happens?

I think I know how to avoid the BUG, but that might be at the expense of a
memory leak.

Thanks,

Larry