------------[ cut here ]------------ !folio_test_locked(folio) && !folio_test_dirty(folio) WARNING: fs/ext4/inode.c:3938 at ext4_dirty_folio+0x172/0x1b0 fs/ext4/inode.c:3938, CPU#1: syz.7.2059/15412 Modules linked in: CPU: 1 UID: 0 PID: 15412 Comm: syz.7.2059 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/10/2026 RIP: 0010:ext4_dirty_folio+0x172/0x1b0 fs/ext4/inode.c:3938 Code: 14 63 39 ff 4c 89 e7 48 89 de 5b 41 5c 41 5d 41 5e 41 5f 5d e9 5f e3 cd ff e8 fa 62 39 ff 90 0f 0b 90 eb e0 e8 ef 62 39 ff 90 <0f> 0b 90 eb a7 e8 e4 62 39 ff 48 89 df 48 c7 c6 20 cc 04 8c e8 e5 RSP: 0018:ffffc90006dff368 EFLAGS: 00010293 RAX: ffffffff828d0f51 RBX: ffffea000124af40 RCX: ffff88802c460000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffffd40002495e8 R08: ffffea000124af47 R09: 1ffffd40002495e8 R10: dffffc0000000000 R11: fffff940002495e9 R12: ffff88805a86c5f8 R13: 1ffffd40002495e9 R14: 0000000000000000 R15: ffffea000124af48 FS: 0000000000000000(0000) GS:ffff888125058000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5623b556b8 CR3: 0000000084f37000 CR4: 0000000000350ef0 Call Trace: zap_present_folio_ptes mm/memory.c:1650 [inline] zap_present_ptes mm/memory.c:1730 [inline] do_zap_pte_range mm/memory.c:1832 [inline] zap_pte_range mm/memory.c:1934 [inline] zap_pmd_range mm/memory.c:2020 [inline] zap_pud_range mm/memory.c:2048 [inline] zap_p4d_range mm/memory.c:2069 [inline] __zap_vma_range+0x17ed/0x4f10 mm/memory.c:2109 unmap_vmas+0x390/0x550 mm/memory.c:2178 exit_mmap+0x293/0x9f0 mm/mmap.c:1300 __mmput+0x118/0x420 kernel/fork.c:1187 exit_mm+0x221/0x2d0 kernel/exit.c:610 do_exit+0x6cd/0x2360 kernel/exit.c:992 do_group_exit+0x22d/0x2f0 kernel/exit.c:1147 get_signal+0x121b/0x12c0 kernel/signal.c:3038 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x104/0x730 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc434d9de59 Code: Unable to access opcode bytes at 0x7fc434d9de2f. RSP: 002b:00007fc435c6d0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fc435026188 RCX: 00007fc434d9de59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc435026188 RBP: 00007fc435026180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc435026218 R14: 00007ffe08ebfe50 R15: 00007ffe08ebff38