------------[ cut here ]------------ WARNING: CPU: 1 PID: 13921 at fs/ext4/inode.c:3565 ext4_set_page_dirty+0x303/0x3f0 fs/ext4/inode.c:3565 Modules linked in: CPU: 1 PID: 13921 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller-02803-g36c2e31ad25b #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 f1 e3 64 ff 48 83 eb 01 e9 d2 fd ff ff e8 e3 e3 64 ff 48 c7 c6 00 d6 c1 89 48 89 ef e8 84 ee 98 ff 0f 0b e8 cd e3 64 ff <0f> 0b e9 72 ff ff ff e8 c1 e3 64 ff 4c 8b 65 08 31 ff 4c 89 e3 83 RSP: 0018:ffffc9000bcffba8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90003cc1000 RDX: 0000000000040000 RSI: ffffffff8213de03 RDI: 0000000000000003 RBP: ffffea0001e81500 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff8213dd74 R11: 0000000000000000 R12: ffffea0001e81508 R13: 0000000000000000 R14: ffffea0001e81500 R15: 0000000000000000 FS: 00007f08b1493700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dd41000 CR3: 000000007a1e5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 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+0xced/0x1180 net/xdp/xdp_umem.c:252 xsk_setsockopt+0x73e/0x9e0 net/xdp/xsk.c:1050 __sys_setsockopt+0x2db/0x6a0 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2188 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:0x7f08b2b3f049 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:00007f08b1493168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f08b2c52030 RCX: 00007f08b2b3f049 RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000006 RBP: 00007f08b2b9908d R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1bc7679f R14: 00007f08b1493300 R15: 0000000000022000