NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 INFO: task syz-executor.1:31548 blocked for more than 140 seconds. Not tainted 4.19.113-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28416 31548 8056 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3559 schedule_timeout+0x896/0xf20 kernel/time/timer.c:1782 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x26a/0x3c0 kernel/sched/completion.c:136 flush_workqueue+0x40f/0x14b0 kernel/workqueue.c:2715 nbd_start_device_ioctl drivers/block/nbd.c:1262 [inline] __nbd_ioctl drivers/block/nbd.c:1333 [inline] nbd_ioctl+0x502/0xb80 drivers/block/nbd.c:1373 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xbf7/0x1a1c block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1894 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcda/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: Bad RIP value. RSP: 002b:00007fc1bb7e6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc1bb7e76d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000003ff R14: 00000000004c69b5 R15: 000000000076bf0c Showing all locks held in the system: 1 lock held by khungtaskd/1079: #0: 00000000eb73a6d9 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4436 1 lock held by rsyslogd/7886: #0: 00000000cb2f42f5 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:767 2 locks held by getty/8009: #0: 00000000690cd8c0 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000019089a0e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8010: #0: 000000004b77ee16 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000000c1bead6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8011: #0: 000000001b6aecb2 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000009be1121b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8012: #0: 00000000560164c2 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000e865af39 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8013: #0: 0000000051d5fc3a (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000076ecdc58 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8014: #0: 000000001cb74031 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000008766caa5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8015: #0: 00000000605163f5 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000089fe81f8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by kworker/u5:1/8305: #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000ce06c9dd ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: process_one_work+0x81a/0x1640 kernel/workqueue.c:2126 #1: 00000000ba34bb85 ((work_completion)(&args->work)){+.+.}, at: process_one_work+0x84e/0x1640 kernel/workqueue.c:2130 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1079 Comm: khungtaskd Not tainted 4.19.113-syzkaller #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+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x962/0xe40 kernel/hung_task.c:287 kthread+0x34a/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.113-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x3c/0x280 lib/smp_processor_id.c:51 Code: 56 11 fe 65 44 8b 25 43 35 ab 7c 65 8b 1d dc a1 ab 7c 81 e3 ff ff ff 7f 31 ff 89 de e8 0d 58 11 fe 85 db 74 18 e8 94 56 11 fe 8f 56 11 fe 44 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 7c 56 RSP: 0018:ffff8880a9497ca0 EFLAGS: 00000293 RAX: ffff8880a9486600 RBX: 0000000000000001 RCX: ffffffff83564c03 RDX: 0000000000000000 RSI: ffffffff83564c0c RDI: 0000000000000005 RBP: ffffffff87aafcc0 R08: ffff8880a9486600 R09: ffffed1015cc4733 R10: ffffed1015cc4732 R11: ffff8880ae623993 R12: 0000000000000000 R13: ffffffff87aafc80 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a39000 CR3: 00000000a887a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs+0x12/0xa0 kernel/rcu/tree.c:348 rcu_is_watching+0xc/0x20 kernel/rcu/tree.c:1025 rcu_read_unlock include/linux/rcupdate.h:677 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline] batadv_nc_worker+0x480/0x760 net/batman-adv/network-coding.c:730 process_one_work+0x91f/0x1640 kernel/workqueue.c:2155 worker_thread+0x96/0xe20 kernel/workqueue.c:2298 kthread+0x34a/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415