Kernel panic at xhci_clear_tt_buffer_complete() during USB hot plug operation.
Issue
- Kernel panic with below logs during USB hot plug testing.
[ 1130.453392] usb 1-1.2: USB disconnect, device number 96
[ 1133.452998] usb 1-1.2: new low-speed USB device number 97 using xhci_hcd
[ 1133.545073] usb 1-1.2: device descriptor read/all, error -32
[ 1133.575183] BUG: unable to handle kernel NULL pointer dereference at 0000000000000610
[ 1133.583152] PGD 0 P4D 0
[ 1133.585834] Oops: 0000 [#1] SMP NOPTI
[ 1133.589643] CPU: 15 PID: 7031 Comm: kworker/15:2 Kdump: loaded Not tainted 4.18.0-240.el8.x86_64 #1
[ 1133.598846] Hardware name: Inspur NF5180A6/NF5180A6, BIOS 6.00.03 06/20/2023
[ 1133.606066] Workqueue: events hub_tt_work
[ 1133.610250] RIP: 0010:xhci_clear_tt_buffer_complete+0x30/0xb0
..
[ 1133.702211] Call Trace:
[ 1133.704906] hub_tt_work+0x15e/0x1a0
[ 1133.708726] process_one_work+0x1a7/0x360
[ 1133.712975] worker_thread+0x30/0x390
[ 1133.716873] ? create_worker+0x1a0/0x1a0
[ 1133.721039] kthread+0x112/0x130
[ 1133.724515] ? kthread_flush_work_fn+0x10/0x10
[ 1133.729236] ret_from_fork+0x22/0x40
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.