WARNING: CPU: 0 PID: 5265 at fs/btrfs/ioctl.c:360 btrfs_fileattr_set+0xab3/0xb90 fs/btrfs/ioctl.c:360 Modules linked in: CPU: 0 PID: 5265 Comm: syz.1.198 Not tainted 6.1.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:btrfs_fileattr_set+0xab3/0xb90 fs/btrfs/ioctl.c:360 Code: 38 c1 0f 8c f1 fc ff ff 48 8b 7c 24 18 e8 c5 e3 40 fe e9 e2 fc ff ff e8 3b 4d e9 fd 48 c7 c7 a0 e1 4f 8b 89 ee e8 ed 66 b1 fd <0f> 0b e9 0d fe ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c b2 fb ff RSP: 0018:ffffc90003a97928 EFLAGS: 00010246 RAX: 17ed527b4d089500 RBX: ffff8880622d4001 RCX: 0000000000080000 RDX: ffffc900110f4000 RSI: 000000000005b51b RDI: 000000000005b51c RBP: 00000000ffffffe4 R08: ffffffff8152b84e R09: ffffed10171c4f1c R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807150d638 R13: ffff88807150d5e8 R14: 0000000000000000 R15: 1ffff1100e2a1ac7 FS: 00007f39713176c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feacc3aefe4 CR3: 0000000066037000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_fileattr_set+0x8f3/0xd30 fs/ioctl.c:696 ioctl_setflags fs/ioctl.c:728 [inline] do_vfs_ioctl+0x1cd1/0x2a90 fs/ioctl.c:839 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x81/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3970585d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3971317038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3970776160 RCX: 00007f3970585d29 RDX: 00000000200004c0 RSI: 0000000040086602 RDI: 0000000000000003 RBP: 00007f3970601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f3970776160 R15: 00007ffc56419f38