------------[ cut here ]------------ WARNING: CPU: 0 PID: 4613 at arch/x86/mm/tlb.c:815 flush_tlb_func+0x5c5/0x690 arch/x86/mm/tlb.c:815 Modules linked in: CPU: 0 UID: 0 PID: 4613 Comm: syz.3.104 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:flush_tlb_func+0x5c5/0x690 arch/x86/mm/tlb.c:815 Code: 88 fb ff ff 90 0f 0b 90 e9 db fb ff ff 45 31 ff e9 4e ff ff ff 90 0f 0b 90 43 80 3c 26 00 0f 85 e9 fc ff ff e9 ec fc ff ff 90 <0f> 0b 90 e9 ec fc ff ff 90 0f 0b 90 e9 39 fc ff ff 90 0f 0b 90 e9 RSP: 0018:ffffc90004876720 EFLAGS: 00010012 RAX: 1ffff1100e20b0c3 RBX: ffff8880b943b640 RCX: ffffffff8114beb1 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888071058618 RBP: ffffc90004876810 R08: ffff88807105861f R09: 1ffff1100e20b0c3 R10: dffffc0000000000 R11: ffffed100e20b0c4 R12: dffffc0000000000 R13: 0000000000000121 R14: 1ffff110172876cb R15: ffff8880b943b658 FS: 00007f3d9b5ab6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000733d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0x129e/0x2210 kernel/smp.c:875 on_each_cpu_cond_mask+0x3a/0x70 kernel/smp.c:1051 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:937 [inline] flush_tlb_mm_range+0x329/0x5c0 arch/x86/mm/tlb.c:1023 flush_tlb_page arch/x86/include/asm/tlbflush.h:254 [inline] ptep_clear_flush+0xcd/0x120 mm/pgtable-generic.c:101 page_vma_mkclean_one+0x4ca/0x7f0 mm/rmap.c:1041 page_mkclean_one+0x27b/0x3f0 mm/rmap.c:1082 rmap_walk_file+0x436/0x780 mm/rmap.c:2697 rmap_walk mm/rmap.c:2715 [inline] folio_mkclean+0x1f6/0x350 mm/rmap.c:1114 folio_clear_dirty_for_io+0x197/0x970 mm/page-writeback.c:3024 mpage_submit_folio+0x67/0x1a0 fs/ext4/inode.c:1902 mpage_process_page_bufs+0x565/0x700 fs/ext4/inode.c:2034 mpage_prepare_extent_to_map+0xdd8/0x15d0 fs/ext4/inode.c:2535 ext4_do_writepages+0xbc0/0x3090 fs/ext4/inode.c:2677 ext4_writepages+0x201/0x380 fs/ext4/inode.c:2813 do_writepages+0x357/0x880 mm/page-writeback.c:2683 filemap_fdatawrite_wbc+0xe1/0x140 mm/filemap.c:398 __filemap_fdatawrite_range mm/filemap.c:431 [inline] file_write_and_wait_range+0x17d/0x230 mm/filemap.c:788 ext4_sync_file+0x20e/0x930 fs/ext4/fsync.c:158 __do_sys_msync mm/msync.c:96 [inline] __se_sys_msync+0x2d2/0x3f0 mm/msync.c:32 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3d9a77ff19 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:00007f3d9b5ab058 EFLAGS: 00000246 ORIG_RAX: 000000000000001a RAX: ffffffffffffffda RBX: 00007f3d9a946160 RCX: 00007f3d9a77ff19 RDX: 0000000000000004 RSI: 087abbe8d1cc6ad9 RDI: 0000000020952000 RBP: 00007f3d9a7f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3d9a946160 R15: 00007fff48d22728