workqueue: max_active 2097158 requested for btrfs-endio-write is out of range, clamping between 1 and 512 workqueue: max_active 2097158 requested for btrfs-compressed-write is out of range, clamping between 1 and 512 BTRFS info (device loop2: state C): enabling ssd optimizations BUG: kernel NULL pointer dereference, address: 0000000000000018 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 106b12067 P4D 106b12067 PUD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 3274 Comm: syz.2.16 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:backup_super_roots fs/btrfs/disk-io.c:1668 [inline] RIP: 0010:write_all_supers+0x1f9/0xe20 fs/btrfs/disk-io.c:4079 Code: 89 4e 28 48 8b 4b 18 48 8b 11 48 8b 89 18 01 00 00 48 c1 e1 06 4c 01 f9 81 e2 ff 0f 00 00 0f b6 4c 0a 64 41 88 8e 9a 00 00 00 <48> 8b 48 18 48 8b 09 49 89 4e 50 48 8b 48 18 48 8b 11 48 8b 89 18 RSP: 0018:ffffc900029dfad0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810eaad000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff830fa5e0 RDI: 00000000ffffffff RBP: ffff88810efa8000 R08: 0000000000000000 R09: 00000000000005b2 R10: 0000000000000005 R11: 0000000000001000 R12: 00000000e600104c R13: 0000000000000000 R14: ffff8881102b3b2b R15: 0005088000000000 FS: 00007f296794c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000018 CR3: 000000010cb29000 CR4: 00000000003506e0 Call Trace: btrfs_commit_transaction+0xb48/0x1010 fs/btrfs/transaction.c:2516 btrfs_set_free_space_cache_v1_active+0x31/0xd0 fs/btrfs/free-space-cache.c:4151 btrfs_remount_cleanup fs/btrfs/super.c:1684 [inline] btrfs_remount+0x567/0x650 fs/btrfs/super.c:1861 reconfigure_super+0x193/0x200 fs/super.c:1151 do_remount fs/namespace.c:2918 [inline] path_mount+0x51b/0x580 fs/namespace.c:3696 do_mount fs/namespace.c:3717 [inline] __do_sys_mount fs/namespace.c:3926 [inline] __se_sys_mount+0x14b/0x1b0 fs/namespace.c:3903 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2966b9014a 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:00007f296794be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f296794bef0 RCX: 00007f2966b9014a RDX: 0000200000000180 RSI: 0000200000000380 RDI: 0000000000000000 RBP: 0000200000000180 R08: 00007f296794bef0 R09: 0000000002042023 R10: 0000000002042023 R11: 0000000000000246 R12: 0000200000000380 R13: 00007f296794beb0 R14: 0000000000000000 R15: 00002000000002c0 Modules linked in: CR2: 0000000000000018 ---[ end trace 0000000000000000 ]--- RIP: 0010:backup_super_roots fs/btrfs/disk-io.c:1668 [inline] RIP: 0010:write_all_supers+0x1f9/0xe20 fs/btrfs/disk-io.c:4079 Code: 89 4e 28 48 8b 4b 18 48 8b 11 48 8b 89 18 01 00 00 48 c1 e1 06 4c 01 f9 81 e2 ff 0f 00 00 0f b6 4c 0a 64 41 88 8e 9a 00 00 00 <48> 8b 48 18 48 8b 09 49 89 4e 50 48 8b 48 18 48 8b 11 48 8b 89 18 RSP: 0018:ffffc900029dfad0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810eaad000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff830fa5e0 RDI: 00000000ffffffff RBP: ffff88810efa8000 R08: 0000000000000000 R09: 00000000000005b2 R10: 0000000000000005 R11: 0000000000001000 R12: 00000000e600104c R13: 0000000000000000 R14: ffff8881102b3b2b R15: 0005088000000000 FS: 00007f296794c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000018 CR3: 000000010cb29000 CR4: 00000000003506e0 ---------------- Code disassembly (best guess): 0: 89 4e 28 mov %ecx,0x28(%rsi) 3: 48 8b 4b 18 mov 0x18(%rbx),%rcx 7: 48 8b 11 mov (%rcx),%rdx a: 48 8b 89 18 01 00 00 mov 0x118(%rcx),%rcx 11: 48 c1 e1 06 shl $0x6,%rcx 15: 4c 01 f9 add %r15,%rcx 18: 81 e2 ff 0f 00 00 and $0xfff,%edx 1e: 0f b6 4c 0a 64 movzbl 0x64(%rdx,%rcx,1),%ecx 23: 41 88 8e 9a 00 00 00 mov %cl,0x9a(%r14) * 2a: 48 8b 48 18 mov 0x18(%rax),%rcx <-- trapping instruction 2e: 48 8b 09 mov (%rcx),%rcx 31: 49 89 4e 50 mov %rcx,0x50(%r14) 35: 48 8b 48 18 mov 0x18(%rax),%rcx 39: 48 8b 11 mov (%rcx),%rdx 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 89 18 mov %ebx,(%rax)