INFO: task syz-executor.4:10481 blocked for more than 143 seconds. Not tainted 5.12.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26416 pid:10481 ppid: 8426 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 io_uring_cancel_files fs/io_uring.c:8699 [inline] io_uring_cancel_task_requests+0x9d9/0xc40 fs/io_uring.c:8730 __io_uring_files_cancel+0x110/0x1b0 fs/io_uring.c:8816 io_uring_files_cancel include/linux/io_uring.h:47 [inline] do_exit+0x299/0x2a60 kernel/exit.c:780 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x42c/0x2100 kernel/signal.c:2773 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:811 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x148/0x250 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465f69 RSP: 002b:00007f3d6e405188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000800 RBX: 000000000056bf60 RCX: 0000000000465f69 RDX: 0000000000000000 RSI: 000000000000450c RDI: 0000000000000004 RBP: 00000000004bfa67 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe75a5347f R14: 00007f3d6e405300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/0:2/8: 1 lock held by khungtaskd/1654: #0: ffffffff8bf741a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327 1 lock held by in:imklog/8104: #0: ffff88801af643f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961 5 locks held by rs:main Q:Reg/8105: #0: ffff8880b9d35258 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x789/0xe50 kernel/sched/fair.c:10633 #1: ffff8880b9d1f948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833 #2: ffff888033a91548 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #2: ffff888033a91548 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: ext4_buffered_write_iter+0xb6/0x4d0 fs/ext4/file.c:263 #3: ffffffff8bf741a0 (rcu_read_lock){....}-{1:2}, at: is_bpf_text_address+0x0/0x160 kernel/bpf/core.c:697 #4: ffff888147e822b0 (&journal->j_wait_updates){....}-{2:2}, at: __wake_up_common_lock+0xb4/0x130 kernel/sched/wait.c:137 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1654 Comm: khungtaskd Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 132 Comm: kworker/u4:3 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:418 [inline] RIP: 0010:__lock_acquire+0xbb1/0x54c0 kernel/locking/lockdep.c:4888 Code: 0d 00 00 0f b7 44 24 18 8b 4c 24 50 8b 74 24 60 c1 e0 0d 66 0b 44 24 08 98 2b 44 24 40 33 44 24 58 89 c2 29 c1 01 f0 c1 c2 06 <31> ca 89 d1 29 d6 01 c2 c1 c1 08 31 f1 89 ce 29 c8 01 d1 c1 c6 10 RSP: 0018:ffffc900013779e0 EFLAGS: 00000083 RAX: 00000000fc79cb2a RBX: ffffffff8fb004c0 RCX: 000000007f5985f4 RDX: 000000004046cd5b RSI: 000000008f78aff5 RDI: ffffffff8fb00500 RBP: ffff888011f14de0 R08: 0000000000000000 R09: ffffffff8faae93f R10: fffffbfff1f55d27 R11: 0000000000000000 R12: ffff888011f14400 R13: 0000000000000000 R14: ffff888011f14d90 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3619881000 CR3: 0000000018038000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5510 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5475 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:438 batadv_nc_worker+0x868/0xe50 net/batman-adv/network-coding.c:718 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294