------------[ cut here ]------------ WARNING: lib/idr.c:84 at idr_alloc+0x119/0x130 lib/idr.c:84, CPU#2: syz.3.6897/9024 Modules linked in: CPU: 2 UID: 0 PID: 9024 Comm: syz.3.6897 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:idr_alloc+0x119/0x130 lib/idr.c:84 Code: 48 8b 44 24 58 65 48 2b 05 8c 27 45 08 75 25 48 83 c4 60 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 0d ab 0d 00 e8 d8 5d 51 f6 90 <0f> 0b 90 bb ea ff ff ff eb b5 e8 f8 77 0a 00 0f 1f 84 00 00 00 00 RSP: 0018:ffffc900063a7b38 EFLAGS: 00010283 RAX: 00000000000007ab RBX: 000000009577be97 RCX: ffffc9003a001000 RDX: 0000000000080000 RSI: ffffffff8b6d8898 RDI: 0000000000000005 RBP: 000000009577be96 R08: 0000000000000005 R09: 0000000000000000 R10: 000000009577be96 R11: ffff888040cad4b0 R12: 1ffff92000c74f67 R13: ffff8880463bb088 R14: ffff88803e7b4800 R15: 0000000000002800 FS: 00007f37f57c56c0(0000) GS:ffff8880d6af5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555564837490 CR3: 000000004aec2000 CR4: 0000000000352ef0 DR0: 0000000000000001 DR1: fffffffffffffff7 DR2: 0000000000000000 DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: drm_gem_change_handle_ioctl+0x2c1/0x560 drivers/gpu/drm/drm_gem.c:980 drm_ioctl_kernel+0x1f4/0x3e0 drivers/gpu/drm/drm_ioctl.c:804 drm_ioctl+0x5c9/0xc30 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 fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f37f498f7c9 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:00007f37f57c5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f37f4be5fa0 RCX: 00007f37f498f7c9 RDX: 0000200000000180 RSI: 00000000c00c64d2 RDI: 000000000000000b RBP: 00007f37f4a13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f37f4be6038 R14: 00007f37f4be5fa0 R15: 00007ffdb079dbe8