folio_create_buffers+0x105/0x140 fs/buffer.c:1774 __block_write_begin_int+0x1b3/0x1560 fs/buffer.c:2098 nilfs_prepare_chunk fs/nilfs2/dir.c:92 [inline] nilfs_add_link+0x76e/0xd10 fs/nilfs2/dir.c:506 nilfs_add_nondir fs/nilfs2/namei.c:37 [inline] nilfs_create fs/nilfs2/namei.c:92 [inline] nilfs_create+0x203/0x320 fs/nilfs2/namei.c:75 lookup_open.isra.0+0x1095/0x13b0 fs/namei.c:3477 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1577! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5286 Comm: segctord Not tainted 6.7.0-rc2-syzkaller-00029-g9b6de136b5f0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:folio_end_writeback+0x345/0x400 mm/filemap.c:1577 Code: 0f d2 ff be 01 00 00 00 48 89 df e8 f5 af ff ff e9 1c fe ff ff e8 2b 0f d2 ff 48 c7 c6 20 2d d7 8a 48 89 df e8 fc 5a 10 00 90 <0f> 0b e8 14 0f d2 ff 48 c7 c6 80 2d d7 8a 48 89 df e8 e5 5a 10 00 RSP: 0018:ffffc900047ff9f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea0000ad8680 RCX: ffffc900047ff858 RDX: ffff8880613c80c0 RSI: ffffffff81b47134 RDI: ffffffff8b2ee580 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff1e30d4a R10: ffffffff8f186a57 R11: 0000000000000002 R12: ffff88806cdbfe80 R13: ffffea00018be380 R14: ffff888061de8d78 R15: ffffea0000ad8680 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558248777378 CR3: 000000002118b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: