------------[ cut here ]------------ WARNING: CPU: 1 PID: 25937 at mm/gup.c:1315 __get_user_pages+0x53c/0x630 mm/gup.c:1315 Modules linked in: CPU: 1 PID: 25937 Comm: syz-executor.1 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #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+0x588/0x630 mm/gup.c:1313 sp : ffff80008e2d7610 x29: ffff80008e2d7610 x28: 0000000000000000 x27: ffff000011860000 x26: 0000000000000001 x25: ffff000014aa8800 x24: 0000000020001700 x23: 0000000000080101 x22: ffff00000f3a0000 x21: 1ffff00011c5aed8 x20: 0000000000000441 x19: ffff000013ba3000 x18: ffff000011860a70 x17: 0000000000000000 x16: 0000000000000006 x15: 1fffe0000230c14d x14: 1fffe0000230c15c x13: 1fffe0000230c14a x12: ffff7fbff83eb007 x11: 1fffffbff83eb006 x10: ffff7fbff83eb006 x9 : dfff800000000000 x8 : fffffdffc1f58037 x7 : 0000000000000001 x6 : ffff7fbff83eb006 x5 : fffffdffc1f58034 x4 : ffff7fbff83eb007 x3 : fffffdffc1f58040 x2 : fffffdffc1f58034 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_register+0x1d0/0x528 io_uring/rsrc.c:1045 __io_uring_register io_uring/register.c:418 [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+0x244/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_compat+0x40/0x64 arch/arm64/kernel/syscall.c:158 el0_svc_compat+0x4c/0x17c arch/arm64/kernel/entry-common.c:852 el0t_32_sync_handler+0x98/0x13c arch/arm64/kernel/entry-common.c:862 el0t_32_sync+0x194/0x198 arch/arm64/kernel/entry.S:603 irq event stamp: 516 hardirqs last enabled at (515): [] lruvec_stat_mod_folio include/linux/vmstat.h:569 [inline] hardirqs last enabled at (515): [] __kmalloc_large_node+0x194/0x1c4 mm/slub.c:3914 hardirqs last disabled at (516): [] el1_dbg+0x24/0x9c arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (480): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (480): [] __do_softirq+0x8d4/0xde8 kernel/softirq.c:583 softirqs last disabled at (471): [] ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---