------------[ cut here ]------------ WARNING: CPU: 1 PID: 22367 at fs/ext4/inode.c:3565 ext4_set_page_dirty+0x2b3/0x310 Modules linked in: CPU: 1 PID: 22367 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller-00072-g97e9c8eb4bb1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_set_page_dirty+0x2b3/0x310 fs/ext4/inode.c:3565 Code: ff cd 49 89 ed 49 83 fc ff 0f 85 24 fe ff ff e8 f3 bd 56 ff 4c 89 ef 48 c7 c6 c0 0d 88 8a e8 64 0e 8f ff 0f 0b e8 dd bd 56 ff <0f> 0b eb b0 48 ff cd 49 89 ec e9 7e fe ff ff 48 ff cd 49 89 ee 49 RSP: 0018:ffffc90005ebf970 EFLAGS: 00010246 RAX: ffffffff822edc13 RBX: 00fff00000000015 RCX: 0000000000040000 RDX: ffffc90002e32000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff822edbbd R09: fffff940001bd861 R10: fffff940001bd861 R11: 0000000000000000 R12: 00fff00000000015 R13: dffffc0000000000 R14: 1ffffd40001bd861 R15: ffffea0000dec300 FS: 00007faee4497700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb563da6718 CR3: 00000000736b3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0x136/0x270 mm/page-writeback.c:2643 set_page_dirty_lock+0xdc/0x120 mm/page-writeback.c:2668 unpin_user_pages_dirty_lock+0x297/0x480 mm/gup.c:365 process_vm_rw_single_vec+0x457/0x600 mm/process_vm_access.c:126 process_vm_rw_core mm/process_vm_access.c:215 [inline] process_vm_rw+0x63f/0x850 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+0xdc/0xf0 mm/process_vm_access.c:298 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7faee5b43049 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007faee4497168 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007faee5c56030 RCX: 00007faee5b43049 RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 0000000000000ade RBP: 00007faee5b9d08d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc322ed8ef R14: 00007faee4497300 R15: 0000000000022000