------------[ cut here ]------------ WARNING: CPU: 1 PID: 3960 at mm/page_alloc.c:5396 __alloc_pages+0x33c/0x674 mm/page_alloc.c:5396 Modules linked in: CPU: 1 PID: 3960 Comm: syz-executor130 Not tainted 5.15.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __alloc_pages+0x33c/0x674 mm/page_alloc.c:5396 lr : __alloc_pages+0xc8/0x674 mm/page_alloc.c:5389 sp : ffff80001cac77c0 x29: ffff80001cac78a0 x28: ffff80001cac77e0 x27: dfff800000000000 x26: ffff700003958efc x25: 0000000000000000 x24: ffff80001cac7800 x23: ffff80001841a5c4 x22: 0000000000040dc0 x21: 0000000000000000 x20: ffff80001cac7820 x19: 0000000000000014 x18: 0000000000000000 x17: ff8080000889a8a0 x16: 0000000000000000 x15: ffff80000889a8a0 x14: 0000000000000005 x13: ffffffffffffffff x12: 0000000000000005 x11: 1ffff00003958f04 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff80001cac7848 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : ffff80001cac7820 Call trace: __alloc_pages+0x33c/0x674 mm/page_alloc.c:5396 alloc_pages+0x390/0x634 kmalloc_order+0x40/0x154 mm/slab_common.c:966 kmalloc_order_trace+0x30/0x21c mm/slab_common.c:982 kmalloc_large include/linux/slab.h:520 [inline] __kmalloc+0x35c/0x4c8 mm/slub.c:4396 kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] input_mt_init_slots+0xc0/0x818 drivers/input/input-mt.c:49 uinput_create_device+0x3d0/0x528 drivers/input/misc/uinput.c:327 uinput_ioctl_handler+0x700/0x14b0 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:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __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:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 13262 hardirqs last enabled at (13261): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (13262): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (12452): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (12450): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace c087e8ec62fd2a10 ]---