------------[ cut here ]------------ WARNING: CPU: 0 PID: 18294 at mm/gup.c:1647 __get_user_pages+0x508/0x5f0 mm/gup.c:1647 Modules linked in: CPU: 0 PID: 18294 Comm: syz-executor.0 Tainted: G W 6.9.0-syzkaller-12333-g54f71b0369c9 #0 Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __get_user_pages+0x508/0x5f0 mm/gup.c:1647 lr : __get_user_pages+0x500/0x5f0 mm/gup.c:1645 sp : ffff80008b8672f0 x29: ffff80008b8672f0 x28: 0000000000290101 x27: ffff0000112d8000 x26: 0000000000000000 x25: 0000000000000001 x24: ffff00000e3233e0 x23: 0000000020002000 x22: ffff00000b4f8800 x21: ffff00000e53ed40 x20: 1ffff0001170ce74 x19: 0000000000000003 x18: ffff0000112d8a80 x17: 0000000000000000 x16: 0000000000000006 x15: 1fffe0000225b14f x14: 0000000000000000 x13: 0000000000000004 x12: ffff7fbff83ec007 x11: 1fffffbff83ec006 x10: ffff7fbff83ec006 x9 : dfff800000000000 x8 : fffffdffc1f60037 x7 : 0000000000000001 x6 : ffff7fbff83ec006 x5 : fffffdffc1f60034 x4 : ffff7fbff83ec007 x3 : fffffdffc1f60080 x2 : fffffdffc1f60034 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __get_user_pages+0x508/0x5f0 mm/gup.c:1647 __get_user_pages_locked mm/gup.c:1857 [inline] __gup_longterm_locked+0x3f4/0x19cc mm/gup.c:2561 gup_fast_fallback+0xe04/0x16e0 mm/gup.c:3473 pin_user_pages_fast+0xb0/0xf4 mm/gup.c:3579 io_pin_pages+0x64/0x12c io_uring/memmap.c:148 io_sqe_buffer_register+0x108/0xe04 io_uring/rsrc.c:890 __io_sqe_buffers_update io_uring/rsrc.c:451 [inline] __io_register_rsrc_update+0x218/0xf74 io_uring/rsrc.c:487 io_register_rsrc_update+0x17c/0x1d4 io_uring/rsrc.c:518 __io_uring_register io_uring/register.c:496 [inline] __do_sys_io_uring_register io_uring/register.c:612 [inline] __se_sys_io_uring_register io_uring/register.c:573 [inline] __arm64_sys_io_uring_register+0xa9c/0x20ec io_uring/register.c:573 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x6c/0x25c arch/arm64/kernel/syscall.c:48 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:133 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x50/0x180 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 660 hardirqs last enabled at (659): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] hardirqs last enabled at (659): [] finish_lock_switch kernel/sched/core.c:5162 [inline] hardirqs last enabled at (659): [] finish_task_switch.isra.0+0x1a8/0x8e8 kernel/sched/core.c:5280 hardirqs last disabled at (660): [] el1_dbg+0x24/0x9c arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (648): [] fpsimd_restore_current_state+0x44/0xe4 arch/arm64/kernel/fpsimd.c:1805 softirqs last disabled at (646): [] alternative_has_cap_likely arch/arm64/include/asm/alternative-macros.h:232 [inline] softirqs last disabled at (646): [] system_supports_fpsimd arch/arm64/include/asm/cpufeature.h:734 [inline] softirqs last disabled at (646): [] fpsimd_restore_current_state+0x14/0xe4 arch/arm64/kernel/fpsimd.c:1798 ---[ end trace 0000000000000000 ]---