------------[ cut here ]------------ WARNING: CPU: 1 PID: 5277 at fs/ext4/inode.c:3512 ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3512 Modules linked in: CPU: 1 PID: 5277 Comm: syz-executor402 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3512 Code: c1 ed 04 83 e5 01 89 ee e8 7e b2 4a ff 40 84 ed 0f 85 70 ff ff ff e8 f0 b7 4a ff 90 0f 0b 90 e9 62 ff ff ff e8 e2 b7 4a ff 90 <0f> 0b 90 eb 82 48 89 ef e8 24 ef a4 ff e9 35 ff ff ff e8 1a ef a4 RSP: 0018:ffffc90003b37a20 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea0001a1a140 RCX: ffffffff82424026 RDX: ffff8880239f9e00 RSI: ffffffff824240ce RDI: ffffea0001a1a168 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88806978f2d8 R13: dffffc0000000000 R14: ffffea0001a1a100 R15: ffffea0001a1a140 FS: 00005555611ad480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020738000 CR3: 00000000791dc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0xce/0x150 mm/page-writeback.c:2781 unpin_user_pages_dirty_lock+0x432/0x4e0 mm/gup.c:395 process_vm_rw_single_vec mm/process_vm_access.c:127 [inline] process_vm_rw_core.constprop.0+0x63b/0xa10 mm/process_vm_access.c:216 process_vm_rw+0x301/0x360 mm/process_vm_access.c:284 __do_sys_process_vm_writev mm/process_vm_access.c:304 [inline] __se_sys_process_vm_writev mm/process_vm_access.c:299 [inline] __x64_sys_process_vm_writev+0xe2/0x1c0 mm/process_vm_access.c:299 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fdff79edb49 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1f 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffed216ea68 EFLAGS: 00000216 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fdff79edb49 RDX: 0000000000000070 RSI: 0000000020c22000 RDI: 000000000000000c RBP: 00007ffed216eaac R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000216 R12: 00007ffed216eb00 R13: 00007ffed216eac0 R14: 0000000000023cc0 R15: 000000000000000a