Console: switching to colour dummy device 80x25 ------------[ cut here ]------------ Memory manager not clean during takedown. WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#1: syz.1.528/7652 Modules linked in: CPU: 1 UID: 0 PID: 7652 Comm: syz.1.528 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 04/01/2014 RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965 Code: 8b 43 38 48 39 c5 75 16 e8 9b 64 38 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e e9 1a 09 01 06 e8 85 64 38 fc 48 8d 3d ce ea 7c 0b <67> 48 0f b9 3a 48 c7 c0 00 a4 65 8e 48 ba 00 00 00 00 00 fc ff df RSP: 0018:ffffc9000f03f798 EFLAGS: 00010246 RAX: 0000000000080000 RBX: ffff88802819fc68 RCX: ffffc900048d1000 RDX: 0000000000080000 RSI: ffffffff85d3be0b RDI: ffffffff9150a8e0 RBP: ffff88802819fca0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880281ac380 R13: ffff8880281ac398 R14: ffffffff85d29050 R15: 0000000000000000 FS: 00007f7dafb426c0(0000) GS:ffff8880d5c53000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32d20ff8 CR3: 00000000354a5000 CR4: 0000000000352ef0 Call Trace: drm_managed_release+0x1bb/0x540 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.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:958 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:957 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375 device_remove+0xcb/0x180 drivers/base/dd.c:616 __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664 device_del+0x376/0x9b0 drivers/base/core.c:3965 device_unregister+0x1d/0xe0 drivers/base/core.c:4006 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:608 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:760 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:535 device_remove+0xcb/0x180 drivers/base/dd.c:616 __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 pci_stop_dev drivers/pci/remove.c:27 [inline] pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:94 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:129 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:137 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:524 dev_attr_store+0x58/0x80 drivers/base/core.c:2509 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6af/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7daeb9e159 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:00007f7dafb42028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7daee25fa0 RCX: 00007f7daeb9e159 RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000003 RBP: 00007f7daec3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7daee26038 R14: 00007f7daee25fa0 R15: 00007ffcb43ef038 ---------------- Code disassembly (best guess): 0: 8b 43 38 mov 0x38(%rbx),%eax 3: 48 39 c5 cmp %rax,%rbp 6: 75 16 jne 0x1e 8: e8 9b 64 38 fc call 0xfc3864a8 d: 48 83 c4 08 add $0x8,%rsp 11: 5b pop %rbx 12: 5d pop %rbp 13: 41 5c pop %r12 15: 41 5d pop %r13 17: 41 5e pop %r14 19: e9 1a 09 01 06 jmp 0x6010938 1e: e8 85 64 38 fc call 0xfc3864a8 23: 48 8d 3d ce ea 7c 0b lea 0xb7ceace(%rip),%rdi # 0xb7ceaf8 * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 48 c7 c0 00 a4 65 8e mov $0xffffffff8e65a400,%rax 36: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 3d: fc ff df