------------[ cut here ]------------ WARNING: CPU: 1 PID: 14371 at fs/ext4/inode.c:3519 ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3519 Modules linked in: CPU: 1 PID: 14371 Comm: syz-executor.5 Not tainted 6.3.0-syzkaller-13379-ged23734c23d2 #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:ffffc900125c7bd8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000dddb000 RDX: 0000000000040000 RSI: ffffffff822ba548 RDI: ffffea0001dfdf28 RBP: ffffea0001dfdf00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000000001f R12: ffff8880776040d8 R13: dffffc0000000000 R14: ffffea0001dfdf00 R15: ffffea0001dfdf00 FS: 00007f51b05fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e56d000 CR3: 0000000017e41000 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:0x7f51b1a8c169 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:00007f51b05fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f51b1bac120 RCX: 00007f51b1a8c169 RDX: 0000000000000004 RSI: 000000000000011b RDI: 000000000000000c RBP: 00007f51b1ae7ca1 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20251d5f R14: 00007f51b05fe300 R15: 0000000000022000