------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/volumes.c:3117 at btrfs_init_new_device+0x1c27/0x1d00 fs/btrfs/volumes.c:3117, CPU#1: syz.8.465/11788 Modules linked in: CPU: 1 UID: 0 PID: 11788 Comm: syz.8.465 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:btrfs_init_new_device+0x1c27/0x1d00 fs/btrfs/volumes.c:3117 Code: 00 83 7c 24 08 f4 0f 85 d8 00 00 00 e8 d2 f8 a4 fd e9 d7 00 00 00 e8 c8 f8 a4 fd eb 10 e8 c1 f8 a4 fd eb 09 e8 ba f8 a4 fd 90 <0f> 0b 90 8b 4c 24 08 f7 d9 e9 56 fc ff ff 89 d9 80 e1 07 38 c1 0f RSP: 0018:ffffc9000585fd98 EFLAGS: 00010293 RAX: ffffffff8422c836 RBX: 00000000ffffffef RCX: ffff88802b053e80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888034cb1600 R08: ffff88802b053e80 R09: 0000000000000003 R10: 0000000000000100 R11: 00000000fffffffb R12: ffff888046098000 R13: ffff88804051d818 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f899728e6c0(0000) GS:ffff88812484d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c04826e620 CR3: 0000000040d5a000 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:0x7f899903f559 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:00007f899728e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f89992c5fa0 RCX: 00007f899903f559 RDX: 0000200000001000 RSI: 000000005000940a RDI: 0000000000000004 RBP: 00007f89990d6b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f89992c6038 R14: 00007f89992c5fa0 R15: 00007ffd35a8ddb8