------------[ cut here ]------------ WARNING: CPU: 0 PID: 4505 at mm/page_alloc.c:5534 __alloc_pages+0x32c/0x730 mm/page_alloc.c:5534 Modules linked in: CPU: 0 PID: 4505 Comm: syz.0.54 Not tainted 6.1.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __alloc_pages+0x32c/0x730 mm/page_alloc.c:5534 lr : __alloc_pages+0xc8/0x730 mm/page_alloc.c:5528 sp : ffff80001f0178c0 x29: ffff80001f0179a0 x28: ffff80001f0178e0 x27: dfff800000000000 x26: ffff700003e02f1c x25: 0000000000000000 x24: ffff80001f017900 x23: 0000000000000000 x22: 0000000000040dc0 x21: 1ffff00003e02f20 x20: ffff80001f017920 x19: 000000000000001a x18: 1ffff00003e02efc x17: 0000000000000000 x16: ffff8000121d8480 x15: 0000000000000002 x14: 00000000c06855c8 x13: ffff0000c6e7b780 x12: 0000000000000005 x11: 1ffff00003e02f24 x10: 0000000000000000 x9 : 0000000000000001 x8 : ffff80001832d000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : ffff80001f017920 Call trace: __alloc_pages+0x32c/0x730 mm/page_alloc.c:5534 __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:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 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: 842 hardirqs last enabled at (841): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (842): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (818): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (816): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---