------------[ cut here ]------------ kernel BUG at mm/filemap.c:1619! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 18285 Comm: segctord Not tainted 6.4.0-rc3-syzkaller-00017-g9d646009f65d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 RIP: 0010:folio_end_writeback+0x43a/0x700 mm/filemap.c:1619 Code: 84 db 00 00 00 e8 66 f5 cf ff e9 48 fc ff ff e8 5c f5 cf ff 4c 89 ff 48 c7 c6 00 cc f2 8a e8 1d a9 0f 00 0f 0b e8 46 f5 cf ff <0f> 0b e8 3f f5 cf ff 4c 89 ff 48 c7 c6 c0 ce f2 8a e8 00 a9 0f 00 RSP: 0018:ffffc900158576b8 EFLAGS: 00010293 RAX: ffffffff81bb875a RBX: 0000000000000082 RCX: ffff88801f480000 RDX: 0000000000000000 RSI: ffffffff8aea9fa0 RDI: ffffffff8b384440 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1cab8ce R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001490574 R13: 1ffffd40002920ae R14: ffffea0001490548 R15: ffffea0001490540 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fe5b18000 CR3: 0000000024ef0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_complete_write fs/nilfs2/segment.c:1890 [inline] nilfs_segctor_wait fs/nilfs2/segment.c:1951 [inline] nilfs_segctor_do_construct+0x52e9/0x6d30 fs/nilfs2/segment.c:2117 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2404 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2512 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2595 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_end_writeback+0x43a/0x700 mm/filemap.c:1619 Code: 84 db 00 00 00 e8 66 f5 cf ff e9 48 fc ff ff e8 5c f5 cf ff 4c 89 ff 48 c7 c6 00 cc f2 8a e8 1d a9 0f 00 0f 0b e8 46 f5 cf ff <0f> 0b e8 3f f5 cf ff 4c 89 ff 48 c7 c6 c0 ce f2 8a e8 00 a9 0f 00 RSP: 0018:ffffc900158576b8 EFLAGS: 00010293 RAX: ffffffff81bb875a RBX: 0000000000000082 RCX: ffff88801f480000 RDX: 0000000000000000 RSI: ffffffff8aea9fa0 RDI: ffffffff8b384440 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1cab8ce R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001490574 R13: 1ffffd40002920ae R14: ffffea0001490548 R15: ffffea0001490540 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f2ef5b4 CR3: 000000002bc80000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400