INFO: task syz-executor.1:18108 blocked for more than 143 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28176 18108 9811 0x90004004 Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4154 schedule_timeout+0x6db/0xba0 kernel/time/timer.c:1871 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 io_queue_file_removal+0x1af/0x1e0 fs/io_uring.c:5829 __io_sqe_files_update.isra.0+0x3a1/0xb00 fs/io_uring.c:5870 io_sqe_files_update fs/io_uring.c:5921 [inline] __io_uring_register+0x377/0x2c00 fs/io_uring.c:7134 __do_sys_io_uring_register fs/io_uring.c:7205 [inline] __se_sys_io_uring_register fs/io_uring.c:7187 [inline] __x64_sys_io_uring_register+0x192/0x560 fs/io_uring.c:7187 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c4a9 Code: 00 00 48 8b 6d 00 48 c7 44 24 38 00 00 00 00 66 c7 84 24 88 00 00 00 01 00 48 8b 05 a1 07 c5 01 48 89 44 24 78 48 8d 44 24 2c <48> 89 84 24 80 00 00 00 66 c7 84 24 b0 00 00 00 01 00 48 8b 05 76 RSP: 002b:00007f1669c96c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007f1669c976d4 RCX: 000000000045c4a9 RDX: 0000000020000300 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000000001fe R14: 00000000004d2970 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1139: #0: ffffffff897accc0 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5331 2 locks held by getty/9769: #0: ffff8880936a7090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000179b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9770: #0: ffff888090c57090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017372e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9771: #0: ffff88808ddd4090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017cb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9772: #0: ffff88809f526090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000175b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9773: #0: ffff8880936fe090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017ab2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9774: #0: ffff888093946090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017db2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9775: #0: ffff8880a0c1e090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000172b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.1/18108: #0: ffff888093bce320 (&ctx->uring_lock){+.+.}, at: __do_sys_io_uring_register fs/io_uring.c:7204 [inline] #0: ffff888093bce320 (&ctx->uring_lock){+.+.}, at: __se_sys_io_uring_register fs/io_uring.c:7187 [inline] #0: ffff888093bce320 (&ctx->uring_lock){+.+.}, at: __x64_sys_io_uring_register+0x181/0x560 fs/io_uring.c:7187 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1139 Comm: khungtaskd Not tainted 5.6.0-rc5-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+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 kthread+0x357/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 80 Comm: kworker/u4:3 Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:hlock_class kernel/locking/lockdep.c:163 [inline] RIP: 0010:mark_lock+0xc4/0x1220 kernel/locking/lockdep.c:3642 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 a0 2b 07 8c e8 a4 78 56 00 48 0f a3 1d 0c fe ae 0a <0f> 83 be 00 00 00 48 69 db b0 00 00 00 48 81 c3 c0 2f 07 8c 48 8d RSP: 0018:ffffc900010c7b60 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 00000000000005c0 RCX: ffffffff81582d8c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8c072c58 RBP: ffff8880a9302140 R08: ffff8880a9302140 R09: fffffbfff180e58c R10: fffffbfff180e58b R11: ffffffff8c072c5f R12: 0000000000000002 R13: dffffc0000000000 R14: ffff8880a93029d8 R15: 0000000000000229 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000a79c8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3359 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3380 [inline] lockdep_hardirqs_on+0x199/0x5d0 kernel/locking/lockdep.c:3433 __local_bh_enable_ip+0x159/0x270 kernel/softirq.c:194 spin_unlock_bh include/linux/spinlock.h:383 [inline] batadv_purge_orig_ref+0xc11/0x1250 net/batman-adv/originator.c:1366 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1379 process_one_work+0x94b/0x1690 kernel/workqueue.c:2264 worker_thread+0x96/0xe20 kernel/workqueue.c:2410 kthread+0x357/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352