------------[ cut here ]------------ kernel BUG at fs/buffer.c:1988! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8171 Comm: syz.1.1331 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__block_write_begin_int+0x1624/0x1650 fs/buffer.c:1988 Code: 02 e9 db ec ff ff e8 4b 48 9a ff 0f 0b 48 85 db 75 26 e8 3f 48 9a ff 4c 8b 7c 24 18 eb 22 e8 33 48 9a ff 0f 0b e8 2c 48 9a ff <0f> 0b e8 25 48 9a ff 0f 0b e8 1e 6a 38 08 e8 19 48 9a ff 49 ff cf RSP: 0018:ffffc90002ec7760 EFLAGS: 00010283 RAX: ffffffff81e61334 RBX: 00fff0000000241d RCX: 0000000000040000 RDX: ffffc9000b0a2000 RSI: 0000000000009fc1 RDI: 0000000000009fc2 RBP: ffffc90002ec78e8 R08: ffffffff81e5ff1d R09: fffff9400029ab31 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 000000000000689b R14: 0000000000000000 R15: ffffea00014d5980 FS: 00007f91c28f36c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69a13b9000 CR3: 0000000069d3b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_prepare_chunk fs/nilfs2/dir.c:92 [inline] nilfs_set_link+0x165/0x530 fs/nilfs2/dir.c:425 nilfs_rename+0x844/0xb80 fs/nilfs2/namei.c:414 vfs_rename+0xd32/0x10f0 fs/namei.c:4832 do_renameat2+0xe0f/0x1700 fs/namei.c:4985 __do_sys_renameat2 fs/namei.c:5018 [inline] __se_sys_renameat2 fs/namei.c:5015 [inline] __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5015 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f91c3e72ad9 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:00007f91c28f3048 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f91c4000f60 RCX: 00007f91c3e72ad9 RDX: 0000000000000005 RSI: 00000000200001c0 RDI: 0000000000000005 RBP: 00007f91c3ee1e5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f91c4000f60 R15: 00007ffd433a71e8 Modules linked in: ---[ end trace 0c0c57ed37884ef7 ]--- RIP: 0010:__block_write_begin_int+0x1624/0x1650 fs/buffer.c:1988 Code: 02 e9 db ec ff ff e8 4b 48 9a ff 0f 0b 48 85 db 75 26 e8 3f 48 9a ff 4c 8b 7c 24 18 eb 22 e8 33 48 9a ff 0f 0b e8 2c 48 9a ff <0f> 0b e8 25 48 9a ff 0f 0b e8 1e 6a 38 08 e8 19 48 9a ff 49 ff cf RSP: 0018:ffffc90002ec7760 EFLAGS: 00010283 RAX: ffffffff81e61334 RBX: 00fff0000000241d RCX: 0000000000040000 RDX: ffffc9000b0a2000 RSI: 0000000000009fc1 RDI: 0000000000009fc2 RBP: ffffc90002ec78e8 R08: ffffffff81e5ff1d R09: fffff9400029ab31 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 000000000000689b R14: 0000000000000000 R15: ffffea00014d5980 FS: 00007f91c28f36c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3d0199bab8 CR3: 0000000069d3b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400