INFO: task syz-executor.1:5261 blocked for more than 143 seconds.
Not tainted 6.8.0-rc2-syzkaller-00251-g6897cea71837 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:28256 pid:5261 tgid:5260 ppid:5095 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf12/0x5c60 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe9/0x280 kernel/sched/core.c:6817
schedule_timeout+0x25b/0x2a0 kernel/time/timer.c:2159
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3e4/0x600 kernel/sched/completion.c:116
__flush_workqueue+0x3e0/0x1340 kernel/workqueue.c:3198
nbd_start_device_ioctl drivers/block/nbd.c:1443 [inline]
__nbd_ioctl drivers/block/nbd.c:1504 [inline]
nbd_ioctl+0x308/0xd60 drivers/block/nbd.c:1544
blkdev_ioctl+0x2f7/0x770 block/ioctl.c:634
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl fs/ioctl.c:857 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7fd4b727dda9
RSP: 002b:00007fd4b7f4d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fd4b73abf80 RCX: 00007fd4b727dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007fd4b72ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fd4b73abf80 R15: 00007fff1e561538
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by getty/4815:
#0: ffff88802aa060a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201
4 locks held by syz-executor.4/5103:
2 locks held by kworker/u5:4/5108:
#0: ffff8880206a4138 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608
#1: ffffc90003817d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609
2 locks held by kworker/u4:11/13968:
7 locks held by kworker/0:9/24678:
#0: ffff88801929ad38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608
#1: ffffc9000d4bfd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609
#2: ffff888023d43190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#2: ffff888023d43190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e20 drivers/usb/core/hub.c:5793
#3: ffff88806f66e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#3: ffff88806f66e190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2248
#4: ffff8880398fb160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#4: ffff8880398fb160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff8880398fb160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292
#5: ffffffff8eb8e8c8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2219
#6: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#6: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b5/0x800 kernel/rcu/tree_exp.h:995
2 locks held by kworker/0:10/24691:
#0: ffff888014c8e938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608
#1: ffffc9000d4cfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609
6 locks held by kworker/0:0/13607:
#0: ffff88801929ad38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608
#1: ffffc90010127d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609
#2: ffff888023c73190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#2: ffff888023c73190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e20 drivers/usb/core/hub.c:5793
#3: ffff888023c76510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3151 [inline]
#3: ffff888023c76510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5362 [inline]
#3: ffff888023c76510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5605 [inline]
#3: ffff888023c76510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5765 [inline]
#3: ffff888023c76510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2802/0x4e20 drivers/usb/core/hub.c:5847
#4: ffff88801c740288 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5363 [inline]
#4: ffff88801c740288 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5605 [inline]
#4: ffff88801c740288 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5765 [inline]
#4: ffff88801c740288 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x282b/0x4e20 drivers/usb/core/hub.c:5847
#5: ffff8880b943cc98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:567 [inline]
#5: ffff8880b943cc98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:552
4 locks held by udevd/6204:
#0: ffff8880875f87f0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1: ffff88803a0cdc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2: ffff888087b544e0 (kn->active#24){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3: ffff88806f66e190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline]
#3: ffff88806f66e190 (&dev->mutex){....}-{3:3}, at: product_show+0x26/0xa0 drivers/usb/core/sysfs.c:141
1 lock held by syz-executor.4/13418:
#0: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x800 kernel/rcu/tree_exp.h:995
1 lock held by vhost-13422/13423:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-syzkaller-00251-g6897cea71837 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf87/0x1210 kernel/hung_task.c:379
kthread+0x2c6/0x3b0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.8.0-rc2-syzkaller-00251-g6897cea71837 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:select_idle_cpu kernel/sched/fair.c:7358 [inline]
RIP: 0010:select_idle_sibling kernel/sched/fair.c:7600 [inline]
RIP: 0010:select_task_rq_fair+0xc7f/0x43b0 kernel/sched/fair.c:8201
Code: 83 00 8b 45 08 41 bd 01 00 00 00 48 c7 c5 60 4c 9d 8f 48 8b 74 24 08 85 c0 48 8d 96 18 04 00 00 0f 84 9b 1b 00 00 48 89 14 24 <49> c7 c6 58 89 02 00 e8 85 8c 62 09 48 8b 14 24 83 f8 07 89 c3 0f
RSP: 0018:ffffc900001f0c10 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 00000000000218c0 RCX: 0000000000000000
RDX: ffff88802ada5d58 RSI: 0000000000000009 RDI: ffff8880b943cd5c
RBP: ffffffff8f9d4c60 R08: ffff88802ada5d68 R09: 000000000003cc80
R10: ffffffff93d45fc7 R11: ffffffff8160dea6 R12: ffff8880162ff000
R13: 0000000000000000 R14: ffff88802ada5d58 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31c23000 CR3: 000000007bdd0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
select_task_rq kernel/sched/core.c:3639 [inline]
try_to_wake_up+0x3ea/0x13e0 kernel/sched/core.c:4354
hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1942
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x203/0xc30 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
__sysvec_apic_timer_interrupt+0x108/0x400 arch/x86/kernel/apic/apic.c:1082
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline]
RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline]
RIP: 0010:acpi_safe_halt+0x1b/0x30 drivers/acpi/processor_idle.c:113
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 40 c2 03 00 48 8b 00 a8 08 75 0c 66 90 0f 00 2d c7 58 b6 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90
RSP: 0018:ffffc90000187d58 EFLAGS: 00000246
RAX: 0000000000004000 RBX: 0000000000000001 RCX: ffffffff8ac36beb
RDX: 0000000000000001 RSI: ffff88801c6b0800 RDI: ffff88801c6b0864
RBP: ffff88801c6b0864 R08: 0000000000000001 R09: ffffed10172a6ded
R10: ffff8880b9536f6b R11: 0000000000000000 R12: ffff888016baf800
R13: ffffffff8e3111c0 R14: 0000000000000001 R15: 0000000000000000
acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:707
cpuidle_enter_state+0x85/0x510 drivers/cpuidle/cpuidle.c:267
cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:388
cpuidle_idle_call kernel/sched/idle.c:215 [inline]
do_idle+0x31d/0x400 kernel/sched/idle.c:312
cpu_startup_entry+0x50/0x60 kernel/sched/idle.c:410
start_secondary+0x220/0x2b0 arch/x86/kernel/smpboot.c:336
secondary_startup_64_no_verify+0x170/0x17b