------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/volumes.c:3086 at btrfs_init_new_device+0x1bd0/0x1ca0 fs/btrfs/volumes.c:3086, CPU#0: syz.9.603/12578 Modules linked in: CPU: 0 UID: 0 PID: 12578 Comm: syz.9.603 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:btrfs_init_new_device+0x1bd0/0x1ca0 fs/btrfs/volumes.c:3086 Code: 00 83 7c 24 08 f4 0f 85 d8 00 00 00 e8 49 25 ab fd e9 d7 00 00 00 e8 3f 25 ab fd eb 10 e8 38 25 ab fd eb 09 e8 31 25 ab fd 90 <0f> 0b 90 8b 4c 24 08 f7 d9 e9 42 fc ff ff 89 d9 80 e1 07 38 c1 0f RSP: 0018:ffffc900049e7d98 EFLAGS: 00010293 RAX: ffffffff841bb41f RBX: 00000000ffffffef RCX: ffff88801cbd5dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff88801cbd5dc0 R09: 0000000000000003 R10: 0000000000000100 R11: 00000000fffffffb R12: ffff88805dde0000 R13: ffff88805dde0e40 R14: dffffc0000000000 R15: ffff888035aea088 FS: 00007ffb84f426c0(0000) GS:ffff8881249bb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb2eb98c18 CR3: 000000003342a000 CR4: 00000000003526f0 Call Trace: btrfs_ioctl_add_dev+0x1ad/0x640 fs/btrfs/ioctl.c:2571 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffb8f16e2d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb84f42028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffb8f3f6360 RCX: 00007ffb8f16e2d9 RDX: 0000200000001000 RSI: 000000005000940a RDI: 0000000000000004 RBP: 00007ffb8f205888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffb8f3f63f8 R14: 00007ffb8f3f6360 R15: 00007ffcd3c1f978