------------[ cut here ]------------ WARNING: CPU: 0 PID: 3420 at fs/ext4/inode.c:3543 ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3543 Modules linked in: CPU: 0 PID: 3420 Comm: syz-executor.2 Not tainted 6.7.0-rc7-syzkaller-00016-gf5837722ffec #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3543 Code: c1 ed 04 83 e5 01 89 ee e8 0e 08 54 ff 40 84 ed 0f 85 70 ff ff ff e8 d0 0c 54 ff 90 0f 0b 90 e9 62 ff ff ff e8 c2 0c 54 ff 90 <0f> 0b 90 eb 82 48 89 ef e8 f4 f3 a9 ff e9 35 ff ff ff e8 ea f3 a9 RSP: 0018:ffffc9000538fa30 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffea0000ac0180 RCX: ffffc90020899000 RDX: 0000000000040000 RSI: ffffffff823257be RDI: ffffea0000ac01a8 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802f2f35d8 R13: dffffc0000000000 R14: ffffea0000ac0100 R15: ffffea0000ac0180 FS: 00007fa3117dd6c0(0000) GS:ffff88806b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 000000001cedb000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0xc3/0x130 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:126 [inline] process_vm_rw_core.constprop.0+0x640/0xa10 mm/process_vm_access.c:215 process_vm_rw+0x2ff/0x360 mm/process_vm_access.c:283 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline] __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline] __x64_sys_process_vm_writev+0xe2/0x1b0 mm/process_vm_access.c:298 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa312c7cce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa3117dd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007fa312d9c050 RCX: 00007fa312c7cce9 RDX: 000000000000014a RSI: 0000000020001500 RDI: 00000000000008c0 RBP: 00007fa312cc947a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020002980 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa312d9c050 R15: 00007ffd5a2a32c8