reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0xc71/0xe70 mm/page_alloc.c:2706 tlb_batch_list_free mm/mmu_gather.c:159 [inline] tlb_finish_mmu+0x112/0x1d0 mm/mmu_gather.c:500 exit_mmap+0x44c/0xb50 mm/mmap.c:1297 __mmput+0x118/0x420 kernel/fork.c:1121 exit_mm+0x1da/0x2c0 kernel/exit.c:581 do_exit+0x640/0x22e0 kernel/exit.c:943 do_group_exit+0x21c/0x2d0 kernel/exit.c:1104 get_signal+0x1286/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1498! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 16843 Comm: kworker/u8:33 Not tainted 6.15.0-next-20250529-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:folio_unlock+0x13d/0x160 mm/filemap.c:1498 Code: d3 c8 ff 48 89 df 48 c7 c6 60 36 94 8b e8 3b 78 10 00 90 0f 0b e8 33 d3 c8 ff 48 89 df 48 c7 c6 80 2c 94 8b e8 24 78 10 00 90 <0f> 0b e8 1c d3 c8 ff 48 89 df 48 c7 c6 60 36 94 8b e8 0d 78 10 00 RSP: 0018:ffffc900033f6e28 EFLAGS: 00010246 RAX: 2a788e54b27fcc00 RBX: ffffea0001696800 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff8d982956 RDI: 00000000ffffffff RBP: ffffc900033f7110 R08: ffffffff8fa137f7 R09: 1ffffffff1f426fe R10: dffffc0000000000 R11: fffffbfff1f426ff R12: 1ffffd40002d2d01 R13: 00fff2800000403c R14: ffffea0001696808 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125d52000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3081eff8 CR3: 0000000028ade000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_sync_node_pages+0x180a/0x1a10 fs/f2fs/node.c:2081 f2fs_write_node_pages+0x303/0x6e0 fs/f2fs/node.c:2183 do_writepages+0x32e/0x550 mm/page-writeback.c:2636 __writeback_single_inode+0x145/0xff0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x6b5/0x1000 fs/fs-writeback.c:1976 wb_writeback+0x43b/0xaf0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x409/0xef0 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x13d/0x160 mm/filemap.c:1498 Code: d3 c8 ff 48 89 df 48 c7 c6 60 36 94 8b e8 3b 78 10 00 90 0f 0b e8 33 d3 c8 ff 48 89 df 48 c7 c6 80 2c 94 8b e8 24 78 10 00 90 <0f> 0b e8 1c d3 c8 ff 48 89 df 48 c7 c6 60 36 94 8b e8 0d 78 10 00 RSP: 0018:ffffc900033f6e28 EFLAGS: 00010246 RAX: 2a788e54b27fcc00 RBX: ffffea0001696800 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff8d982956 RDI: 00000000ffffffff RBP: ffffc900033f7110 R08: ffffffff8fa137f7 R09: 1ffffffff1f426fe R10: dffffc0000000000 R11: fffffbfff1f426ff R12: 1ffffd40002d2d01 R13: 00fff2800000403c R14: ffffea0001696808 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125d52000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3081dff8 CR3: 0000000028ade000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400