loop1: detected capacity change from 0 to 32768 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:330 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 28623, name: syz.1.2744 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 0 UID: 0 PID: 28623 Comm: syz.1.2744 Not tainted 6.12.0-rc2-next-20241008-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 __might_resched+0x5d4/0x780 kernel/sched/core.c:8638 might_alloc include/linux/sched/mm.h:330 [inline] slab_pre_alloc_hook mm/slub.c:4062 [inline] slab_alloc_node mm/slub.c:4140 [inline] kmem_cache_alloc_noprof+0x61/0x380 mm/slub.c:4167 getname_kernel+0x59/0x2f0 fs/namei.c:234 kern_path+0x1d/0x50 fs/namei.c:2716 is_same_device fs/btrfs/volumes.c:812 [inline] device_list_add+0xc64/0x1ea0 fs/btrfs/volumes.c:947 btrfs_scan_one_device+0xab5/0xd90 fs/btrfs/volumes.c:1538 btrfs_get_tree_super fs/btrfs/super.c:1841 [inline] btrfs_get_tree+0x30e/0x1920 fs/btrfs/super.c:2114 vfs_get_tree+0x90/0x2b0 fs/super.c:1800 fc_mount+0x1b/0xb0 fs/namespace.c:1231 btrfs_get_tree_subvol fs/btrfs/super.c:2077 [inline] btrfs_get_tree+0x652/0x1920 fs/btrfs/super.c:2115 vfs_get_tree+0x90/0x2b0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f001477f79a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0015552e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0015552ef0 RCX: 00007f001477f79a RDX: 00000000200055c0 RSI: 0000000020005600 RDI: 00007f0015552eb0 RBP: 00000000200055c0 R08: 00007f0015552ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020005600 R13: 00007f0015552eb0 R14: 000000000000559a R15: 0000000020000040 BTRFS info (device loop1): first mount of filesystem 14d642db-7b15-43e4-81e6-4b8fac6a25f8 BTRFS info (device loop1): using blake2b (blake2b-256-generic) checksum algorithm BTRFS info (device loop1): using free-space-tree workqueue: Failed to create a rescuer kthread for wq "btrfs-rmw": -EINTR workqueue: Failed to create a rescuer kthread for wq "btrfs-endio-write": -EINTR workqueue: Failed to create a rescuer kthread for wq "btrfs-compressed-write": -EINTR workqueue: Failed to create a rescuer kthread for wq "btrfs-freespace-write": -EINTR workqueue: Failed to create a rescuer kthread for wq "btrfs-delayed-meta": -EINTR workqueue: Failed to create a rescuer kthread for wq "btrfs-qgroup-rescan": -EINTR BTRFS error (device loop1): open_ctree failed