Console: switching to colour dummy device 80x25
=============================================================================
======================================================
WARNING: possible circular locking dependency detected
syzkaller #0 Not tainted
------------------------------------------------------
syz.0.0/5311 is trying to acquire lock:
ffffffff8eb4bf40 (console_owner){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:305 [inline]
ffffffff8eb4bf40 (console_owner){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:428 [inline]
ffffffff8eb4bf40 (console_owner){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:291 [inline]
ffffffff8eb4bf40 (console_owner){....}-{0:0}, at: console_flush_one_record kernel/printk/printk.c:3246 [inline]
ffffffff8eb4bf40 (console_owner){....}-{0:0}, at: console_flush_all+0x123/0xaf0 kernel/printk/printk.c:3343
but task is already holding lock:
ffff88801af69d98 (&n->list_lock){-.-.}-{3:3}, at: spin_lock_irq include/linux/spinlock.h:372 [inline]
ffff88801af69d98 (&n->list_lock){-.-.}-{3:3}, at: free_partial mm/slub.c:8009 [inline]
ffff88801af69d98 (&n->list_lock){-.-.}-{3:3}, at: __kmem_cache_shutdown+0x111/0x2a0 mm/slub.c:8058
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&n->list_lock){-.-.}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline]
_raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166
get_from_partial_node+0x54/0x4c0 mm/slub.c:3817
get_from_any_partial mm/slub.c:3915 [inline]
get_from_partial mm/slub.c:3951 [inline]
___slab_alloc+0x258/0x950 mm/slub.c:4459
slab_alloc_node mm/slub.c:4908 [inline]
kmem_cache_alloc_noprof+0x135/0x5f0 mm/slub.c:4931
kmem_alloc_batch lib/debugobjects.c:371 [inline]
fill_pool+0x165/0x610 lib/debugobjects.c:420
debug_objects_fill_pool lib/debugobjects.c:780 [inline]
debug_object_activate+0x38d/0x420 lib/debugobjects.c:869
debug_work_activate kernel/workqueue.c:682 [inline]
insert_work+0x35/0x330 kernel/workqueue.c:2223
__queue_work+0xcd8/0x10a0 kernel/workqueue.c:2401
queue_work_on+0x106/0x1d0 kernel/workqueue.c:2452
queue_work include/linux/workqueue.h:699 [inline]
call_usermodehelper_exec+0x28e/0x4b0 kernel/umh.c:433
kobject_uevent_env+0x685/0x9e0 lib/kobject_uevent.c:635
device_add+0x544/0xb80 drivers/base/core.c:3738
device_create_groups_vargs drivers/base/core.c:4454 [inline]
device_create+0x269/0x300 drivers/base/core.c:4493
msr_device_create+0x33/0x50 arch/x86/kernel/msr.c:251
cpuhp_invoke_callback+0x434/0x810 kernel/cpu.c:194
cpuhp_thread_fun+0x362/0x780 kernel/cpu.c:1109
smpboot_thread_fn+0x57c/0xa80 kernel/smpboot.c:160
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
-> #3 (&pool->lock){-.-.}-{2:2}:
__raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158
__queue_work+0x72f/0x10a0 kernel/workqueue.c:2361
queue_work_on+0x106/0x1d0 kernel/workqueue.c:2452
queue_work include/linux/workqueue.h:699 [inline]
rpm_suspend+0xeca/0x17b0 drivers/base/power/runtime.c:688
__pm_runtime_idle+0x12f/0x1a0 drivers/base/power/runtime.c:1129
pm_runtime_put include/linux/pm_runtime.h:551 [inline]
__device_attach+0x355/0x450 drivers/base/dd.c:1116
device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153
bus_probe_device+0x12a/0x220 drivers/base/bus.c:620
device_add+0x7d7/0xb80 drivers/base/core.c:3772
serial_base_port_add+0x18f/0x270 drivers/tty/serial/serial_base_bus.c:186
serial_core_port_device_add drivers/tty/serial/serial_core.c:3275 [inline]
serial_core_register_port+0x37f/0x2840 drivers/tty/serial/serial_core.c:3314
serial8250_register_8250_port+0x16b4/0x2090 drivers/tty/serial/8250/8250_core.c:828
serial_pnp_probe+0x56a/0x7f0 drivers/tty/serial/8250/8250_pnp.c:480
pnp_device_probe+0x30b/0x4c0 drivers/pnp/driver.c:111
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x254/0xae0 drivers/base/dd.c:706
__driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868
driver_probe_device+0x4f/0x240 drivers/base/dd.c:898
__driver_attach+0x339/0x600 drivers/base/dd.c:1292
bus_for_each_dev+0x23b/0x2c0 drivers/base/bus.c:383
bus_add_driver+0x345/0x670 drivers/base/bus.c:763
driver_register+0x23a/0x320 drivers/base/driver.c:174
serial8250_init+0x8f/0x160 drivers/tty/serial/8250/8250_platform.c:317
do_one_initcall+0x250/0x870 init/main.c:1347
do_initcall_level+0x10a/0x1a0 init/main.c:1409
do_initcalls+0x59/0xa0 init/main.c:1425
kernel_init_freeable+0x29d/0x3e0 init/main.c:1658
kernel_init+0x1d/0x1d0 init/main.c:1548
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
-> #2 (&dev->power.lock){-...}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline]
_raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166
__pm_runtime_resume+0x10f/0x180 drivers/base/power/runtime.c:1196
pm_runtime_get include/linux/pm_runtime.h:494 [inline]
__uart_start+0x171/0x460 drivers/tty/serial/serial_core.c:149
uart_write+0x251/0x9f0 drivers/tty/serial/serial_core.c:629
process_output_block drivers/tty/n_tty.c:557 [inline]
n_tty_write+0xd49/0x11e0 drivers/tty/n_tty.c:2366
iterate_tty_write drivers/tty/tty_io.c:1006 [inline]
file_tty_write+0x509/0x9c0 drivers/tty/tty_io.c:1081
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:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
-> #1 (&port_lock_key){-...}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline]
_raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166
uart_port_lock_irqsave include/linux/serial_core.h:719 [inline]
serial8250_console_write+0x153/0x1ba0 drivers/tty/serial/8250/8250_port.c:3344
console_emit_next_record kernel/printk/printk.c:3183 [inline]
console_flush_one_record kernel/printk/printk.c:3269 [inline]
console_flush_all+0x6ea/0xaf0 kernel/printk/printk.c:3343
__console_flush_and_unlock kernel/printk/printk.c:3373 [inline]
console_unlock+0xd1/0x1c0 kernel/printk/printk.c:3413
vprintk_emit+0x485/0x560 kernel/printk/printk.c:2479
_printk+0xdd/0x130 kernel/printk/printk.c:2504
register_console+0xbc3/0xfc0 kernel/printk/printk.c:4208
univ8250_console_init+0x3a/0x70 drivers/tty/serial/8250/8250_core.c:515
console_init+0x10b/0x4a0 kernel/printk/printk.c:4407
start_kernel+0x238/0x3e0 init/main.c:1112
x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
x86_64_start_kernel+0x137/0x1b0 arch/x86/kernel/head64.c:291
common_startup_64+0x13e/0x157
-> #0 (console_owner){....}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain kernel/locking/lockdep.c:3908 [inline]
__lock_acquire+0x1520/0x2cf0 kernel/locking/lockdep.c:5237
lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
console_lock_spinning_enable kernel/printk/printk.c:1902 [inline]
console_emit_next_record kernel/printk/printk.c:3177 [inline]
console_flush_one_record kernel/printk/printk.c:3269 [inline]
console_flush_all+0x693/0xaf0 kernel/printk/printk.c:3343
__console_flush_and_unlock kernel/printk/printk.c:3373 [inline]
console_unlock+0xd1/0x1c0 kernel/printk/printk.c:3413
vprintk_emit+0x485/0x560 kernel/printk/printk.c:2479
_printk+0xdd/0x130 kernel/printk/printk.c:2504
__slab_bug+0x6e/0xd0 mm/slub.c:1144
slab_bug+0x57/0x80 mm/slub.c:1155
list_slab_objects+0x35/0x1a0 mm/slub.c:7978
free_partial mm/slub.c:8015 [inline]
__kmem_cache_shutdown+0x1a5/0x2a0 mm/slub.c:8058
kmem_cache_destroy+0x98/0x180 mm/slab_common.c:569
virtio_gpu_free_vbufs+0x40/0x70 drivers/gpu/drm/virtio/virtgpu_vq.c:86
virtio_gpu_release+0x55/0x140 drivers/gpu/drm/virtio/virtgpu_kms.c:312
drm_dev_release drivers/gpu/drm/drm_drv.c:912 [inline]
kref_put include/linux/kref.h:65 [inline]
drm_dev_put+0xa9/0x120 drivers/gpu/drm/drm_drv.c:948
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:3961
device_unregister+0x21/0xf0 drivers/base/core.c:4002
unregister_virtio_device+0x37/0x60 drivers/virtio/virtio.c:594
virtio_pci_remove+0x7f/0xf0 drivers/virtio/virtio_pci_common.c:758
pci_device_remove+0x99/0x1c0 drivers/pci/pci-driver.c:512
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:93
pci_stop_and_remove_bus_device drivers/pci/remove.c:128 [inline]
pci_stop_and_remove_bus_device_locked+0x77/0xb0 drivers/pci/remove.c:136
remove_store+0xe5/0x150 drivers/pci/pci-sysfs.c:523
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:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
other info that might help us debug this:
Chain exists of:
console_owner --> &pool->lock --> &n->list_lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&n->list_lock);
lock(&pool->lock);
lock(&n->list_lock);
lock(console_owner);
*** DEADLOCK ***
11 locks held by syz.0.0/5311:
#0: ffff888000bff0f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320 fs/file.c:1259
#1: ffff88801fa76450 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2733 [inline]
#1: ffff88801fa76450 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683
#2: ffff88801f4f1c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#3: ffffffff8f39ac60 (pci_rescan_remove_lock){+.+.}-{4:4}, at: pci_stop_and_remove_bus_device_locked+0x13/0xb0 drivers/pci/remove.c:135
#4: ffff88801f85a1f8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1102 [inline]
#4: ffff88801f85a1f8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1171 [inline]
#4: ffff88801f85a1f8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880 drivers/base/dd.c:1369
#5: ffff8880331761b0 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1102 [inline]
#5: ffff8880331761b0 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1171 [inline]
#5: ffff8880331761b0 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880 drivers/base/dd.c:1369
#6: ffffffff8e9e75f0 (cpu_hotplug_lock){++++}-{0:0}, at: kmem_cache_destroy+0x60/0x180 mm/slab_common.c:556
#7: ffffffff8ec69f88 (slab_mutex){+.+.}-{4:4}, at: kmem_cache_destroy+0x6e/0x180 mm/slab_common.c:557
#8: ffff88801af69d98 (&n->list_lock){-.-.}-{3:3}, at: spin_lock_irq include/linux/spinlock.h:372 [inline]
#8: ffff88801af69d98 (&n->list_lock){-.-.}-{3:3}, at: free_partial mm/slub.c:8009 [inline]
#8: ffff88801af69d98 (&n->list_lock){-.-.}-{3:3}, at: __kmem_cache_shutdown+0x111/0x2a0 mm/slub.c:8058
#9: ffffffff8eb4bfa0 (console_lock){+.+.}-{0:0}, at: _printk+0xdd/0x130 kernel/printk/printk.c:2504
#10: ffffffff8ea33838 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:305 [inline]
#10: ffffffff8ea33838 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:428 [inline]
#10: ffffffff8ea33838 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:291 [inline]
#10: ffffffff8ea33838 (console_srcu){....}-{0:0}, at: console_flush_one_record kernel/printk/printk.c:3246 [inline]
#10: ffffffff8ea33838 (console_srcu){....}-{0:0}, at: console_flush_all+0x123/0xaf0 kernel/printk/printk.c:3343
stack backtrace:
CPU: 0 UID: 0 PID: 5311 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
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
print_circular_bug+0x2e1/0x300 kernel/locking/lockdep.c:2043
check_noncircular+0x12e/0x150 kernel/locking/lockdep.c:2175
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain kernel/locking/lockdep.c:3908 [inline]
__lock_acquire+0x1520/0x2cf0 kernel/locking/lockdep.c:5237
lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
console_lock_spinning_enable kernel/printk/printk.c:1902 [inline]
console_emit_next_record kernel/printk/printk.c:3177 [inline]
console_flush_one_record kernel/printk/printk.c:3269 [inline]
console_flush_all+0x693/0xaf0 kernel/printk/printk.c:3343
__console_flush_and_unlock kernel/printk/printk.c:3373 [inline]
console_unlock+0xd1/0x1c0 kernel/printk/printk.c:3413
vprintk_emit+0x485/0x560 kernel/printk/printk.c:2479
_printk+0xdd/0x130 kernel/printk/printk.c:2504
__slab_bug+0x6e/0xd0 mm/slub.c:1144
slab_bug+0x57/0x80 mm/slub.c:1155
list_slab_objects+0x35/0x1a0 mm/slub.c:7978
free_partial mm/slub.c:8015 [inline]
__kmem_cache_shutdown+0x1a5/0x2a0 mm/slub.c:8058
kmem_cache_destroy+0x98/0x180 mm/slab_common.c:569
virtio_gpu_free_vbufs+0x40/0x70 drivers/gpu/drm/virtio/virtgpu_vq.c:86
virtio_gpu_release+0x55/0x140 drivers/gpu/drm/virtio/virtgpu_kms.c:312
drm_dev_release drivers/gpu/drm/drm_drv.c:912 [inline]
kref_put include/linux/kref.h:65 [inline]
drm_dev_put+0xa9/0x120 drivers/gpu/drm/drm_drv.c:948
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:3961
device_unregister+0x21/0xf0 drivers/base/core.c:4002
unregister_virtio_device+0x37/0x60 drivers/virtio/virtio.c:594
virtio_pci_remove+0x7f/0xf0 drivers/virtio/virtio_pci_common.c:758
pci_device_remove+0x99/0x1c0 drivers/pci/pci-driver.c:512
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:93
pci_stop_and_remove_bus_device drivers/pci/remove.c:128 [inline]
pci_stop_and_remove_bus_device_locked+0x77/0xb0 drivers/pci/remove.c:136
remove_store+0xe5/0x150 drivers/pci/pci-sysfs.c:523
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:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe316b9e0d9
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:00007fe312ff4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe316e25fa0 RCX: 00007fe316b9e0d9
RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000004
RBP: 00007fe316c35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe316e26038 R14: 00007fe316e25fa0 R15: 00007fff422dd578
BUG virtio-gpu-vbufs (Not tainted): Objects remaining on __kmem_cache_shutdown()
-----------------------------------------------------------------------------
Object 0xffff888012b51348 @offset=840
Object 0xffff888012b51460 @offset=1120
Slab 0xffffea00004ad440 objects=14 used=2 fp=0xffff888012b51118 flags=0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
------------[ cut here ]------------
1
WARNING: mm/slub.c:1244 at __slab_err+0x15/0x20 mm/slub.c:1244, CPU#0: syz.0.0/5311
Modules linked in:
CPU: 0 UID: 0 PID: 5311 Comm: syz.0.0 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__slab_err+0x15/0x20 mm/slub.c:1244
Code: 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 e8 2b 00 00 00 bf 05 00 00 00 be 01 00 00 00 e8 fc a7 5e 00 90 <0f> 0b 90 c3 cc cc cc cc cc 66 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0000:ffffc9000de7f6d8 EFLAGS: 00010083
RAX: ffffffff8186dc3a RBX: ffff888034ca2c80 RCX: 0000000000100000
RDX: ffffc9000eb82000 RSI: 0000000000067f74 RDI: 0000000000067f75
RBP: ffffea0000480710 R08: ffffffff9373f0c7 R09: 1ffffffff26e7e18
R10: dffffc0000000000 R11: fffffbfff26e7e19 R12: ffffea00007e70d0
R13: ffffea00004ad440 R14: ffffc9000de7f6f0 R15: ffff88801af69d80
FS: 00007fe312ff56c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe30b473000 CR3: 000000004342f000 CR4: 0000000000352ef0
Call Trace:
free_partial mm/slub.c:8015 [inline]
__kmem_cache_shutdown+0x1a5/0x2a0 mm/slub.c:8058
kmem_cache_destroy+0x98/0x180 mm/slab_common.c:569
virtio_gpu_free_vbufs+0x40/0x70 drivers/gpu/drm/virtio/virtgpu_vq.c:86
virtio_gpu_release+0x55/0x140 drivers/gpu/drm/virtio/virtgpu_kms.c:312
drm_dev_release drivers/gpu/drm/drm_drv.c:912 [inline]
kref_put include/linux/kref.h:65 [inline]
drm_dev_put+0xa9/0x120 drivers/gpu/drm/drm_drv.c:948
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:3961
device_unregister+0x21/0xf0 drivers/base/core.c:4002
unregister_virtio_device+0x37/0x60 drivers/virtio/virtio.c:594
virtio_pci_remove+0x7f/0xf0 drivers/virtio/virtio_pci_common.c:758
pci_device_remove+0x99/0x1c0 drivers/pci/pci-driver.c:512
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:93
pci_stop_and_remove_bus_device drivers/pci/remove.c:128 [inline]
pci_stop_and_remove_bus_device_locked+0x77/0xb0 drivers/pci/remove.c:136
remove_store+0xe5/0x150 drivers/pci/pci-sysfs.c:523
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:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe316b9e0d9
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:00007fe312ff4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe316e25fa0 RCX: 00007fe316b9e0d9
RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000004
RBP: 00007fe316c35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe316e26038 R14: 00007fe316e25fa0 R15: 00007fff422dd578