the backtrace as follows: [ 72.571019] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 72.571084] #PF: supervisor instruction fetch in kernel mode [ 72.571128] #PF: error_code(0x0010) - not-present page [ 72.571167] PGD 0 P4D 0 [ 72.571190] Oops: 0010 [#1] PREEMPT SMP NOPTI [ 72.571225] CPU: 2 PID: 358 Comm: kworker/u8:3 Kdump: loaded Not tainted 6.8.0-31-generic #31-Ubuntu [ 72.571344] Workqueue: kacpi_hotplug acpi_hotplug_work_fn [ 72.571386] RIP: 0010:0x0 [ 72.571417] Code: Unable to access opcode bytes at 0xffffffffffffffd6. [ 72.571468] RSP: 0018:ffffb0c880307a80 EFLAGS: 00010216 [ 72.571508] RAX: 0000000000000000 RBX: ffff8af8c1b08800 RCX: 0000000000000000 [ 72.571561] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8af8c1b08800 [ 72.571616] RBP: ffffb0c880307ab8 R08: 0000000000000000 R09: 0000000000000000 [ 72.571667] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8af8c550c700 [ 72.571717] R13: ffff8af8c1b08b28 R14: ffff8af8c550c200 R15: 0000000000000080 [ 72.571768] FS: 0000000000000000(0000) GS:ffff8af9e8100000(0000) knlGS:0000000000000000 [ 72.571825] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.571867] CR2: ffffffffffffffd6 CR3: 000000014f23c006 CR4: 00000000007706f0 [ 72.571921] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.571972] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 72.572023] PKRU: 55555554 [ 72.572046] Call Trace: [ 72.572068] [ 72.572087] ? show_regs+0x6d/0x80 [ 72.572117] ? __die+0x24/0x80 [ 72.572144] ? page_fault_oops+0x99/0x1b0 [ 72.572177] ? do_user_addr_fault+0x2ee/0x6b0 [ 72.572211] ? exc_page_fault+0x83/0x1b0 [ 72.572244] ? asm_exc_page_fault+0x27/0x30 [ 72.572279] vp_del_vqs+0x6e/0x2a0 [ 72.572308] remove_vq_common+0x166/0x1a0 [ 72.572341] virtnet_remove+0x61/0x80 [ 72.572370] virtio_dev_remove+0x3f/0xc0 [ 72.572402] device_remove+0x40/0x80 [ 72.572433] device_release_driver_internal+0x20b/0x270 [ 72.572477] device_release_driver+0x12/0x20 [ 72.572510] bus_remove_device+0xcb/0x140 [ 72.572542] device_del+0x161/0x3e0 [ 72.572571] ? pci_bus_generic_read_dev_vendor_id+0x2c/0x1a0 [ 72.572617] device_unregister+0x17/0x60 [ 72.572648] unregister_virtio_device+0x16/0x40 [ 72.572684] virtio_pci_remove+0x43/0xa0 [ 72.572714] pci_device_remove+0x36/0xb0 [ 72.572746] device_remove+0x40/0x80 [ 72.572919] device_release_driver_internal+0x20b/0x270 [ 72.573083] device_release_driver+0x12/0x20 [ 72.573241] pci_stop_bus_device+0x7a/0xb0 [ 72.573394] pci_stop_and_remove_bus_device+0x12/0x30 [ 72.573552] disable_slot+0x4f/0xa0 [ 72.573705] acpiphp_disable_and_eject_slot+0x1c/0xa0 [ 72.573860] hotplug_event+0x11b/0x280 [ 72.574006] ? __pfx_acpiphp_hotplug_notify+0x10/0x10 [ 72.574159] acpiphp_hotplug_notify+0x27/0x70 [ 72.574304] acpi_device_hotplug+0xb6/0x300 [ 72.574452] acpi_hotplug_work_fn+0x1e/0x40 [ 72.574598] process_one_work+0x16c/0x350 [ 72.574742] worker_thread+0x306/0x440 [ 72.574878] ? _raw_spin_lock_irqsave+0xe/0x20 [ 72.575017] ? __pfx_worker_thread+0x10/0x10 [ 72.575152] kthread+0xef/0x120 [ 72.575285] ? __pfx_kthread+0x10/0x10 [ 72.575414] ret_from_fork+0x44/0x70 [ 72.575548] ? __pfx_kthread+0x10/0x10 [ 72.575677] ret_from_fork_asm+0x1b/0x30 [ 72.575803] When the code reaches if (vp_dev->is_avq(vdev, vq->index)), due to is_avq not being correctly initialized in the legacy virtio device, it becomes a null pointer, resulting in an exception being thrown.