BTRFS info (device loop3): using crc32c (crc32c-intel) checksum algorithm BTRFS info (device loop3): using free-space-tree workqueue: Failed to create a rescuer kthread for wq "btrfs-rmw": -EINTR Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 6331 Comm: syz.3.176 Not tainted 6.11.0-rc4-next-20240821-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__lock_acquire+0x69/0x2040 kernel/locking/lockdep.c:5010 Code: b6 04 30 84 c0 0f 85 87 16 00 00 45 31 f6 83 3d 88 22 ac 0e 00 0f 84 ac 13 00 00 89 54 24 54 89 5c 24 68 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 a9 2b 8c 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90002e6f150 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff203818e R12: ffff888029bf9e00 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f635d4066c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3bf86b000 CR3: 000000005a984000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5762 touch_wq_lockdep_map kernel/workqueue.c:3876 [inline] __flush_workqueue+0x1e3/0x1770 kernel/workqueue.c:3918 drain_workqueue+0xc9/0x3a0 kernel/workqueue.c:4082 destroy_workqueue+0xba/0xc40 kernel/workqueue.c:5826 __alloc_workqueue+0x1ba4/0x1f20 kernel/workqueue.c:5741 alloc_workqueue+0xd6/0x210 kernel/workqueue.c:5754 btrfs_init_workqueues+0x273/0x740 fs/btrfs/disk-io.c:1994 open_ctree+0x122c/0x2a10 fs/btrfs/disk-io.c:3364 btrfs_fill_super fs/btrfs/super.c:965 [inline] btrfs_get_tree_super fs/btrfs/super.c:1888 [inline] btrfs_get_tree+0xe7a/0x1920 fs/btrfs/super.c:2114 vfs_get_tree+0x90/0x2a0 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/0x2a0 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:0x7f635c57b61a 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:00007f635d405e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f635d405ef0 RCX: 00007f635c57b61a RDX: 0000000020005100 RSI: 0000000020000040 RDI: 00007f635d405eb0 RBP: 0000000020005100 R08: 00007f635d405ef0 R09: 0000000000800810 R10: 0000000000800810 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f635d405eb0 R14: 00000000000050f9 R15: 0000000020000240 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x69/0x2040 kernel/locking/lockdep.c:5010 Code: b6 04 30 84 c0 0f 85 87 16 00 00 45 31 f6 83 3d 88 22 ac 0e 00 0f 84 ac 13 00 00 89 54 24 54 89 5c 24 68 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 a9 2b 8c 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90002e6f150 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff203818e R12: ffff888029bf9e00 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f635d4066c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3bf86b000 CR3: 000000005a984000 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 87 16 xor %al,0x1687850f(%rax,%rax,8) 9: 00 00 add %al,(%rax) b: 45 31 f6 xor %r14d,%r14d e: 83 3d 88 22 ac 0e 00 cmpl $0x0,0xeac2288(%rip) # 0xeac229d 15: 0f 84 ac 13 00 00 je 0x13c7 1b: 89 54 24 54 mov %edx,0x54(%rsp) 1f: 89 5c 24 68 mov %ebx,0x68(%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 a9 2b 8c 00 call 0x8c2be1 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah