------------[ cut here ]------------ WARNING: CPU: 1 PID: 12867 at mm/page_alloc.c:4709 __alloc_pages_noprof+0xeff/0x25a0 mm/page_alloc.c:4709 Modules linked in: CPU: 1 UID: 0 PID: 12867 Comm: syz.7.1426 Not tainted 6.12.0-rc6-syzkaller-00279-gde2f378f2b77 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__alloc_pages_noprof+0xeff/0x25a0 mm/page_alloc.c:4709 Code: 24 2c 00 00 00 00 89 cd 0f 84 94 f9 ff ff 8b 34 24 48 89 da 8b 7c 24 08 e8 9e ca fe ff e9 72 f9 ff ff c6 05 a8 a2 65 0e 01 90 <0f> 0b 90 31 db e9 9f f3 ff ff 89 14 24 e8 ff 96 0c 00 8b 14 24 e9 RSP: 0018:ffffc90003faf838 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000016 RDI: 0000000000040cc0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000095000000 R11: 0000000000000000 R12: 0000000000000016 R13: 0000000000040cc0 R14: 1ffff920007f5f1b R15: ffffffff852ac4b7 FS: 00007f7b45dd86c0(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd04a8e9870 CR3: 000000004345a000 CR4: 0000000000352ef0 Call Trace: __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] ___kmalloc_large_node+0x84/0x1b0 mm/slub.c:4209 __kmalloc_large_node_noprof+0x1c/0x70 mm/slub.c:4236 __do_kmalloc_node mm/slub.c:4252 [inline] __kmalloc_noprof.cold+0xc/0x61 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] kmalloc_array_noprof include/linux/slab.h:923 [inline] drm_syncobj_array_find+0x37/0x3b0 drivers/gpu/drm/drm_syncobj.c:1272 drm_syncobj_query_ioctl+0x283/0xd70 drivers/gpu/drm/drm_syncobj.c:1670 drm_ioctl_kernel+0x1e6/0x3d0 drivers/gpu/drm/drm_ioctl.c:745 drm_ioctl+0x5d6/0xc00 drivers/gpu/drm/drm_ioctl.c:842 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7b45f7e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7b45dd8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7b46136058 RCX: 00007f7b45f7e719 RDX: 0000000020000240 RSI: 00000000c01864cb RDI: 0000000000000003 RBP: 00007f7b45ff139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f7b46136058 R15: 00007ffe1ff69a08