INFO: task syz-executor.4:16608 blocked for more than 143 seconds. Not tainted 5.4.0-rc3+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28040 16608 7927 0x00004004 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x74b/0xb80 kernel/sched/core.c:4069 schedule+0x131/0x1e0 kernel/sched/core.c:4136 schedule_timeout+0x46/0x240 kernel/time/timer.c:1871 do_wait_for_common+0x2e7/0x4d0 kernel/sched/completion.c:83 __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x47/0x60 kernel/sched/completion.c:136 flush_workqueue+0x60d/0x14b0 kernel/workqueue.c:2826 nbd_start_device_ioctl drivers/block/nbd.c:1272 [inline] __nbd_ioctl drivers/block/nbd.c:1347 [inline] nbd_ioctl+0x9d2/0xac0 drivers/block/nbd.c:1387 __blkdev_driver_ioctl block/ioctl.c:304 [inline] blkdev_ioctl+0x807/0x2980 block/ioctl.c:606 block_ioctl+0xbd/0x100 fs/block_dev.c:1954 do_vfs_ioctl+0x744/0x1730 fs/ioctl.c:46 ksys_ioctl fs/ioctl.c:713 [inline] __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0xe3/0x120 fs/ioctl.c:718 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a59 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <90> 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00007f945ace5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f945ace66d4 R13: 00000000004c33ab R14: 00000000004d70e8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1070: #0: ffffffff888d3f80 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 2 locks held by rsyslogd/7790: #0: ffff888095e85420 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 #1: ffff8880aea34998 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #1: ffff8880aea34998 (&rq->lock){-.-.}, at: __schedule+0xd6/0xb80 kernel/sched/core.c:4017 2 locks held by getty/7880: #0: ffff8880916e6090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7881: #0: ffff888099674090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f252e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7882: #0: ffff8880a2c2f090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f312e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7883: #0: ffff8880a8bc8090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f092e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7884: #0: ffff8880960d3090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f152e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7885: #0: ffff8880a107d090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7886: #0: ffff8880a1a6a090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f012e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by kworker/u5:3/8358: #0: ffff8880984b9d28 ((wq_completion)knbd4-recv){+.+.}, at: spin_unlock_irq include/linux/spinlock.h:388 [inline] #0: ffff8880984b9d28 ((wq_completion)knbd4-recv){+.+.}, at: process_one_work+0x75d/0x10e0 kernel/workqueue.c:2242 #1: ffff888058b5fd78 ((work_completion)(&args->work)){+.+.}, at: process_one_work+0x79f/0x10e0 kernel/workqueue.c:2244 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1070 Comm: khungtaskd Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x2f8 lib/dump_stack.c:113 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace+0x17/0x20 include/linux/nmi.h:146 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xbb9/0xbd0 kernel/hung_task.c:289 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x4f/0x2a0 lib/smp_processor_id.c:52 Code: 8b 1d b1 bf b9 7c 89 de 81 e6 ff ff ff 7f 31 ff e8 06 fe 2a fe 81 e3 ff ff ff 7f 74 17 e8 59 fa 2a fe 44 89 e8 48 83 c4 10 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c0 e8 91 8a 88 48 c1 e8 03 48 RSP: 0018:ffff8880aea09f48 EFLAGS: 00000082 RAX: 0000000000000000 RBX: ffffffff88875a00 RCX: ffffffff88875a00 RDX: 0000000080010001 RSI: 0000000000010001 RDI: 0000000000000000 RBP: ffff8880aea09f68 R08: ffffffff83483e2a R09: fffffbfff110eb41 R10: fffffbfff110eb41 R11: 0000000000000000 R12: ffffffff88577100 R13: 0000000000000000 R14: ffffffff884f2b90 R15: ffffffff8839213d FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000009c5cd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_smp_processor_id+0x1c/0x20 lib/smp_processor_id.c:57 scheduler_ipi+0x200/0x4a0 kernel/sched/core.c:2344 smp_reschedule_interrupt+0x7a/0xa0 arch/x86/kernel/smp.c:244 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:854 RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61 Code: 33 fa eb ae 89 d9 80 e1 07 80 c1 03 38 c1 7c ba 48 89 df e8 94 d6 33 fa eb b0 90 90 e9 07 00 00 00 0f 00 2d 66 f9 49 00 fb f4 90 e9 07 00 00 00 0f 00 2d 56 f9 49 00 f4 c3 90 90 55 48 89 e5 RSP: 0018:ffffffff88807dc0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02 RAX: 1ffffffff1115241 RBX: ffffffff88875a00 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff812b7c7a RDI: ffffffff88876244 RBP: ffffffff88807dc8 R08: ffffffff88876258 R09: fffffbfff110eb41 R10: fffffbfff110eb41 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffffffff110eb40 R14: dffffc0000000000 R15: 1ffffffff111523f arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:571 default_idle_call+0x59/0xa0 kernel/sched/idle.c:94 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x140/0x670 kernel/sched/idle.c:263 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:355 rest_init+0x29d/0x2b0 init/main.c:451 arch_call_rest_init+0xe/0x10 start_kernel+0x6d1/0x7d2 init/main.c:784 x86_64_start_reservations+0x18/0x2e arch/x86/kernel/head64.c:472 x86_64_start_kernel+0x7a/0x7d arch/x86/kernel/head64.c:453 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241