INFO: task kworker/0:16:6712 blocked for more than 146 seconds.
Not tainted 5.15.181-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:16 state:D stack:23872 pid: 6712 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x11b8/0x43b0 kernel/sched/core.c:6376
schedule+0x11b/0x1e0 kernel/sched/core.c:6459
usb_kill_urb+0x1c6/0x2f0 drivers/usb/core/urb.c:726
usb_start_wait_urb+0x189/0x4b0 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x22f/0x3e0 drivers/usb/core/message.c:153
get_bMaxPacketSize0 drivers/usb/core/hub.c:4750 [inline]
hub_port_init+0xb4d/0x28f0 drivers/usb/core/hub.c:4947
hub_port_connect drivers/usb/core/hub.c:5396 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5607 [inline]
port_event drivers/usb/core/hub.c:5753 [inline]
hub_event+0x2535/0x4fa0 drivers/usb/core/hub.c:5835
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11be60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3937:
#0: ffff88814ce4a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900025ae2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
5 locks held by kworker/0:16/6712:
#0: ffff8881425c3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc9000344fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
#2: ffff888024ae2220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888024ae2220 (&dev->mutex){....}-{3:3}, at: hub_event+0x18f/0x4fa0 drivers/usb/core/hub.c:5781
#3: ffff888024ae55c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3138 [inline]
#3: ffff888024ae55c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5363 [inline]
#3: ffff888024ae55c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5607 [inline]
#3: ffff888024ae55c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5753 [inline]
#3: ffff888024ae55c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1e4d/0x4fa0 drivers/usb/core/hub.c:5835
#4: ffff888022cc3668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5364 [inline]
#4: ffff888022cc3668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5607 [inline]
#4: ffff888022cc3668 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5753 [inline]
#4: ffff888022cc3668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1e7a/0x4fa0 drivers/usb/core/hub.c:5835
2 locks held by syz-executor/6750:
#0: ffff88801ff33d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff8881473fc468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xaa/0xb90 drivers/block/loop.c:1366
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.181-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe0f/0xe50 kernel/hung_task.c:369
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.181-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:hlock_class kernel/locking/lockdep.c:209 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4686 [inline]
RIP: 0010:__lock_acquire+0x525/0x7c60 kernel/locking/lockdep.c:4962
Code: ff 1f 00 00 41 c1 ed 03 41 81 e5 f8 03 00 00 49 8d bd c0 90 f9 8f be 08 00 00 00 e8 25 47 61 00 48 0f a3 1d ed a4 9d 0e 73 1f <48> 8d 04 5b c1 e0 06 48 8d 98 80 0f 92 8f 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc9000174f820 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000015 RCX: ffffffff815bebcb
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff990c0
RBP: ffffc9000174fa70 R08: dffffc0000000000 R09: fffffbfff1ff3219
R10: fffffbfff1ff3219 R11: 1ffffffff1ff3218 R12: ffff88801ba9a920
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801ba9a900
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fba4c04eab8 CR3: 0000000029e3c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312
rcu_read_lock include/linux/rcupdate.h:739 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0xc9/0x5c0 net/batman-adv/network-coding.c:723
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287