------------[ cut here ]------------ WARNING: CPU: 0 PID: 3711 at fs/ext4/inode.c:3628 ext4_dirty_folio+0xf4/0x120 fs/ext4/inode.c:3628 Modules linked in: CPU: 0 PID: 3711 Comm: syz-executor827 Not tainted 6.0.0-rc3-next-20220830-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:ext4_dirty_folio+0xf4/0x120 fs/ext4/inode.c:3628 Code: 1b 31 ff 48 c1 eb 03 83 e3 01 89 de e8 05 7d 61 ff 84 db 0f 85 72 ff ff ff e8 68 80 61 ff 0f 0b e9 66 ff ff ff e8 5c 80 61 ff <0f> 0b eb 88 48 89 df e8 70 3e ae ff e9 3d ff ff ff e8 66 3e ae ff RSP: 0018:ffffc90003ebfbd0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888075fb57c0 RSI: ffffffff821aa6c4 RDI: ffffea0001c58228 RBP: ffffea0001c58200 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000008c07c R12: ffff888070162cf8 R13: dffffc0000000000 R14: ffffea0001c58200 R15: ffffea0001c58200 FS: 00007fbfaabde700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd73731960 CR3: 000000006fc6a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0xc1/0x140 mm/page-writeback.c:2748 unpin_user_pages_dirty_lock mm/gup.c:336 [inline] unpin_user_pages_dirty_lock+0x410/0x4c0 mm/gup.c:299 xdp_umem_unpin_pages net/xdp/xdp_umem.c:28 [inline] xdp_umem_pin_pages net/xdp/xdp_umem.c:123 [inline] xdp_umem_reg net/xdp/xdp_umem.c:219 [inline] xdp_umem_create+0xc06/0x1180 net/xdp/xdp_umem.c:252 xsk_setsockopt+0x73e/0x9e0 net/xdp/xsk.c:1100 __sys_setsockopt+0x2d6/0x690 net/socket.c:2252 __do_sys_setsockopt net/socket.c:2263 [inline] __se_sys_setsockopt net/socket.c:2260 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2260 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+0x63/0xcd RIP: 0033:0x7fbfaac4eb89 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 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:00007fbfaabde308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fbfaacd84f8 RCX: 00007fbfaac4eb89 RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000006 RBP: 00007fbfaacd84f0 R08: 0000000000200d6f R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 00007fbfaacd84fc R13: 00007fbfaaca52b8 R14: 652e79726f6d656d R15: 0000000000022000