------------[ cut here ]------------ WARNING: CPU: 0 PID: 5166 at mm/page_alloc.c:4544 __alloc_pages+0x42e/0x2420 mm/page_alloc.c:4544 Modules linked in: CPU: 0 PID: 5166 Comm: syz-executor347 Not tainted 6.7.0-rc5-syzkaller-00014-g26aff849438c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:__alloc_pages+0x42e/0x2420 mm/page_alloc.c:4544 Code: ff 00 0f 84 fb fd ff ff 80 ce 01 e9 f3 fd ff ff 83 fe 0a 0f 86 ed fc ff ff 80 3d 73 db 30 0d 00 75 0b c6 05 6a db 30 0d 01 90 <0f> 0b 90 31 ed e9 84 fe ff ff e8 b3 1c 9d ff 84 c0 0f 85 77 fe ff RSP: 0018:ffffc900038afaa0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92000715f69 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000040dc0 RBP: 00000008000001a0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000020000006 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000040dc0 R14: ffffffff86ec5183 R15: 0000000000000018 FS: 0000555556496380(0000) GS:ffff88806b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000048 CR3: 0000000022950000 CR4: 0000000000350ef0 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+0x87/0x1c0 mm/slab_common.c:1148 __do_kmalloc_node mm/slab_common.c:995 [inline] __kmalloc.cold+0xc/0x61 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] kzalloc include/linux/slab.h:721 [inline] input_mt_init_slots+0xe3/0x520 drivers/input/input-mt.c:50 uinput_create_device drivers/input/misc/uinput.c:328 [inline] uinput_ioctl_handler.isra.0+0x1601/0x1d70 drivers/input/misc/uinput.c:904 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f015693bee9 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:00007ffcedd47388 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffcedd47558 RCX: 00007f015693bee9 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000003 RBP: 00007f01569af610 R08: 00007ffcedd47558 R09: 00007ffcedd47558 R10: 00007ffcedd47558 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcedd47548 R14: 0000000000000001 R15: 0000000000000001