------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 32562 at fs/buffer.c:1145 __brelse+0x6c/0x90 fs/buffer.c:1145 Modules linked in: CPU: 1 PID: 32562 Comm: syz-executor.5 Not tainted 6.2.0-rc4-syzkaller-00350-gedc00350d205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__brelse+0x6c/0x90 fs/buffer.c:1145 Code: e8 f9 4a 8a ff 48 89 df be 04 00 00 00 e8 6c 05 e0 ff f0 ff 0b eb 15 e8 e2 4a 8a ff 48 c7 c7 00 56 fe 8a 31 c0 e8 04 3a 51 ff <0f> 0b 5b 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c b6 48 89 df e8 7b RSP: 0018:ffffc900048ff888 EFLAGS: 00010246 RAX: 01b408253b460c00 RBX: ffff88807632ac28 RCX: 0000000000040000 RDX: ffffc9000abe1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff816f2d2d R09: ffffed1017324f5b R10: ffffed1017324f5b R11: 1ffff11017324f5a R12: 1ffff9200091ff4c R13: 1ffff9200091ff24 R14: ffff88807632abc8 R15: dffffc0000000000 FS: 00007fe0b2de7700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f98eef10ff8 CR3: 0000000076a89000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: brelse include/linux/buffer_head.h:326 [inline] udf_rename+0x471/0x1450 fs/udf/namei.c:1214 vfs_rename+0xd53/0x1130 fs/namei.c:4779 do_renameat2+0xaad/0x12d0 fs/namei.c:4930 __do_sys_rename fs/namei.c:4976 [inline] __se_sys_rename fs/namei.c:4974 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4974 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe0b208c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe0b2de7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fe0b21abf80 RCX: 00007fe0b208c0c9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000080 RBP: 00007fe0b2de71d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffd2091ec0f R14: 00007fe0b2de7300 R15: 0000000000022000