------------[ cut here ]------------ WARNING: CPU: 1 PID: 18166 at fs/ext4/inode.c:3543 ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3543 Modules linked in: CPU: 1 PID: 18166 Comm: syz-executor.5 Not tainted 6.7.0-rc5-next-20231212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:ext4_dirty_folio+0xff/0x130 fs/ext4/inode.c:3543 Code: c1 ed 04 83 e5 01 89 ee e8 7e 43 51 ff 40 84 ed 0f 85 70 ff ff ff e8 40 48 51 ff 90 0f 0b 90 e9 62 ff ff ff e8 32 48 51 ff 90 <0f> 0b 90 eb 82 48 89 ef e8 94 f3 a8 ff e9 35 ff ff ff e8 8a f3 a8 RSP: 0018:ffffc9000df0fa30 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffea0000e8ed00 RCX: ffffc9000b65f000 RDX: 0000000000040000 RSI: ffffffff8236d98e RDI: ffffea0000e8ed28 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880387284d8 R13: dffffc0000000000 R14: ffffea0000e8ed00 R15: ffffea0000e8ed00 FS: 00007fe5db11a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c1000 CR3: 00000000227f6000 CR4: 00000000003506f0 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:127 [inline] process_vm_rw_core.constprop.0+0x871/0xa00 mm/process_vm_access.c:216 process_vm_rw+0x2fd/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/0x1b0 mm/process_vm_access.c:299 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+0x62/0x6a RIP: 0033:0x7fe5da47cba9 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:00007fe5db11a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007fe5da59c050 RCX: 00007fe5da47cba9 RDX: 0000000000000008 RSI: 0000000020c22000 RDI: 0000000000000808 RBP: 00007fe5da4c847a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe5da59c050 R15: 00007ffe02e661b8