------------[ cut here ]------------ WARNING: CPU: 1 PID: 4222 at mm/page_alloc.c:5523 __alloc_pages+0x32c/0x730 mm/page_alloc.c:5523 Modules linked in: CPU: 1 PID: 4222 Comm: syz-executor162 Not tainted 6.1.88-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 20401005 (nzCv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : __alloc_pages+0x32c/0x730 mm/page_alloc.c:5523 lr : __alloc_pages+0xc8/0x730 mm/page_alloc.c:5517 sp : ffff80001dcf78c0 x29: ffff80001dcf79a0 x28: ffff80001dcf78e0 x27: dfff800000000000 x26: ffff700003b9ef1c x25: 0000000000000000 x24: ffff80001dcf7900 x23: 0000000000000000 x22: 0000000000040dc0 x21: 1ffff00003b9ef20 x20: ffff80001dcf7920 x19: 000000000000001a x18: 1ffff00003b9eefc x17: 0000000000005501 x16: ffff8000120ade80 x15: 0000000000000000 x14: 00000000c06855c8 x13: ffff0000c6ff5340 x12: 0000000000000005 x11: 1ffff00003b9ef24 x10: 0000000000000000 x9 : 0000000000000001 x8 : ffff800018178000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : ffff80001dcf7920 Call trace: __alloc_pages+0x32c/0x730 mm/page_alloc.c:5523 __alloc_pages_node include/linux/gfp.h:237 [inline] alloc_pages_node include/linux/gfp.h:260 [inline] __kmalloc_large_node+0xbc/0x21c mm/slab_common.c:1096 __do_kmalloc_node mm/slab_common.c:943 [inline] __kmalloc+0x130/0x1c4 mm/slab_common.c:968 kmalloc include/linux/slab.h:561 [inline] kzalloc include/linux/slab.h:692 [inline] input_mt_init_slots+0xc0/0x818 drivers/input/input-mt.c:50 uinput_create_device+0x3d0/0x528 drivers/input/misc/uinput.c:327 uinput_ioctl_handler+0x8b0/0x16c0 drivers/input/misc/uinput.c:870 uinput_ioctl+0x38/0x4c drivers/input/misc/uinput.c:1041 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 15374 hardirqs last enabled at (15373): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (15374): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (14666): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (14666): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (14471): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000