INFO: task syz-executor.0:10148 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.0 state:D stack:27776 pid:10148 ppid: 8424 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:00007fc1ef9ad188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000302 RBX: 000000000056c0b0 RCX: 0000000000465f69 RDX: 0000000000000000 RSI: 0000000000000302 RDI: 0000000000000004 RBP: 00000000004bfa8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffe154a057f R14: 00007fc1ef9ad300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1654: #0: ffffffff8bf71760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327 1 lock held by in:imklog/8101: ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8102 Comm: rs:main Q:Reg Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:707 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock+0x132/0x2b0 kernel/locking/spinlock_debug.c:113 Code: 00 00 00 00 e8 ef 7c 5c 00 be 04 00 00 00 48 8d 7c 24 28 e8 e0 7c 5c 00 8b 44 24 28 ba 01 00 00 00 89 44 24 04 f0 0f b1 55 00 <0f> 85 91 00 00 00 65 44 8b 35 68 4a a8 7e 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc9000b70f720 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 1ffff920016e1ee5 RCX: ffffffff81594ae0 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000b70f748 RBP: ffff888148114298 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520016e1ee9 R11: 0000000000000000 R12: ffff8881481142a0 R13: ffff8881481142a8 R14: 0000000000000003 R15: 1ffff920016e1efc FS: 00007fa3f885b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45a8174028 CR3: 000000002ebc4000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:117 [inline] _raw_spin_lock_irqsave+0x41/0x50 kernel/locking/spinlock.c:159 __wake_up_common_lock+0xb4/0x130 kernel/sched/wait.c:137 stop_this_handle+0x464/0x560 fs/jbd2/transaction.c:737 jbd2_journal_stop+0xaca/0xf40 fs/jbd2/transaction.c:1907 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127 ext4_dirty_inode+0xe8/0x110 fs/ext4/inode.c:5948 __mark_inode_dirty+0x6e3/0x10f0 fs/fs-writeback.c:2274 generic_update_time+0x21d/0x350 fs/inode.c:1766 update_time fs/inode.c:1779 [inline] file_update_time+0x434/0x520 fs/inode.c:1995 file_modified fs/inode.c:2018 [inline] file_modified+0x7d/0xa0 fs/inode.c:2003 ext4_write_checks fs/ext4/file.c:247 [inline] ext4_buffered_write_iter+0xff/0x4d0 fs/ext4/file.c:264 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:663 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x796/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa3fb29f1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fa3f885a590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa3f0025cc0 RCX: 00007fa3fb29f1cd RDX: 00000000000004da RSI: 00007fa3f0025cc0 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fa3f0025a40 R13: 00007fa3f885a5b0 R14: 0000557d79135360 R15: 00000000000004da