------------[ cut here ]------------ WARNING: CPU: 2 PID: 5777 at fs/ext4/inode.c:3509 ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3509 Modules linked in: CPU: 2 PID: 5777 Comm: syz-executor.2 Not tainted 6.10.0-rc6-syzkaller-g1dfe225e9af5 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3509 Code: c1 ed 04 83 e5 01 89 ee e8 9e ca 48 ff 40 84 ed 0f 85 70 ff ff ff e8 f0 cf 48 ff 90 0f 0b 90 e9 62 ff ff ff e8 e2 cf 48 ff 90 <0f> 0b 90 eb 82 48 89 ef e8 f4 91 a4 ff e9 35 ff ff ff e8 ea 91 a4 RSP: 0018:ffffc900036c7a20 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea0000e59340 RCX: ffffffff82451386 RDX: ffff88802e558000 RSI: ffffffff8245142e RDI: ffffea0000e59368 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802fb94ad8 R13: dffffc0000000000 R14: ffffea0000e59300 R15: ffffea0000e59340 FS: 00007f48a1d8e6c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002034afa4 CR3: 000000003e070000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0xce/0x150 mm/page-writeback.c:2860 unpin_user_pages_dirty_lock+0x42e/0x4e0 mm/gup.c:395 process_vm_rw_single_vec mm/process_vm_access.c:127 [inline] process_vm_rw_core.constprop.0+0x875/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+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f48a107cee9 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:00007f48a1d8e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007f48a11ac050 RCX: 00007f48a107cee9 RDX: 0000000000000070 RSI: 0000000020c22000 RDI: 0000000000000005 RBP: 00007f48a10c949e R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f48a11ac050 R15: 00007ffcfc291468