INFO: task syz-executor.0:9122 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:25848 pid: 9122 ppid: 19585 flags:0x00004004 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 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 lo_release+0x160/0x1f0 drivers/block/loop.c:1768 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 btrfs_close_bdev fs/btrfs/volumes.c:1114 [inline] btrfs_close_bdev fs/btrfs/volumes.c:1104 [inline] btrfs_close_one_device fs/btrfs/volumes.c:1135 [inline] close_fs_devices+0x24f/0xa60 fs/btrfs/volumes.c:1178 btrfs_close_devices+0x8e/0x4b0 fs/btrfs/volumes.c:1193 open_ctree+0x48af/0x4954 fs/btrfs/disk-io.c:3700 btrfs_fill_super fs/btrfs/super.c:1359 [inline] btrfs_mount_root.cold+0x15/0x162 fs/btrfs/super.c:1726 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 fc_mount fs/namespace.c:994 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1024 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1011 btrfs_mount+0x234/0xa60 fs/btrfs/super.c:1786 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7f91909bb01a RSP: 002b:00007f918df2efa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f91909bb01a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f918df2f000 RBP: 00007f918df2f040 R08: 00007f918df2f040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f918df2f000 R15: 0000000020016a00 INFO: task syz-executor.2:9180 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.2 state:D stack:26264 pid: 9180 ppid: 25921 flags:0x00004004 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 btrfs_mount_root+0x23b/0xc10 fs/btrfs/super.c:1681 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 fc_mount fs/namespace.c:994 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1024 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1011 btrfs_mount+0x234/0xa60 fs/btrfs/super.c:1786 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7f116894a01a RSP: 002b:00007f1165ebdfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f116894a01a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f1165ebe000 RBP: 00007f1165ebe040 R08: 00007f1165ebe040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f1165ebe000 R15: 0000000020016a00 INFO: task syz-executor.5:9183 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.5 state:D stack:26168 pid: 9183 ppid: 28491 flags:0x00004004 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 btrfs_mount_root+0x23b/0xc10 fs/btrfs/super.c:1681 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 fc_mount fs/namespace.c:994 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1024 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1011 btrfs_mount+0x234/0xa60 fs/btrfs/super.c:1786 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7f1a7edca01a RSP: 002b:00007f1a7c33dfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f1a7edca01a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f1a7c33e000 RBP: 00007f1a7c33e040 R08: 00007f1a7c33e040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f1a7c33e000 R15: 0000000020016a00 INFO: task syz-executor.4:9201 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:26232 pid: 9201 ppid: 25622 flags:0x00004004 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 btrfs_mount_root+0x23b/0xc10 fs/btrfs/super.c:1681 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 fc_mount fs/namespace.c:994 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1024 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1011 btrfs_mount+0x234/0xa60 fs/btrfs/super.c:1786 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7f172eb2801a RSP: 002b:00007f172c09bfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f172eb2801a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f172c09c000 RBP: 00007f172c09c040 R08: 00007f172c09c040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f172c09c000 R15: 0000000020016a00 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-udevd/2973: #0: ffff88801a4af918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 1 lock held by in:imklog/6231: #0: ffff888078167270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/18789: #0: ffff88801a4af918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 1 lock held by systemd-udevd/18792: #0: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x115/0x2d0 fs/btrfs/super.c:2411 1 lock held by systemd-udevd/18895: #0: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x115/0x2d0 fs/btrfs/super.c:2411 1 lock held by systemd-udevd/25653: #0: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x115/0x2d0 fs/btrfs/super.c:2411 4 locks held by syz-executor.0/9122: #0: ffff88807ab980e0 (&type->s_umount_key#58/1){+.+.}-{3:3}, at: alloc_super+0x1dd/0xac0 fs/super.c:229 #1: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_close_devices+0x86/0x4b0 fs/btrfs/volumes.c:1192 #2: ffff88801a4af918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #3: ffff88801a4ab360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 1 lock held by syz-executor.2/9180: #0: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_mount_root+0x23b/0xc10 fs/btrfs/super.c:1681 1 lock held by syz-executor.5/9183: #0: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_mount_root+0x23b/0xc10 fs/btrfs/super.c:1681 1 lock held by syz-executor.4/9201: #0: ffffffff8c265348 (uuid_mutex){+.+.}-{3:3}, at: btrfs_mount_root+0x23b/0xc10 fs/btrfs/super.c:1681 ============================================= NMI backtrace for cpu 0 CPU: 0 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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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: 2966 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:unwind_next_frame+0x1495/0x1ce0 arch/x86/kernel/unwind_orc.c:617 Code: 85 31 05 00 00 49 0f bf 00 48 01 44 24 60 e9 ea f1 ff ff 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 08 48 c1 ea 03 80 3c 02 00 <0f> 85 f6 03 00 00 49 8d 7e 08 49 8b 6e 38 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90001a9f9d0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff92000353f42 RCX: 1ffff92000353f5d RDX: 1ffff92000353f5c RSI: ffffc90001a9ff48 RDI: ffffc90001a9ff48 RBP: 0000000000000001 R08: ffffffff8ea4401e R09: 0000000000000001 R10: fffff52000353f60 R11: 000000000008808a R12: ffffc90001a9ff58 R13: ffffc90001a9fadd R14: ffffc90001a9faa8 R15: ffffc90001a9fadc FS: 00007fef459ab8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef41916070 CR3: 0000000021c22000 CR4: 0000000000350ee0 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa9/0xd0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:595 [inline] kzalloc include/linux/slab.h:724 [inline] lsm_cred_alloc security/security.c:537 [inline] security_prepare_creds+0x10e/0x190 security/security.c:1692 prepare_creds+0x56e/0x7b0 kernel/cred.c:291 access_override_creds fs/open.c:351 [inline] do_faccessat+0x3f4/0x850 fs/open.c:415 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:0x7fef44c669c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc42b50438 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffc42b53460 RCX: 00007fef44c669c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005636d4c719a3 RBP: 00007ffc42b50580 R08: 00005636d4c673e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00005636d5d6a8a0 R15: 00007ffc42b50a70 ---------------- Code disassembly (best guess): 0: 85 31 test %esi,(%rcx) 2: 05 00 00 49 0f add $0xf490000,%eax 7: bf 00 48 01 44 mov $0x44014800,%edi c: 24 60 and $0x60,%al e: e9 ea f1 ff ff jmpq 0xfffff1fd 13: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1a: fc ff df 1d: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 f6 03 00 00 jne 0x426 <-- trapping instruction 30: 49 8d 7e 08 lea 0x8(%r14),%rdi 34: 49 8b 6e 38 mov 0x38(%r14),%rbp 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax 3e: 00 fc add %bh,%ah