INFO: task syz-executor.4:7974 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23928 pid: 7974 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 __loop_clr_fd+0x1ae/0x1070 drivers/block/loop.c:1122 lo_release+0x1ac/0x1f0 drivers/block/loop.c:1761 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a2/0x540 fs/namespace.c:1137 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:0x7fb9c8841f57 RSP: 002b:00007ffecea26d98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb9c8841f57 RDX: 00007ffecea26e6a RSI: 000000000000000a RDI: 00007ffecea26e60 RBP: 00007ffecea26e60 R08: 00000000ffffffff R09: 00007ffecea26c30 R10: 00005555572c3903 R11: 0000000000000246 R12: 00007fb9c889a105 R13: 00007ffecea27f20 R14: 00005555572c3810 R15: 00007ffecea27f60 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6255: #0: ffff88802296c370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by syz-executor.4/7974: #0: ffff88801a242118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff88801a165b60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-next-20211118-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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 2969 Comm: systemd-journal Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0x13b0/0x1ce0 arch/x86/kernel/unwind_orc.c:600 Code: 02 48 b9 00 00 00 00 00 fc ff df 49 8d 56 40 48 89 f8 48 c1 e8 03 0f b6 34 08 49 8d 40 03 49 89 c1 49 c1 e9 03 41 0f b6 0c 09 <49> 89 f9 41 83 e1 07 44 38 ce 41 0f 9e c1 40 84 f6 40 0f 95 c6 41 RSP: 0018:ffffc90001aff910 EFLAGS: 00000a03 RAX: ffffffff8e0ae0e5 RBX: 1ffff9200035ff2a RCX: 0000000000000000 RDX: ffffc90001affa78 RSI: 0000000000000000 RDI: ffffffff8e0ae0e4 RBP: 0000000000000001 R08: ffffffff8e0ae0e2 R09: 1ffffffff1c15c1c R10: fffff5200035ff52 R11: 000000000008808a R12: ffffc90001affad0 R13: ffffc90001affa6d R14: ffffc90001affa38 R15: ffffffff8e0ae0e6 FS: 00007f65c427a8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65c16bf000 CR3: 000000001c474000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unwind_start+0x51b/0x800 arch/x86/kernel/unwind_orc.c:712 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 save_stack+0x151/0x1e0 mm/page_owner.c:121 __reset_page_owner+0x5d/0x180 mm/page_owner.c:142 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1338 [inline] free_pcp_prepare+0x374/0x870 mm/page_alloc.c:1389 free_unref_page_prepare mm/page_alloc.c:3309 [inline] free_unref_page+0x19/0x690 mm/page_alloc.c:3388 __unfreeze_partials+0x343/0x360 mm/slub.c:2527 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3234 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3247 getname_flags.part.0+0x50/0x4f0 fs/namei.c:138 getname_flags include/linux/audit.h:323 [inline] getname fs/namei.c:217 [inline] __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0xda/0x140 fs/namei.c:3927 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:0x7f65c3535687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd40c50228 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007ffd40c53140 RCX: 00007f65c3535687 RDX: 00007f65c3fa6a00 RSI: 00000000000001ed RDI: 0000558c2a71f8a0 RBP: 00007ffd40c50260 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffd40c53140 R15: 00007ffd40c50750 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 7: fc ff df a: 49 8d 56 40 lea 0x40(%r14),%rdx e: 48 89 f8 mov %rdi,%rax 11: 48 c1 e8 03 shr $0x3,%rax 15: 0f b6 34 08 movzbl (%rax,%rcx,1),%esi 19: 49 8d 40 03 lea 0x3(%r8),%rax 1d: 49 89 c1 mov %rax,%r9 20: 49 c1 e9 03 shr $0x3,%r9 24: 41 0f b6 0c 09 movzbl (%r9,%rcx,1),%ecx * 29: 49 89 f9 mov %rdi,%r9 <-- trapping instruction 2c: 41 83 e1 07 and $0x7,%r9d 30: 44 38 ce cmp %r9b,%sil 33: 41 0f 9e c1 setle %r9b 37: 40 84 f6 test %sil,%sil 3a: 40 0f 95 c6 setne %sil 3e: 41 rex.B