INFO: task syz-executor.4:6569 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:23552 pid: 6569 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f0ceef51a04 RSP: 002b:00007ffe842b5d80 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffe842b5e80 RCX: 00007f0ceef51a04 RDX: 0000000000000002 RSI: 00007ffe842b5ec0 RDI: 00000000ffffff9c RBP: 00007ffe842b5ec0 R08: 0000000000000000 R09: 00007ffe842b5c90 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe842b5ec0 INFO: task systemd-udevd:15686 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:systemd-udevd state:D stack:26376 pid:15686 ppid: 2970 flags:0x00000000 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 blkdev_close+0x6a/0x80 block/fops.c:515 __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:0x7fda8af06270 RSP: 002b:00007fff1dea6b48 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fda8af06270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007fda8bdc0710 R08: 00005600b79c73b0 R09: 00005600b79c7100 R10: 00007fda8bdc08c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00005600b79ac7c0 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 1 lock held by khungtaskd/27: #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/6234: #0: ffff88801c46a370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.4/6569: #0: ffff88801a6b1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 2 locks held by systemd-udevd/15686: #0: ffff88801a6b1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff88801a614b60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 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: 2965 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:lockdep_hardirqs_on+0x4e/0x100 kernel/locking/lockdep.c:4342 Code: 00 f0 00 48 89 fd 75 41 65 8b 05 3d 45 c1 76 85 c0 75 69 65 8b 05 0e 42 c1 76 85 c0 75 5e 8b 35 68 d4 0a 07 85 f6 75 21 9c 58 c4 02 75 7a 8b 15 57 d4 0a 07 85 d2 75 10 48 8b 83 58 0a 00 00 RSP: 0018:ffffc9000206fc88 EFLAGS: 00000046 RAX: 0000000000000046 RBX: ffff88807ae69d40 RCX: 1ffffffff1b21789 RDX: 1ffff1100f5cd4f4 RSI: 0000000000000000 RDI: ffffffff81be7965 RBP: ffffffff81be7965 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817dea08 R11: 0000000000000000 R12: ffff888010dd13c0 R13: 0000000000000200 R14: ffffc9000206fd50 R15: ffff88803c1a2200 FS: 00007fca524038c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca4e537020 CR3: 0000000023039000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_quarantine_put+0xf5/0x210 mm/kasan/quarantine.c:220 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1749 slab_free mm/slub.c:3513 [inline] kmem_cache_free+0x92/0x5e0 mm/slub.c:3529 putname fs/namei.c:270 [inline] putname+0xfe/0x140 fs/namei.c:256 do_sys_openat2+0x153/0x4d0 fs/open.c:1221 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7fca51992840 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:00007ffdf671a128 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffdf671a430 RCX: 00007fca51992840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 00005632207bacd0 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 00005632207af040 R14: 00007ffdf671a3f0 R15: 00005632207baaf0 ---------------- Code disassembly (best guess): 0: 00 f0 add %dh,%al 2: 00 48 89 add %cl,-0x77(%rax) 5: fd std 6: 75 41 jne 0x49 8: 65 8b 05 3d 45 c1 76 mov %gs:0x76c1453d(%rip),%eax # 0x76c1454c f: 85 c0 test %eax,%eax 11: 75 69 jne 0x7c 13: 65 8b 05 0e 42 c1 76 mov %gs:0x76c1420e(%rip),%eax # 0x76c14228 1a: 85 c0 test %eax,%eax 1c: 75 5e jne 0x7c 1e: 8b 35 68 d4 0a 07 mov 0x70ad468(%rip),%esi # 0x70ad48c 24: 85 f6 test %esi,%esi 26: 75 21 jne 0x49 28: 9c pushfq 29: 58 pop %rax * 2a: f6 c4 02 test $0x2,%ah <-- trapping instruction 2d: 75 7a jne 0xa9 2f: 8b 15 57 d4 0a 07 mov 0x70ad457(%rip),%edx # 0x70ad48c 35: 85 d2 test %edx,%edx 37: 75 10 jne 0x49 39: 48 8b 83 58 0a 00 00 mov 0xa58(%rbx),%rax