------------[ cut here ]------------ WARNING: CPU: 0 PID: 7790 at mm/page_alloc.c:5527 __alloc_pages+0x3b7/0x770 mm/page_alloc.c:5527 Modules linked in: CPU: 0 PID: 7790 Comm: syz.0.1112 Not tainted 6.1.99-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__alloc_pages+0x3b7/0x770 mm/page_alloc.c:5527 Code: fc ff df 0f 85 fa 00 00 00 44 89 e9 81 e1 7f ff ff ff a9 00 00 04 00 41 0f 44 cd 41 89 cd e9 ea 00 00 00 c6 05 48 4d 89 0c 01 <0f> 0b 41 83 fc 0a 0f 86 1e fd ff ff 45 31 e4 48 c7 44 24 20 0e 36 RSP: 0018:ffffc900054af8a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900054af928 RBP: ffffc900054af9b8 R08: dffffc0000000000 R09: ffffc900054af900 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000b R13: 0000000000040dc0 R14: 1ffff92000a95f1c R15: 1ffff92000a95f18 FS: 00007f0867d8e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203d0000 CR3: 00000000680eb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_pages_node include/linux/gfp.h:237 [inline] alloc_pages_node include/linux/gfp.h:260 [inline] __kmalloc_large_node+0x91/0x1d0 mm/slab_common.c:1096 __do_kmalloc_node mm/slab_common.c:943 [inline] __kmalloc+0x118/0x230 mm/slab_common.c:968 kmalloc_array include/linux/slab.h:608 [inline] kcalloc include/linux/slab.h:639 [inline] fill_object_idr drivers/gpu/drm/drm_lease.c:386 [inline] drm_mode_create_lease_ioctl+0x988/0x1960 drivers/gpu/drm/drm_lease.c:519 drm_ioctl_kernel+0x345/0x4f0 drivers/gpu/drm/drm_ioctl.c:788 drm_ioctl+0x618/0x9f0 drivers/gpu/drm/drm_ioctl.c:891 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0866f75ad9 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:00007f0867d8e048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0867103f60 RCX: 00007f0866f75ad9 RDX: 0000000020000040 RSI: 00000000c01864c6 RDI: 0000000000000003 RBP: 00007f0866fe4e5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0867103f60 R15: 00007ffe9c32d8a8