------------[ cut here ]------------ WARNING: lib/idr.c:86 at idr_alloc+0xb6/0xd0 lib/idr.c:86, CPU#0: syz.0.17/5987 Modules linked in: CPU: 0 UID: 0 PID: 5987 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:idr_alloc+0xb6/0xd0 lib/idr.c:86 Code: 04 65 48 8b 05 bb a8 66 07 48 3b 44 24 08 75 24 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc e8 db 60 64 f6 90 <0f> 0b 90 bb ea ff ff ff eb cd e8 4b a9 09 00 66 66 2e 0f 1f 84 00 RSP: 0018:ffffc900030a7b88 EFLAGS: 00010293 RAX: ffffffff8b5d9785 RBX: 0000000000002800 RCX: ffff8880267b3d00 RDX: 0000000000000000 RSI: 000000009577be96 RDI: 0000000000000000 RBP: 000000009577be96 R08: 0000000000002800 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000614f68 R12: 000000009577be97 R13: 1ffff92000614fb2 R14: ffff88802fce4000 R15: ffff88802983f088 FS: 0000555562fd8500(0000) GS:ffff8881259dc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d23b72a60 CR3: 000000002a9a4000 CR4: 00000000003526f0 Call Trace: drm_gem_change_handle_ioctl+0x20e/0x550 drivers/gpu/drm/drm_gem.c:1021 drm_ioctl_kernel+0x2cf/0x390 drivers/gpu/drm/drm_ioctl.c:804 drm_ioctl+0x67f/0xb10 drivers/gpu/drm/drm_ioctl.c:901 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d23b8f749 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:00007ffdc6c80ee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5d23de5fa0 RCX: 00007f5d23b8f749 RDX: 0000200000000180 RSI: 00000000c00c64d2 RDI: 0000000000000005 RBP: 00007f5d23c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5d23de5fa0 R14: 00007f5d23de5fa0 R15: 0000000000000003