INFO: task syz-executor631:10000 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-next-20211207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor631 state:D stack:27816 pid:10000 ppid: 6529 flags:0x00020004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 io_uring_cancel_generic+0x53d/0x690 fs/io_uring.c:9903 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2c20 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 __do_sys_exit_group kernel/exit.c:940 [inline] __se_sys_exit_group kernel/exit.c:938 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:938 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:0x7f68739da839 RSP: 002b:00007ffd19a25268 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f6873a55410 RCX: 00007f68739da839 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 000000000000fc00 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6873a55410 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb828a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6227: #0: ffff88807ac86870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:994 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc4-next-20211207-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:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2958 Comm: systemd-journal Not tainted 5.16.0-rc4-next-20211207-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_stack_walk+0x1/0xe0 arch/x86/kernel/stacktrace.c:17 Code: eb c0 e6 82 89 fa ee ee 8d 57 01 ee ee eb cd e6 81 eb f1 e6 87 eb ed e6 83 eb e9 cc cc cc cc cc cc cc cc cc cc cc cc cc cc 55 <48> 89 e5 41 56 49 89 d6 41 55 49 89 cd 41 54 49 89 f4 53 48 89 fb RSP: 0018:ffffc90001d1f728 EFLAGS: 00000246 RAX: 0000000000000000 RBX: fffff520003a3ee7 RCX: 0000000000000000 RDX: ffff88807b301d40 RSI: ffffc90001d1f758 RDI: ffffffff8165f0a0 RBP: ffff88802089f440 R08: 0000000000000000 R09: ffffed1004113e7e R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000dc0 R13: 0000000000000dc0 R14: 0000000000000dc0 R15: 0000000000000dc0 FS: 00007f4f977448c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4f94b20010 CR3: 000000001d0da000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:260 [inline] slab_post_alloc_hook mm/slab.h:766 [inline] slab_alloc_node mm/slub.c:3231 [inline] slab_alloc mm/slub.c:3239 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3244 kmem_cache_zalloc include/linux/slab.h:705 [inline] lsm_file_alloc security/security.c:572 [inline] security_file_alloc+0x34/0x170 security/security.c:1508 __alloc_file+0xd8/0x280 fs/file_table.c:137 alloc_empty_file+0x6d/0x170 fs/file_table.c:181 path_openat+0xe4/0x2940 fs/namei.c:3595 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_open fs/open.c:1238 [inline] __se_sys_open fs/open.c:1234 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1234 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:0x7f4f96cd3840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fff7e064a38 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff7e064d40 RCX: 00007f4f96cd3840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055c9d62f4020 RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055c9d62e6040 R14: 00007fff7e064d00 R15: 000055c9d62f3e40 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.554 msecs ---------------- Code disassembly (best guess): 0: eb c0 jmp 0xffffffc2 2: e6 82 out %al,$0x82 4: 89 fa mov %edi,%edx 6: ee out %al,(%dx) 7: ee out %al,(%dx) 8: 8d 57 01 lea 0x1(%rdi),%edx b: ee out %al,(%dx) c: ee out %al,(%dx) d: eb cd jmp 0xffffffdc f: e6 81 out %al,$0x81 11: eb f1 jmp 0x4 13: e6 87 out %al,$0x87 15: eb ed jmp 0x4 17: e6 83 out %al,$0x83 19: eb e9 jmp 0x4 1b: cc int3 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: 55 push %rbp * 2a: 48 89 e5 mov %rsp,%rbp <-- trapping instruction 2d: 41 56 push %r14 2f: 49 89 d6 mov %rdx,%r14 32: 41 55 push %r13 34: 49 89 cd mov %rcx,%r13 37: 41 54 push %r12 39: 49 89 f4 mov %rsi,%r12 3c: 53 push %rbx 3d: 48 89 fb mov %rdi,%rbx