------------[ cut here ]------------ WARNING: CPU: 0 PID: 5549 at drivers/virtio/virtio.c:335 virtio_dev_remove+0x174/0x194 drivers/virtio/virtio.c:335 Modules linked in: CPU: 0 PID: 5549 Comm: syz.7.291 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : virtio_dev_remove+0x174/0x194 drivers/virtio/virtio.c:335 lr : virtio_dev_remove+0x174/0x194 drivers/virtio/virtio.c:335 sp : ffff8000214475c0 x29: ffff8000214475c0 x28: ffff0000c46f40d0 x27: ffff8000167bbf60 x26: ffff0000c66f70f0 x25: 1fffe00018cdee1e x24: 1fffe00018cdee1d x23: 1fffe00018cdeea3 x22: dfff800000000000 x21: 00000000000000ff x20: ffff0000c66f7518 x19: ffff0000c66f7000 x18: 1fffe00033e7277e x17: ffff80001537d000 x16: ffff8000082dd248 x15: ffff8000089b5c5c x14: 0000000000000001 x13: 1ffff00002b7cc9e x12: 0000000000080000 x11: 000000000003236a x10: ffff800028f6a000 x9 : ffff80000b33f9b8 x8 : 000000000003236b x7 : ffff80000805a700 x6 : ffff80000805a910 x5 : ffff0000cb346aa8 x4 : ffff8000214472f0 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 00000000000000ff x0 : 0000000000000000 Call trace: virtio_dev_remove+0x174/0x194 drivers/virtio/virtio.c:335 device_remove drivers/base/dd.c:547 [inline] __device_release_driver drivers/base/dd.c:1279 [inline] device_release_driver_internal+0x3d4/0x6e4 drivers/base/dd.c:1305 device_release_driver+0x28/0x38 drivers/base/dd.c:1328 bus_remove_device+0x294/0x384 drivers/base/bus.c:531 device_del+0x580/0x990 drivers/base/core.c:3900 device_unregister+0x2c/0xc8 drivers/base/core.c:3943 unregister_virtio_device+0x38/0x78 drivers/virtio/virtio.c:483 virtio_pci_remove+0x7c/0xf4 drivers/virtio/virtio_pci_common.c:600 pci_device_remove+0x9c/0x23c drivers/pci/pci-driver.c:483 device_remove drivers/base/dd.c:547 [inline] __device_release_driver drivers/base/dd.c:1279 [inline] device_release_driver_internal+0x3d4/0x6e4 drivers/base/dd.c:1305 device_release_driver+0x28/0x38 drivers/base/dd.c:1328 pci_stop_dev drivers/pci/remove.c:22 [inline] pci_stop_bus_device+0x100/0x164 drivers/pci/remove.c:82 pci_stop_and_remove_bus_device drivers/pci/remove.c:116 [inline] pci_stop_and_remove_bus_device_locked+0x24/0x40 drivers/pci/remove.c:124 remove_store+0xdc/0x148 drivers/pci/pci-sysfs.c:515 dev_attr_store+0x6c/0x90 drivers/base/core.c:2388 sysfs_kf_write+0x1f8/0x274 fs/sysfs/file.c:140 kernfs_fop_write_iter+0x390/0x4b4 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x3c8/0x7c8 fs/read_write.c:584 ksys_write+0x12c/0x228 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 1214 hardirqs last enabled at (1213): [] kasan_quarantine_put+0xc4/0x200 mm/kasan/quarantine.c:242 hardirqs last disabled at (1214): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (786): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (786): [] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624 softirqs last disabled at (763): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- pci 0000:00:01.0: [1af4:1005] type 00 class 0x00ff00 pci 0000:00:01.0: BAR 0 [io 0x1000-0x101f] pci 0000:00:01.0: BAR 1 [mem 0x10110080-0x101100bf] pci 0000:00:01.0: BAR 1 [mem 0x10110080-0x101100bf]: assigned pci 0000:00:01.0: BAR 0 [io 0x1000-0x101f]: assigned virtio-pci 0000:00:01.0: enabling device (0002 -> 0003) virtio-pci 0000:00:01.0: virtio_pci: leaving for legacy driver