INFO: task syz-executor.1:22189 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:24832 pid:22189 ppid: 6545 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
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:0x7f7de3d3201a
RSP: 002b:00007f7de12a5fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000200009c0 RCX: 00007f7de3d3201a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f7de12a6000
RBP: 00007f7de12a6040 R08: 00007f7de12a6040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007f7de12a6000 R15: 00000000200005c0
INFO: task systemd-udevd:22216 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:systemd-udevd state:D stack:28160 pid:22216 ppid: 2971 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382
__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_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:0x7faddc2fb840
RSP: 002b:00007ffcff9ef748 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000560922f27a00 RCX: 00007faddc2fb840
RDX: 0000560921139fe3 RSI: 00000000000a0800 RDI: 0000560922f21870
RBP: 00007ffcff9ef8c0 R08: 0000560921139670 R09: 0000000000000010
R10: 00007faddc075d70 R11: 0000000000000246 R12: 00007ffcff9ef810
R13: 0000560922f2c480 R14: 0000000000000003 R15: 000000000000000e
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8b983b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6227:
2 locks held by rs:main Q:Reg/6229:
#0: ffff8880193205f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
#1: ffff88807f284460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:643
4 locks held by syz-executor.1/22189:
#0: ffff88807c39c0e0 (&type->s_umount_key#62/1){+.+.}-{3:3}, at: alloc_super+0x1dd/0xac0 fs/super.c:229
#1: ffffffff8c065448 (uuid_mutex){+.+.}-{3:3}, at: btrfs_close_devices+0x86/0x4b0 fs/btrfs/volumes.c:1192
#2: ffff88801a96c918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914
#3: ffff88801a968360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748
1 lock held by systemd-udevd/22216:
#0: ffff88801a96c918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2966 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:981 [inline]
RIP: 0010:debug_check_no_obj_freed+0x1d8/0x420 lib/debugobjects.c:1023
Code: 02 00 00 48 89 45 08 4d 89 30 4c 89 c7 4d 89 68 08 e8 7c d0 ff ff 48 85 ed 74 2c 49 89 e8 4c 89 c0 48 c1 e8 03 42 80 3c 38 00 <0f> 84 2e ff ff ff 4c 89 c7 4c 89 44 24 38 e8 25 6e df fd 4c 8b 44
RSP: 0018:ffffc9000280fbb0 EFLAGS: 00000046
RAX: 1ffff1100fcf95ea RBX: ffff88806d685000 RCX: ffffffff815d6e70
RDX: 1ffffffff208fc61 RSI: 0000000000000004 RDI: ffff88801a9e6d38
RBP: ffff88807e7caf50 R08: ffff88807e7caf50 R09: ffff88807d0d4338
R10: fffff52000501f64 R11: 000000000000001f R12: 0000000000000001
R13: dead000000000122 R14: dead000000000100 R15: dffffc0000000000
FS: 00007f85613bf8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f855e9be000 CR3: 000000007f094000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
free_pages_prepare mm/page_alloc.c:1343 [inline]
free_pcp_prepare+0x2ae/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
prepare_creds+0x3f/0x7b0 kernel/cred.c:260
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:0x7f856067a9c7
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:00007ffff8e58438 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffff8e5b350 RCX: 00007f856067a9c7
RDX: 00007f85610eba00 RSI: 0000000000000000 RDI: 00005571722f49a3
RBP: 00007ffff8e58470 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffff8e5b350 R15: 00007ffff8e58960
----------------
Code disassembly (best guess):
0: 02 00 add (%rax),%al
2: 00 48 89 add %cl,-0x77(%rax)
5: 45 08 4d 89 or %r9b,-0x77(%r13)
9: 30 4c 89 c7 xor %cl,-0x39(%rcx,%rcx,4)
d: 4d 89 68 08 mov %r13,0x8(%r8)
11: e8 7c d0 ff ff callq 0xffffd092
16: 48 85 ed test %rbp,%rbp
19: 74 2c je 0x47
1b: 49 89 e8 mov %rbp,%r8
1e: 4c 89 c0 mov %r8,%rax
21: 48 c1 e8 03 shr $0x3,%rax
25: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
* 2a: 0f 84 2e ff ff ff je 0xffffff5e <-- trapping instruction
30: 4c 89 c7 mov %r8,%rdi
33: 4c 89 44 24 38 mov %r8,0x38(%rsp)
38: e8 25 6e df fd callq 0xfddf6e62
3d: 4c rex.WR
3e: 8b .byte 0x8b
3f: 44 rex.R