------------[ cut here ]------------ kernel BUG at mm/filemap.c:1615! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12741 Comm: segctord Not tainted 6.2.0-rc2-syzkaller-00057-g41c03ba9beea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:folio_end_writeback+0x34d/0x530 mm/filemap.c:1615 Code: 84 87 00 00 00 e8 93 54 d2 ff e9 36 fd ff ff e8 89 54 d2 ff 4c 89 f7 48 c7 c6 e0 86 f8 8a e8 ca 3a 10 00 0f 0b e8 73 54 d2 ff <0f> 0b e8 6c 54 d2 ff 4c 89 f7 48 c7 c6 20 89 f8 8a e8 ad 3a 10 00 RSP: 0018:ffffc9000575f688 EFLAGS: 00010293 RAX: ffffffff81b986ed RBX: 0000000000000082 RCX: ffff88801c4dba80 RDX: 0000000000000000 RSI: ffffffff8aedcd60 RDI: ffffffff8b4bc260 RBP: 1ffffd40003c10a6 R08: dffffc0000000000 R09: fffffbfff1d2cd86 R10: fffffbfff1d2cd86 R11: 1ffffffff1d2cd85 R12: ffffea0001e08534 R13: dffffc0000000000 R14: ffffea0001e08500 R15: 1ffffd40003c10a0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5fa4915829 CR3: 000000002c40e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_complete_write fs/nilfs2/segment.c:1894 [inline] nilfs_segctor_wait fs/nilfs2/segment.c:1929 [inline] nilfs_segctor_do_construct+0x56d7/0x6f80 fs/nilfs2/segment.c:2092 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x59e/0x11c0 fs/nilfs2/segment.c:2570 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_end_writeback+0x34d/0x530 mm/filemap.c:1615 Code: 84 87 00 00 00 e8 93 54 d2 ff e9 36 fd ff ff e8 89 54 d2 ff 4c 89 f7 48 c7 c6 e0 86 f8 8a e8 ca 3a 10 00 0f 0b e8 73 54 d2 ff <0f> 0b e8 6c 54 d2 ff 4c 89 f7 48 c7 c6 20 89 f8 8a e8 ad 3a 10 00 RSP: 0018:ffffc9000575f688 EFLAGS: 00010293 RAX: ffffffff81b986ed RBX: 0000000000000082 RCX: ffff88801c4dba80 RDX: 0000000000000000 RSI: ffffffff8aedcd60 RDI: ffffffff8b4bc260 RBP: 1ffffd40003c10a6 R08: dffffc0000000000 R09: fffffbfff1d2cd86 R10: fffffbfff1d2cd86 R11: 1ffffffff1d2cd85 R12: ffffea0001e08534 R13: dffffc0000000000 R14: ffffea0001e08500 R15: 1ffffd40003c10a0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe69b185058 CR3: 000000002b65c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400