INFO: task syz-executor.3:22932 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28464 pid:22932 ppid: 6847 flags:0x20004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9750 io_uring_clean_tctx fs/io_uring.c:9766 [inline] io_uring_cancel_generic+0x5d5/0x690 fs/io_uring.c:9855 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6f27549 RSP: 002b:00000000f450067c EFLAGS: 00000296 ORIG_RAX: 00000000000000f0 RAX: fffffffffffffe00 RBX: 00000000f7084024 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f7084028 RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6339: #0: ffff888073a95770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.3/22910: 1 lock held by syz-executor.3/22932: #0: ffff888033bf50a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9750 1 lock held by syz-executor.3/22935: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.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:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 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:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6341 Comm: rs:main Q:Reg Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode+0x7/0x40 kernel/kcov.c:166 Code: 00 e9 59 fe ff ff 48 8b 7c 24 08 e8 03 c2 46 00 e9 61 fd ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc 65 8b 05 49 db 8a 7e <89> c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b RSP: 0018:ffffc9000b29f800 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 1ffff92001653f08 RCX: 0000000000000000 RDX: ffff888018aaba00 RSI: ffff888018aaba00 RDI: 0000000000000003 RBP: ffff8880769df048 R08: 0000000000000000 R09: ffff8881451f5403 R10: ffffffff8211e22c R11: 0000000000000000 R12: 0000000000000001 R13: ffffc9000b29f880 R14: 0000000000000020 R15: 0000000000000000 FS: 00007fa012174700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78f8936028 CR3: 000000007034a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_const_cmp4+0x1c/0x70 kernel/kcov.c:287 __ext4_mark_inode_dirty+0x22c/0x8d0 fs/ext4/inode.c:5892 ext4_dirty_inode+0xd4/0x110 fs/ext4/inode.c:5919 __mark_inode_dirty+0x45b/0xfe0 fs/fs-writeback.c:2399 mark_inode_dirty include/linux/fs.h:2451 [inline] generic_write_end+0x31b/0x500 fs/buffer.c:2202 ext4_da_write_end+0x1c2/0x990 fs/ext4/inode.c:3059 generic_perform_write+0x2c6/0x510 mm/filemap.c:3767 ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:681 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write+0x429/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa014bb81cd 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:00007fa012173590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa008022f70 RCX: 00007fa014bb81cd RDX: 0000000000000541 RSI: 00007fa008022f70 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fa008022cf0 R13: 00007fa0121735b0 R14: 000055859dda7360 R15: 0000000000000541 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e9 59 fe ff ff jmpq 0xfffffe5e 5: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi a: e8 03 c2 46 00 callq 0x46c212 f: e9 61 fd ff ff jmpq 0xfffffd75 14: cc int3 15: cc int3 16: cc int3 17: cc int3 18: cc int3 19: cc int3 1a: cc int3 1b: cc int3 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: 65 8b 05 49 db 8a 7e mov %gs:0x7e8adb49(%rip),%eax # 0x7e8adb72 * 29: 89 c2 mov %eax,%edx <-- trapping instruction 2b: 81 e2 00 01 00 00 and $0x100,%edx 31: a9 00 01 ff 00 test $0xff0100,%eax 36: 74 10 je 0x48 38: 31 c0 xor %eax,%eax 3a: 85 d2 test %edx,%edx 3c: 74 15 je 0x53 3e: 8b .byte 0x8b