BTRFS info (device loop2): first mount of filesystem a6a605fc-d5f1-4e66-8595-3726e2b761d6 BTRFS info (device loop2): using blake2b (blake2b-256-generic) checksum algorithm BTRFS info (device loop2): using free-space-tree BUG: sleeping function called from invalid context at include/linux/sched/mm.h:330 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 10887, name: syz.2.2373 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 0 UID: 0 PID: 10887 Comm: syz.2.2373 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:0x7f9ccd37dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f9cce1b1038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9ccd535f80 RCX: 00007f9ccd37dff9 RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 0000000020000100 RBP: 00007f9ccd3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9ccd535f80 R15: 00007ffca8a5e128 BTRFS info (device loop2 state M): resize thread pool 3 -> 4 BTRFS info (device loop2 state M): force compression, level 0