------------[ cut here ]------------ WARNING: CPU: 0 PID: 8441 at fs/btrfs/inode.c:6637 btrfs_create_new_inode+0x1c88/0x2610 fs/btrfs/inode.c:6637 Modules linked in: CPU: 0 PID: 8441 Comm: syz.4.828 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:btrfs_create_new_inode+0x1c88/0x2610 fs/btrfs/inode.c:6637 Code: cf 8a 44 89 fe e8 58 53 dc fd 0f 0b 4c 8b 64 24 10 e9 57 ff ff ff e8 67 cc 10 fe 48 c7 c7 e0 db cf 8a 44 89 fe e8 38 53 dc fd <0f> 0b e9 27 fe ff ff e8 4c cc 10 fe e9 b3 e7 ff ff e8 42 cc 10 fe RSP: 0018:ffffc90003707600 EFLAGS: 00010246 RAX: 44caca6c904e8b00 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9001043e000 RSI: 00000000000058e5 RDI: 00000000000058e6 RBP: ffffc90003707850 R08: ffffffff90b0f3bf R09: 1ffffffff2161e77 R10: dffffc0000000000 R11: fffffbfff2161e78 R12: 1ffff1100e3801ed R13: ffff888067574001 R14: 1ffff920006e0edc R15: 00000000ffffffe4 FS: 00007fa9dc2486c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9dc227d58 CR3: 00000000565de000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_create_common+0x195/0x270 fs/btrfs/inode.c:6866 lookup_open fs/namei.c:3533 [inline] open_last_lookups fs/namei.c:3601 [inline] path_openat+0x11b9/0x2f10 fs/namei.c:3831 do_filp_open+0x1ee/0x420 fs/namei.c:3861 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa9db39e159 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:00007fa9dc248028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fa9db626090 RCX: 00007fa9db39e159 RDX: 000000000000275a RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007fa9db43506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa9db626128 R14: 00007fa9db626090 R15: 00007ffcdb829ff8