------------[ cut here ]------------ WARNING: CPU: 0 PID: 5073 at mm/page_alloc.c:4543 __alloc_pages+0x343/0x680 mm/page_alloc.c:4543 Modules linked in: CPU: 0 PID: 5073 Comm: syz-executor246 Not tainted 6.8.0-rc6-syzkaller-00037-g805d849d7c3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__alloc_pages+0x343/0x680 mm/page_alloc.c:4543 Code: 1c 24 0f 85 03 01 00 00 44 89 e9 81 e1 7f ff ff ff a9 00 00 04 00 41 0f 44 cd 41 89 cd e9 f3 00 00 00 c6 05 cd 52 87 0d 01 90 <0f> 0b 90 83 fb 0a 0f 86 93 fd ff ff 45 31 ed 48 c7 44 24 20 0e 36 RSP: 0018:ffffc900038efac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 000000000000000b RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900038efb48 RBP: ffffc900038efbc8 R08: ffffc900038efb47 R09: 0000000000000000 R10: ffffc900038efb20 R11: fffff5200071df69 R12: 1ffff9200071df60 R13: 0000000000040dc0 R14: dffffc0000000000 R15: 1ffff9200071df5c FS: 0000555556429380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005fdeb8 CR3: 0000000077a3e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] __kmalloc_large_node+0x91/0x1f0 mm/slub.c:3926 __do_kmalloc_node mm/slub.c:3969 [inline] __kmalloc+0x31b/0x490 mm/slub.c:3994 kmalloc include/linux/slab.h:594 [inline] kzalloc include/linux/slab.h:711 [inline] input_mt_init_slots+0xca/0x9d0 drivers/input/input-mt.c:50 uinput_create_device+0x512/0x630 drivers/input/misc/uinput.c:328 uinput_ioctl_handler+0x48b/0x1770 drivers/input/misc/uinput.c:904 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:857 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fbb26d49ee9 Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd121775e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffd121777b8 RCX: 00007fbb26d49ee9 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000003 RBP: 00007fbb26dbd610 R08: 00007ffd121777b8 R09: 00007ffd121777b8 R10: 00007ffd121777b8 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd121777a8 R14: 0000000000000001 R15: 0000000000000001