Console: switching to colour dummy device 80x25 ------------[ cut here ]------------ Memory manager not clean during takedown. WARNING: drivers/gpu/drm/drm_mm.c:966 at drm_mm_takedown+0x54/0x70 drivers/gpu/drm/drm_mm.c:965, CPU#0: syz.0.0/5326 Modules linked in: CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:drm_mm_takedown+0x54/0x70 drivers/gpu/drm/drm_mm.c:965 Code: 4c 89 f7 e8 be e2 a0 fc 49 8b 06 4c 39 f0 75 0e e8 a1 32 2f fc 5b 41 5e e9 59 6c 53 06 cc e8 93 32 2f fc 48 8d 3d 8c 6d ed 0a <67> 48 0f b9 3a 48 89 df 5b 41 5e eb 1f 66 66 66 66 66 66 2e 0f 1f RSP: 0018:ffffc9000e04f720 EFLAGS: 00010283 RAX: ffffffff8598edcd RBX: ffff888034ff2068 RCX: 0000000000100000 RDX: ffffc9000f441000 RSI: 000000000001328e RDI: ffffffff90865b60 RBP: ffffffff85979ce0 R08: ffff88801f937080 R09: ffffffff8c811760 R10: dffffc0000000000 R11: ffffffff85979ce0 R12: ffff88801f937080 R13: dffffc0000000000 R14: ffff888034ff20a0 R15: dffffc0000000000 FS: 00007f7bc75d46c0(0000) GS:ffff88808c2bb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bcb3f36b8 CR3: 0000000043814000 CR4: 0000000000352ef0 Call Trace: drm_managed_release+0x208/0x380 drivers/gpu/drm/drm_managed.c:75 drm_dev_release drivers/gpu/drm/drm_drv.c:924 [inline] kref_put include/linux/kref.h:65 [inline] drm_dev_put+0xe0/0x120 drivers/gpu/drm/drm_drv.c:958 virtio_dev_remove+0x9c/0x1b0 drivers/virtio/virtio.c:375 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372 bus_remove_device+0x444/0x560 drivers/base/bus.c:664 device_del+0x524/0x8f0 drivers/base/core.c:3965 device_unregister+0x21/0xf0 drivers/base/core.c:4006 unregister_virtio_device+0x37/0x60 drivers/virtio/virtio.c:608 virtio_pci_remove+0x7f/0xf0 drivers/virtio/virtio_pci_common.c:760 pci_device_remove+0x99/0x1c0 drivers/pci/pci-driver.c:535 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372 pci_stop_dev drivers/pci/remove.c:27 [inline] pci_stop_bus_device+0xf6/0x120 drivers/pci/remove.c:94 pci_stop_and_remove_bus_device drivers/pci/remove.c:129 [inline] pci_stop_and_remove_bus_device_locked+0x77/0xb0 drivers/pci/remove.c:137 remove_store+0xe5/0x150 drivers/pci/pci-sysfs.c:524 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7bcb19e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7bc75d3fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7bcb426090 RCX: 00007f7bcb19e159 RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000008 RBP: 00007f7bcb23506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7bcb426128 R14: 00007f7bcb426090 R15: 00007ffde13d05c8 ---------------- Code disassembly (best guess): 0: 4c 89 f7 mov %r14,%rdi 3: e8 be e2 a0 fc call 0xfca0e2c6 8: 49 8b 06 mov (%r14),%rax b: 4c 39 f0 cmp %r14,%rax e: 75 0e jne 0x1e 10: e8 a1 32 2f fc call 0xfc2f32b6 15: 5b pop %rbx 16: 41 5e pop %r14 18: e9 59 6c 53 06 jmp 0x6536c76 1d: cc int3 1e: e8 93 32 2f fc call 0xfc2f32b6 23: 48 8d 3d 8c 6d ed 0a lea 0xaed6d8c(%rip),%rdi # 0xaed6db6 * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 89 df mov %rbx,%rdi 32: 5b pop %rbx 33: 41 5e pop %r14 35: eb 1f jmp 0x56 37: 66 data16 38: 66 data16 39: 66 data16 3a: 66 data16 3b: 66 data16 3c: 66 data16 3d: 2e cs 3e: 0f .byte 0xf 3f: 1f (bad)