Oops: general protection fault, probably for non-canonical address 0xe01ffbf110035943: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: maybe wild-memory-access in range [0x00ffff88801aca18-0x00ffff88801aca1f] CPU: 0 UID: 0 PID: 5948 Comm: syz.2.12 Not tainted 6.12.0-next-20241125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__lock_acquire+0x6a/0x2100 kernel/locking/lockdep.c:5089 Code: b6 04 30 84 c0 0f 85 f8 16 00 00 45 31 f6 83 3d db 17 9f 0e 00 0f 84 c8 13 00 00 89 54 24 60 89 5c 24 38 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 b8 b9 8f 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc900055eed30 EFLAGS: 00010002 RAX: 001ffff110035943 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 00ffff88801aca18 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff20332c7 R12: ffff888020700000 R13: 0000000000000000 R14: 0000000000000000 R15: 00ffff88801aca18 FS: 00007f64c56956c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad8d308ab8 CR3: 000000002817a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 __queue_work+0x759/0xf50 queue_work_on+0x1c2/0x380 kernel/workqueue.c:2390 btrfs_cache_block_group+0x540/0x6f0 fs/btrfs/block-group.c:962 find_free_extent+0x4a1e/0x5850 fs/btrfs/extent-tree.c:4490 btrfs_reserve_extent+0x422/0x810 fs/btrfs/extent-tree.c:4672 btrfs_alloc_tree_block+0x202/0x1440 fs/btrfs/extent-tree.c:5127 btrfs_force_cow_block+0x526/0x1da0 fs/btrfs/ctree.c:573 btrfs_cow_block+0x35e/0xa40 fs/btrfs/ctree.c:754 btrfs_search_slot+0xbe3/0x3150 fs/btrfs/ctree.c:2152 btrfs_update_root+0xf6/0xc70 fs/btrfs/root-tree.c:144 btrfs_ioctl_subvol_setflags+0x4c3/0x760 fs/btrfs/ioctl.c:1521 btrfs_ioctl+0x8ea/0xcc0 fs/btrfs/ioctl.c:5184 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 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:0x7f64c497e819 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:00007f64c5695038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f64c4b35fa0 RCX: 00007f64c497e819 RDX: 0000000020000080 RSI: 000000004008941a RDI: 0000000000000003 RBP: 00007f64c49f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f64c4b35fa0 R15: 00007ffdf67ff4a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x6a/0x2100 kernel/locking/lockdep.c:5089 Code: b6 04 30 84 c0 0f 85 f8 16 00 00 45 31 f6 83 3d db 17 9f 0e 00 0f 84 c8 13 00 00 89 54 24 60 89 5c 24 38 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 b8 b9 8f 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc900055eed30 EFLAGS: 00010002 RAX: 001ffff110035943 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 00ffff88801aca18 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff20332c7 R12: ffff888020700000 R13: 0000000000000000 R14: 0000000000000000 R15: 00ffff88801aca18 FS: 00007f64c56956c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad8d308ab8 CR3: 000000002817a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: b6 04 mov $0x4,%dh 2: 30 84 c0 0f 85 f8 16 xor %al,0x16f8850f(%rax,%rax,8) 9: 00 00 add %al,(%rax) b: 45 31 f6 xor %r14d,%r14d e: 83 3d db 17 9f 0e 00 cmpl $0x0,0xe9f17db(%rip) # 0xe9f17f0 15: 0f 84 c8 13 00 00 je 0x13e3 1b: 89 54 24 60 mov %edx,0x60(%rsp) 1f: 89 5c 24 38 mov %ebx,0x38(%rsp) 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1) <-- trapping instruction 2e: 74 12 je 0x42 30: 4c 89 ff mov %r15,%rdi 33: e8 b8 b9 8f 00 call 0x8fb9f0 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah