INFO: task syz-executor.0:13861 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:22544 pid:13861 ppid: 6531 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178 loop_set_status+0x183/0xa50 drivers/block/loop.c:1264 lo_ioctl+0xbc9/0x1f40 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f60668928a7 RSP: 002b:00007f6063e07ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6063e07f40 RCX: 00007f60668928a7 RDX: 00007f6063e08050 RSI: 0000000000004c04 RDI: 0000000000000005 RBP: 00007f60668ecf6d R08: 0000000000000000 R09: 00007f6063e080f0 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f6063e08050 R13: 00007ffe45eb9dbf R14: 00007f6063e08300 R15: 0000000000022000 INFO: task syz-executor.0:13904 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25008 pid:13904 ppid: 6531 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 blkdev_open+0x137/0x2f0 block/fops.c:501 do_dentry_open+0x78b/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x2896/0x3660 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6066845a04 RSP: 002b:00007f6063d83e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f60668dc970 RCX: 00007f6066845a04 RDX: 0000000000000002 RSI: 00007f6063d83f40 RDI: 00000000ffffff9c RBP: 00007f6063d83f40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000004 R14: 00000000200000d0 R15: 0000000000000006 INFO: task syz-executor.4:13883 blocked for more than 144 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27088 pid:13883 ppid: 10751 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 blkdev_open+0x137/0x2f0 block/fops.c:501 do_dentry_open+0x78b/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x2896/0x3660 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe8e48d3a04 RSP: 002b:00007fe8e1e95cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007fe8e48d3a04 RDX: 0000000000000000 RSI: 00007fe8e1e95d60 RDI: 00000000ffffff9c RBP: 00007fe8e1e95d60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fff0016bb5f R14: 00007fe8e1e96300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by systemd-udevd/2971: #0: ffff88801b3ac118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 #1: ffff888147488b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733 1 lock held by in:imklog/6220: #0: ffff888019c3f4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 1 lock held by syz-executor.0/13861: #0: ffff888147488b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0xa50 drivers/block/loop.c:1248 1 lock held by syz-executor.0/13904: #0: ffff88801b3ac118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 1 lock held by syz-executor.4/13883: #0: ffff88801b3ac118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2950 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_acquire+0x13b/0x4d0 kernel/locking/lockdep.c:5633 Code: 38 4c 8d 64 24 60 4c 89 e3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 e7 e8 23 6f 6a 00 48 c7 44 24 60 00 00 00 00 9c 8f 44 24 60 <42> 80 3c 3b 00 74 08 4c 89 e7 e8 86 6e 6a 00 48 8d 9c 24 80 00 00 RSP: 0018:ffffc90001abf600 EFLAGS: 00000246 RAX: 1ffff1100f877100 RBX: 1ffff92000357ecc RCX: 0000000080000002 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffc90001abf758 R08: dffffc0000000000 R09: fffffbfff1bfd14e R10: fffffbfff1bfd14e R11: 0000000000000000 R12: ffffc90001abf660 R13: 1ffff92000357ec8 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f27f9ce58c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27f719f000 CR3: 0000000021313000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] __d_lookup+0x1ef/0x720 fs/dcache.c:2428 lookup_fast+0xe0/0x800 fs/namei.c:1615 walk_component+0x11b/0x790 fs/namei.c:1966 link_path_walk+0x697/0xd00 path_parentat fs/namei.c:2496 [inline] filename_parentat+0x27c/0x7b0 fs/namei.c:2519 filename_create+0xf4/0x4e0 fs/namei.c:3637 do_mkdirat+0xae/0x530 fs/namei.c:3898 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:3927 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f27f8fa0687 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:00007fff43536668 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fff435396d0 RCX: 00007f27f8fa0687 RDX: 0000000000000000 RSI: 00000000000001ed RDI: 00005614c59028a0 RBP: 00007fff435366a0 R08: 00005614c463a3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 00005614c59028a0 R15: 00007fff43536ce0 ---------------- Code disassembly (best guess): 0: 38 4c 8d 64 cmp %cl,0x64(%rbp,%rcx,4) 4: 24 60 and $0x60,%al 6: 4c 89 e3 mov %r12,%rbx 9: 48 c1 eb 03 shr $0x3,%rbx d: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1) 12: 74 08 je 0x1c 14: 4c 89 e7 mov %r12,%rdi 17: e8 23 6f 6a 00 callq 0x6a6f3f 1c: 48 c7 44 24 60 00 00 movq $0x0,0x60(%rsp) 23: 00 00 25: 9c pushfq 26: 8f 44 24 60 popq 0x60(%rsp) * 2a: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 86 6e 6a 00 callq 0x6a6ebf 39: 48 rex.W 3a: 8d .byte 0x8d 3b: 9c pushfq 3c: 24 80 and $0x80,%al