------------[ cut here ]------------ WARNING: CPU: 1 PID: 3908 at fs/ext4/inode.c:3519 ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3519 Modules linked in: CPU: 1 PID: 3908 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-13381-g27c1eaa07283 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3519 Code: 1b 31 ff 48 c1 eb 03 83 e3 01 89 de e8 91 9b 58 ff 84 db 0f 85 72 ff ff ff e8 a4 9f 58 ff 0f 0b e9 66 ff ff ff e8 98 9f 58 ff <0f> 0b eb 88 48 89 df e8 cc 67 ab ff e9 3d ff ff ff e8 c2 67 ab ff RSP: 0018:ffffc900065cfbd8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000f6c3000 RDX: 0000000000040000 RSI: ffffffff822ba548 RDI: ffffea000192fce8 RBP: ffffea000192fcc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88805ede4ad8 R13: dffffc0000000000 R14: ffffea000192fc00 R15: ffffea000192fcc0 FS: 00007fcdcbe5c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ce4f000 CR3: 00000000407d9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_dirty+0xc5/0x140 mm/page-writeback.c:2800 unpin_user_pages_dirty_lock mm/gup.c:350 [inline] unpin_user_pages_dirty_lock+0x414/0x4d0 mm/gup.c:313 xdp_umem_unpin_pages net/xdp/xdp_umem.c:26 [inline] xdp_umem_pin_pages net/xdp/xdp_umem.c:121 [inline] xdp_umem_reg net/xdp/xdp_umem.c:218 [inline] xdp_umem_create+0xc23/0x1190 net/xdp/xdp_umem.c:251 xsk_setsockopt+0x742/0x9f0 net/xdp/xsk.c:1107 __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2273 __do_sys_setsockopt net/socket.c:2284 [inline] __se_sys_setsockopt net/socket.c:2281 [inline] __x64_sys_setsockopt+0xbe/0x160 net/socket.c:2281 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcdcb08c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fcdcbe5c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fcdcb1ac120 RCX: 00007fcdcb08c169 RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000009 RBP: 00007fcdcb0e7ca1 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe56b478cf R14: 00007fcdcbe5c300 R15: 0000000000022000