------------[ cut here ]------------ WARNING: CPU: 0 PID: 16673 at fs/ext4/inode.c:3499 ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3499 Modules linked in: CPU: 0 PID: 16673 Comm: syz-executor.1 Not tainted 6.4.0-rc7-next-20230623-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3499 Code: 1b 31 ff 48 c1 eb 03 83 e3 01 89 de e8 11 c2 58 ff 84 db 0f 85 72 ff ff ff e8 24 c6 58 ff 0f 0b e9 66 ff ff ff e8 18 c6 58 ff <0f> 0b eb 88 48 89 df e8 5c e8 ab ff e9 3d ff ff ff e8 52 e8 ab ff RSP: 0018:ffffc900055ffa48 EFLAGS: 00010216 RAX: 0000000000020e73 RBX: 0000000000000001 RCX: ffffc9000c333000 RDX: 0000000000040000 RSI: ffffffff822c4548 RDI: ffffea0001727528 RBP: ffffea0001727500 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88808fb818d8 R13: dffffc0000000000 R14: ffffea0001727500 R15: ffffea0001727500 FS: 00007f797099a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002034afa4 CR3: 0000000032352000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0xc5/0x140 mm/page-writeback.c:2800 unpin_user_pages_dirty_lock mm/gup.c:395 [inline] unpin_user_pages_dirty_lock+0x414/0x4d0 mm/gup.c:358 process_vm_rw_single_vec mm/process_vm_access.c:126 [inline] process_vm_rw_core.constprop.0+0x5de/0x980 mm/process_vm_access.c:215 process_vm_rw+0x29c/0x300 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+0xe3/0x1b0 mm/process_vm_access.c:298 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f796fc8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f797099a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007f796fdabf80 RCX: 00007f796fc8c389 RDX: 0000000000000070 RSI: 0000000020c22000 RDI: 00000000000000a7 RBP: 00007f796fcd7493 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffbcd90adf R14: 00007f797099a300 R15: 0000000000022000