INFO: task syz-executor.3:3854 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:27600 pid: 3854 ppid: 6544 flags:0x00000004 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_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9565 io_uring_release+0x42/0x46 fs/io_uring.c:9594 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/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_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4f1bd7bb32 RSP: 002b:00007f4f192f10f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 00000000206d4000 RBX: 0000000000008011 RCX: 00007f4f1bd7bb32 RDX: 0000000000000003 RSI: 0000000000040000 RDI: 00000000206d4000 RBP: 00000000206d4000 R08: 0000000000000003 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000040 R13: 00000000206d4000 R14: 0000000020000240 R15: 0000000020ee7000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb81120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6218: #0: ffff88801eb55430 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.3/3854: #0: ffff88808a49f0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9565 1 lock held by syz-executor.3/3862: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 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: 835 Comm: systemd-udevd Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data kernel/kcov.c:221 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x15/0x80 kernel/kcov.c:273 Code: 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 53 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 40 70 02 00 <48> 89 ce 4c 8b 54 24 08 e8 4e f7 ff ff 84 c0 74 51 48 8b 81 88 15 RSP: 0018:ffffc90017bc78f8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 000000000000000b RCX: ffff8880863b2080 RDX: ffff8880863b2080 RSI: 000000000000000b RDI: 0000000000000003 RBP: ffff88802468ed00 R08: 0000000000000000 R09: 000000000000000b R10: ffffffff83aa3307 R11: 0000000000000010 R12: 0000000000000020 R13: 00000000000002d8 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fbabceb28c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c010dd6de0 CR3: 000000007345b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tomoyo_domain_quota_is_ok+0x32a/0x550 security/tomoyo/util.c:1092 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1334 vfs_getattr fs/stat.c:157 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:182 __do_sys_newfstat+0x81/0x100 fs/stat.c:422 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:0x7fbabbd242e2 Code: 48 8b 05 b9 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 77 33 48 63 fe b8 05 00 00 00 48 89 d6 0f 05 <48> 3d 00 f0 ff ff 77 06 f3 c3 0f 1f 40 00 48 8b 15 81 db 2b 00 f7 RSP: 002b:00007ffc0bd51b58 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00007fbabbfdf440 RCX: 00007fbabbd242e2 RDX: 00007ffc0bd51b60 RSI: 00007ffc0bd51b60 RDI: 000000000000000f RBP: 0000560b26ccfc40 R08: 00007fbabceb28c0 R09: 0000000000000230 R10: 0000560b25bdb6bb R11: 0000000000000246 R12: 0000560b25bdb6bb R13: 0000000000000002 R14: 00007fbabbfdf440 R15: 0000000000000002 ---------------- Code disassembly (best guess): 0: 00 48 89 add %cl,-0x77(%rax) 3: 4c 38 f0 rex.WR cmp %r14b,%al 6: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) b: 48 89 10 mov %rdx,(%rax) e: c3 retq f: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 15: 53 push %rbx 16: 41 89 fb mov %edi,%r11d 19: 41 89 f1 mov %esi,%r9d 1c: bf 03 00 00 00 mov $0x3,%edi 21: 65 48 8b 0c 25 40 70 mov %gs:0x27040,%rcx 28: 02 00 * 2a: 48 89 ce mov %rcx,%rsi <-- trapping instruction 2d: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 32: e8 4e f7 ff ff callq 0xfffff785 37: 84 c0 test %al,%al 39: 74 51 je 0x8c 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 81 .byte 0x81 3e: 88 .byte 0x88 3f: 15 .byte 0x15