R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc6d3be3fac R14: 00007fc6d3be3fa0 R15: 00007fc6d3be3fa0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4337 at fs/btrfs/inode.c:6780 btrfs_add_link+0x8a5/0xd40 fs/btrfs/inode.c:6780 Modules linked in: CPU: 0 PID: 4337 Comm: syz.0.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:btrfs_add_link+0x8a5/0xd40 fs/btrfs/inode.c:6780 Code: e8 00 e4 2d fe 4c 8b 6c 24 18 0f 1f 44 00 00 e8 f1 e3 2d fe eb 16 e8 ea e3 2d fe 48 c7 c7 c0 79 6b 8a 44 89 f6 e8 0b 3e 6a 06 <0f> 0b 48 8b 7c 24 20 48 c7 c6 60 7f 6b 8a ba 7c 1a 00 00 eb 38 e8 RSP: 0018:ffffc90002f8f720 EFLAGS: 00010246 RAX: 35091b9e6a49b600 RBX: ffff88806a249478 RCX: ffff88807c3dbb80 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002f8f868 R08: ffff8880b902795b R09: 1ffff11017204f2b R10: dffffc0000000000 R11: ffffed1017204f2c R12: ffff888070a10001 R13: 1ffff920005f1ef0 R14: 00000000fffffff4 R15: 1ffff1100d44928f FS: 000055558d824500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558bd80815f8 CR3: 0000000020a22000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_add_nondir fs/btrfs/inode.c:6831 [inline] btrfs_create+0x511/0x5d0 fs/btrfs/inode.c:6953 lookup_open fs/namei.c:3513 [inline] open_last_lookups fs/namei.c:3583 [inline] path_openat+0x120a/0x2fb0 fs/namei.c:3790 do_filp_open+0x1df/0x400 fs/namei.c:3820 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc6d395c159 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:00007fff1abc61b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc6d3be3fa0 RCX: 00007fc6d395c159 RDX: 000000000000275a RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007fc6d39f3024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc6d3be3fac R14: 00007fc6d3be3fa0 R15: 00007fc6d3be3fa0