INFO: task kworker/1:5:5292 blocked for more than 143 seconds.
Not tainted 6.5.0-rc3-syzkaller-00067-gba0b3af70630 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:5 state:D stack:22608 pid:5292 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0xc79/0x30a0 kernel/sched/core.c:6710
schedule+0xe7/0x1b0 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
del_gendisk+0x276/0xab0 block/genhd.c:660
sd_remove+0x89/0xf0 drivers/scsi/sd.c:3735
device_remove drivers/base/dd.c:569 [inline]
device_remove+0x11f/0x170 drivers/base/dd.c:561
__device_release_driver drivers/base/dd.c:1270 [inline]
device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1293
bus_remove_device+0x22c/0x420 drivers/base/bus.c:574
device_del+0x39a/0xa40 drivers/base/core.c:3814
__scsi_remove_device+0x30c/0x3f0 drivers/scsi/scsi_sysfs.c:1489
scsi_forget_host+0x138/0x190 drivers/scsi/scsi_scan.c:1987
scsi_remove_host+0x153/0x430 drivers/scsi/hosts.c:181
quiesce_and_remove_host drivers/usb/storage/usb.c:867 [inline]
usb_stor_disconnect+0x121/0x270 drivers/usb/storage/usb.c:1087
usb_unbind_interface+0x1dd/0x8d0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
device_remove+0x11f/0x170 drivers/base/dd.c:561
__device_release_driver drivers/base/dd.c:1270 [inline]
device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1293
bus_remove_device+0x22c/0x420 drivers/base/bus.c:574
device_del+0x39a/0xa40 drivers/base/core.c:3814
usb_disable_device+0x36c/0x7f0 drivers/usb/core/message.c:1421
usb_disconnect+0x2e1/0x890 drivers/usb/core/hub.c:2276
hub_port_connect drivers/usb/core/hub.c:5284 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5589 [inline]
port_event drivers/usb/core/hub.c:5749 [inline]
hub_event+0x2221/0x5330 drivers/usb/core/hub.c:5831
process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597
worker_thread+0x687/0x1110 kernel/workqueue.c:2748
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296
RIP: 0000:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
INFO: task udevd:7966 blocked for more than 143 seconds.
Not tainted 6.5.0-rc3-syzkaller-00067-gba0b3af70630 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25632 pid:7966 ppid:2372 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0xc79/0x30a0 kernel/sched/core.c:6710
schedule+0xe7/0x1b0 kernel/sched/core.c:6786
blk_queue_enter+0x3aa/0x620 block/blk-core.c:326
blk_mq_alloc_request+0x416/0x860 block/blk-mq.c:592
scsi_alloc_request drivers/scsi/scsi_lib.c:1139 [inline]
scsi_execute_cmd+0x129/0x770 drivers/scsi/scsi_lib.c:217
ioctl_internal_command.constprop.0+0xe6/0x3e0 drivers/scsi/scsi_ioctl.c:79
scsi_set_medium_removal+0x12d/0x1f0 drivers/scsi/scsi_ioctl.c:139
sd_release+0x10b/0x130 drivers/scsi/sd.c:1423
blkdev_put_whole+0xa5/0xe0 block/bdev.c:680
blkdev_put+0x40f/0x8e0 block/bdev.c:915
blkdev_release+0x82/0xa0 block/fops.c:532
__fput+0x3fd/0xac0 fs/file_table.c:384
task_work_run+0x14d/0x240 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
exit_to_user_mode_prepare+0x1e4/0x1f0 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5af07690a8
RSP: 002b:00007ffc4d3b95c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f5af063dae0 RCX: 00007f5af07690a8
RDX: 000055c4ee2bbad2 RSI: 00007ffc4d3b8dc8 RDI: 0000000000000001
RBP: 000055c1b2303e10 R08: 0000000000000006 R09: ccc27ad4e8da6149
R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002
R13: 000055c1b22f46f0 R14: 0000000000000001 R15: 000055c1b22e2910
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff87ea7370 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/13:
#0: ffffffff87ea7070 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff87ea7f80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
3 locks held by klogd/2361:
#0: ffff8881f663b218 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:558 [inline]
#0: ffff8881f663b218 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1366 [inline]
#0: ffff8881f663b218 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1675 [inline]
#0: ffff8881f663b218 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x290/0x30a0 kernel/sched/core.c:6627
#1: ffffffff8800d360 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: fs_reclaim_acquire+0xb6/0x160 mm/page_alloc.c:3615
#2: ffff88811637e0b8 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xa9/0x12c0 kernel/sched/core.c:4229
2 locks held by getty/2430:
#0: ffff88810b76e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187
6 locks held by kworker/1:3/5259:
8 locks held by kworker/1:5/5292:
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567
#1: ffffc90001e4fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571
#2: ffff8881063f0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline]
#2: ffff8881063f0190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777
#3: ffff88810f27f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline]
#3: ffff88810f27f190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x890 drivers/usb/core/hub.c:2267
#4: ffff888112e5e160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline]
#4: ffff888112e5e160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline]
#4: ffff888112e5e160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290
#5: ffff8881434440e0 (&shost->scan_mutex){+.+.}-{3:3}, at: scsi_remove_host+0x2c/0x430 drivers/scsi/hosts.c:169
#6: ffff88811dc5c370 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline]
#6: ffff88811dc5c370 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline]
#6: ffff88811dc5c370 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290
#7: ffff888114321358 (&disk->open_mutex){+.+.}-{3:3}, at: del_gendisk+0x276/0xab0 block/genhd.c:660
3 locks held by kworker/0:6/5355:
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff88810ce5c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567
#1: ffffc9000223fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571
#2:
ffff888102714190
(&dev->mutex
){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline]
){....}-{3:3}, at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777
1 lock held by udevd/7966:
#0: ffff888114321358 (&disk->open_mutex
){+.+.}-{3:3}, at: blkdev_put+0xb0/0x8e0 block/bdev.c:901
3 locks held by kworker/1:9/19318:
6 locks held by kworker/1:1/24073:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc3-syzkaller-00067-gba0b3af70630 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x27b/0x2e0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf29/0x11b0 kernel/hung_task.c:379
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296
RIP: 0000:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2372 Comm: udevd Not tainted 6.5.0-rc3-syzkaller-00067-gba0b3af70630 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0033:0x7f5af07b33aa
Code: cd db fd c5 fd d7 cf ff c1 75 78 eb 11 0f 1f 00 f3 0f bc c0 0f b6 0c 06 0f b6 04 07 29 c8 0f 01 d6 74 04 c5 fc 77 c3 c5 f8 77 0f 1f 44 00 00 f3 0f bc c0 0f b6 4c 06 20 0f b6 44 07 20 29 c8
RSP: 002b:00007ffc4d3b97b8 EFLAGS: 00000242
RAX: 0000000000000002 RBX: 000055c1b2c7a040 RCX: 0000000000000062
RDX: 0000000000000020 RSI: 000055c1b2c77054 RDI: 000055c1b2964dc4
RBP: 000055c1b29652e0 R08: 0000000000000030 R09: 0000000000000020
R10: 000055c4eedc86b0 R11: 0000000000000012 R12: 000000000001936b
R13: 000055c1b2964dc4 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f5af063dc80 GS: 0000000000000000