------------[ cut here ]------------ WARNING: CPU: 1 PID: 3613 at mm/page_alloc.c:5483 __alloc_pages+0x39e/0x510 mm/page_alloc.c:5483 Modules linked in: CPU: 1 PID: 3613 Comm: syz-executor626 Not tainted 5.19.0-next-20220809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:__alloc_pages+0x39e/0x510 mm/page_alloc.c:5483 Code: ff ff 00 0f 84 33 fe ff ff 80 ce 01 e9 2b fe ff ff 83 fe 0a 0f 86 3e fd ff ff 80 3d b3 a9 0b 0c 00 75 09 c6 05 aa a9 0b 0c 01 <0f> 0b 45 31 f6 e9 8d fe ff ff 65 ff 05 71 82 44 7e 48 c7 c0 60 23 RSP: 0018:ffffc9000385fb98 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff9200070bf74 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000000b RDI: 0000000000000000 RBP: 0000000000040dc0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000000000b R13: 0000000000000000 R14: 0000000000000000 R15: ffff888012635168 FS: 0000555555f93300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005f6b40 CR3: 0000000073ab5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: alloc_pages+0x1a6/0x270 mm/mempolicy.c:2270 kmalloc_order+0x34/0xf0 mm/slab_common.c:917 kmalloc_order_trace+0x13/0x120 mm/slab_common.c:933 kmalloc include/linux/slab.h:605 [inline] kzalloc include/linux/slab.h:733 [inline] input_mt_init_slots drivers/input/input-mt.c:50 [inline] input_mt_init_slots+0xd9/0x530 drivers/input/input-mt.c:39 uinput_create_device drivers/input/misc/uinput.c:327 [inline] uinput_ioctl_handler.isra.0+0x18e9/0x1dc0 drivers/input/misc/uinput.c:870 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8fa9dd3719 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe8996a828 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8fa9dd3719 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000003 RBP: 00007f8fa9d978c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8fa9d97950 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000