------------[ cut here ]------------ WARNING: CPU: 1 PID: 23032 at fs/ext4/inode.c:3543 ext4_dirty_folio+0xfc/0x130 fs/ext4/inode.c:3543 Modules linked in: CPU: 1 PID: 23032 Comm: syz-executor.2 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:ext4_dirty_folio+0xfc/0x130 fs/ext4/inode.c:3543 Code: 31 ff 48 c1 ed 04 83 e5 01 89 ee e8 8e 7c 52 ff 40 84 ed 0f 85 70 ff ff ff e8 50 81 52 ff 0f 0b e9 64 ff ff ff e8 44 81 52 ff <0f> 0b eb 86 48 89 ef e8 f8 9d a9 ff e9 39 ff ff ff e8 ee 9d a9 ff RSP: 0018:ffffc9000dc07a30 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffea0000d372c0 RCX: ffffc900058a1000 RDX: 0000000000040000 RSI: ffffffff82367d9c RDI: ffffea0000d372e8 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804626e8d8 R13: dffffc0000000000 R14: ffffea0000d37200 R15: ffffea0000d372c0 FS: 00007fc3158586c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5a5469940 CR3: 000000007b978000 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:126 [inline] process_vm_rw_core.constprop.0+0x875/0xa10 mm/process_vm_access.c:215 process_vm_rw+0x2fd/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:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7fc314a7cae9 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:00007fc3158580c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007fc314b9c050 RCX: 00007fc314a7cae9 RDX: 0000000000000008 RSI: 0000000020c22000 RDI: 0000000000000384 RBP: 00007fc314ac847a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc314b9c050 R15: 00007ffd12bd4598