------------[ cut here ]------------ WARNING: CPU: 1 PID: 3631 at fs/ext4/inode.c:3565 ext4_set_page_dirty+0x303/0x3f0 fs/ext4/inode.c:3565 Modules linked in: CPU: 1 PID: 3631 Comm: syz-executor111 Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_set_page_dirty+0x303/0x3f0 fs/ext4/inode.c:3565 Code: ff e8 b1 40 65 ff 48 83 eb 01 e9 d2 fd ff ff e8 a3 40 65 ff 48 c7 c6 40 9a c1 89 48 89 ef e8 24 ee 98 ff 0f 0b e8 8d 40 65 ff <0f> 0b e9 72 ff ff ff e8 81 40 65 ff 4c 8b 65 08 31 ff 4c 89 e3 83 RSP: 0018:ffffc9000279fa20 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801dc39d00 RSI: ffffffff82136c13 RDI: 0000000000000003 RBP: ffffea0001baed80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff82136b84 R11: 0000000000000000 R12: ffffea0001baed88 R13: 0000000000000000 R14: ffffea0001baed80 R15: 0000000000000000 FS: 00007ffa387b3700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa387b3718 CR3: 00000000740a2000 CR4: 0000000000350ee0 Call Trace: folio_mark_dirty+0xc4/0x1c0 mm/page-writeback.c:2643 set_page_dirty_lock+0xa2/0xe0 mm/page-writeback.c:2668 unpin_user_pages_dirty_lock+0x3f7/0x550 mm/gup.c:365 process_vm_rw_single_vec mm/process_vm_access.c:126 [inline] process_vm_rw_core.constprop.0+0x7bb/0x990 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+0xdf/0x1b0 mm/process_vm_access.c:298 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ffa38822a79 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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:00007ffa387b32f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007ffa388aa438 RCX: 00007ffa38822a79 RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 0000000000000e2f RBP: 00007ffa388aa430 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 00007ffa388aa43c R13: 00007ffa38878074 R14: 65732f636f72702f R15: 0000000000022000