------------[ cut here ]------------ WARNING: CPU: 1 PID: 27520 at mm/gup.c:1315 __get_user_pages+0x53c/0x630 mm/gup.c:1315 Modules linked in: CPU: 1 PID: 27520 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller #0 Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __get_user_pages+0x53c/0x630 mm/gup.c:1315 lr : __get_user_pages+0x534/0x630 mm/gup.c:1313 sp : ffff80008b907490 x29: ffff80008b907490 x28: 0000000000000000 x27: ffff00000ece9e00 x26: 0000000000000001 x25: ffff00000e309f00 x24: 0000000020002700 x23: 0000000000080101 x22: ffff00001981e280 x21: 1ffff00011720ea8 x20: 0000000000000003 x19: ffff0000132fa800 x18: ffff00000ecea870 x17: 0000000000000000 x16: 0000000000000006 x15: 1fffe00001d9d50d x14: 1fffe00001d9d51c x13: 1fffe00001d9d50a x12: ffff7fbff83de007 x11: 1fffffbff83de006 x10: ffff7fbff83de006 x9 : dfff800000000000 x8 : fffffdffc1ef0037 x7 : 0000000000000001 x6 : ffff7fbff83de006 x5 : fffffdffc1ef0034 x4 : ffff7fbff83de007 x3 : fffffdffc1ef0080 x2 : fffffdffc1ef0034 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __get_user_pages+0x53c/0x630 mm/gup.c:1315 __get_user_pages_locked mm/gup.c:1525 [inline] __gup_longterm_locked+0x418/0x1810 mm/gup.c:2228 pin_user_pages+0x128/0x138 mm/gup.c:3401 io_pin_pages+0x98/0x200 io_uring/rsrc.c:891 io_sqe_buffer_register+0x108/0xe3c io_uring/rsrc.c:927 __io_sqe_buffers_update io_uring/rsrc.c:452 [inline] __io_register_rsrc_update+0x218/0xf70 io_uring/rsrc.c:488 io_register_rsrc_update+0x17c/0x1d4 io_uring/rsrc.c:519 __io_uring_register io_uring/register.c:497 [inline] __do_sys_io_uring_register io_uring/register.c:613 [inline] __se_sys_io_uring_register io_uring/register.c:574 [inline] __arm64_sys_io_uring_register+0xa9c/0x20ec io_uring/register.c:574 __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: 1114 hardirqs last enabled at (1113): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1113): [] _raw_spin_unlock_irqrestore+0x80/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (1114): [] el1_dbg+0x24/0x9c arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (1106): [] fpsimd_restore_current_state+0x44/0xe4 arch/arm64/kernel/fpsimd.c:1784 softirqs last disabled at (1104): [] alternative_has_cap_likely arch/arm64/include/asm/alternative-macros.h:232 [inline] softirqs last disabled at (1104): [] system_supports_fpsimd arch/arm64/include/asm/cpufeature.h:734 [inline] softirqs last disabled at (1104): [] fpsimd_restore_current_state+0x14/0xe4 arch/arm64/kernel/fpsimd.c:1777 ---[ end trace 0000000000000000 ]---