------------[ cut here ]------------ WARNING: CPU: 0 PID: 4997 at fs/ext4/inode.c:3618 ext4_set_page_dirty+0x234/0x2c8 fs/ext4/inode.c:3618 Modules linked in: CPU: 0 PID: 4997 Comm: syz.0.262 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_set_page_dirty+0x234/0x2c8 fs/ext4/inode.c:3618 lr : ext4_set_page_dirty+0x234/0x2c8 fs/ext4/inode.c:3618 sp : ffff800020437920 x29: ffff800020437920 x28: ffff0000cead9838 x27: fffffc0003a6a948 x26: fffffc0003a6a948 x25: fffffc0003a6a948 x24: 1fffff80006faae1 x23: dfff800000000000 x22: 0000000000000000 x21: 1fffff80006faae0 x20: 05ffc00000000013 x19: fffffc00037d5700 x18: 1fffff8000769049 x17: 0000000000000002 x16: ffff8000082eae1c x15: 0400000000000000 x14: 1ffff0000295606a x13: 0000000000102cc0 x12: 0000000000040000 x11: 000000000003b5c3 x10: ffff8000212da000 x9 : 000000000003b5c4 x8 : ffff800008daa12c x7 : 0000000000000000 x6 : 00000000ffffffff x5 : ffff800020437958 x4 : ffff800011c8e2d8 x3 : ffff80000870ab7c x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: ext4_set_page_dirty+0x234/0x2c8 fs/ext4/inode.c:3618 set_page_dirty+0x23c/0x544 mm/page-writeback.c:2631 set_page_dirty_lock+0xe8/0x144 mm/page-writeback.c:2656 unpin_user_pages_dirty_lock+0x210/0x3c0 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:220 [inline] xdp_umem_create+0x890/0xdb8 net/xdp/xdp_umem.c:253 xsk_setsockopt+0x6fc/0x994 net/xdp/xsk.c:1118 __sys_setsockopt+0x3a8/0x6b4 net/socket.c:2198 __do_sys_setsockopt net/socket.c:2209 [inline] __se_sys_setsockopt net/socket.c:2206 [inline] __arm64_sys_setsockopt+0xb8/0xd4 net/socket.c:2206 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 1848 hardirqs last enabled at (1847): [] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105 hardirqs last disabled at (1848): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (1826): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (1826): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (1761): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (1761): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1761): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (1761): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 7a0d916378728b3b ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4997 at mm/page-writeback.c:2521 __set_page_dirty+0xdc/0xc7c Modules linked in: CPU: 1 PID: 4997 Comm: syz.0.262 Tainted: G W 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __set_page_dirty+0xdc/0xc7c lr : __set_page_dirty+0xdc/0xc7c sp : ffff800020437860 x29: ffff800020437870 x28: 0000000000000000 x27: fffffc0003a6a948 x26: dfff800000000000 x25: fffffc0003a6a948 x24: fffffc00037d5718 x23: ffff0000de87f270 x22: fffffc00037d5700 x21: 05ffc0000000001b x20: ffff0000de87f278 x19: fffffc00037d5700 x18: ffff800020437540 x17: 0000000000000002 x16: ffff8000083052b0 x15: 0000000000000003 x14: 000000002e64d572 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff8000212da000 x9 : 0000000000040000 x8 : ffff800008709308 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000178c2018 x4 : 0000000000000008 x3 : ffff8000083053e0 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __set_page_dirty+0xdc/0xc7c __set_page_dirty_buffers+0x288/0x4b4 fs/buffer.c:643 ext4_set_page_dirty+0x1fc/0x2c8 fs/ext4/inode.c:3619 set_page_dirty+0x23c/0x544 mm/page-writeback.c:2631 set_page_dirty_lock+0xe8/0x144 mm/page-writeback.c:2656 unpin_user_pages_dirty_lock+0x210/0x3c0 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:220 [inline] xdp_umem_create+0x890/0xdb8 net/xdp/xdp_umem.c:253 xsk_setsockopt+0x6fc/0x994 net/xdp/xsk.c:1118 __sys_setsockopt+0x3a8/0x6b4 net/socket.c:2198 __do_sys_setsockopt net/socket.c:2209 [inline] __se_sys_setsockopt net/socket.c:2206 [inline] __arm64_sys_setsockopt+0xb8/0xd4 net/socket.c:2206 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2018 hardirqs last enabled at (2017): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (2018): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2018): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (2004): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (2004): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (1851): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (1851): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1851): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (1851): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 7a0d916378728b3c ]---