WARNING in virtio_dev_remove

Status: premoderation: reported C repro on 2026/07/30 10:31
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6675ed71e41b0a618361@syzkaller.appspotmail.com
First crash: 52d, last: 8d07h
Bug presence (2)
Date Name Commit Repro Result
2026/08/31 lts (merge base) ff43460784b7 C [report] WARNING in virtio_dev_remove
2026/08/31 upstream (ToT) bf1079577a11 C [report] WARNING in virtio_dev_remove
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in virtio_dev_remove origin:upstream -1 syz, C 20 23d 52d 0/3 upstream: reported C repro on 2026/07/31 06:23
upstream WARNING in virtio_dev_remove prio:low virt -1 syz, C error 28 7d21h 51d 0/29 upstream: reported C repro on 2026/08/01 00:00
linux-6.6 WARNING in virtio_dev_remove -1 4 48d 48d 0/2 upstream: reported on 2026/08/03 08:22
linux-5.15 WARNING in virtio_dev_remove -1 syz, C 4 27d 49d 0/3 upstream: reported C repro on 2026/08/02 22:27
Last patch testing requests (5)
Created Duration User Patch Repo Result
2026/09/12 22:39 9m retest repro android16-6.12 report job log log
2026/09/12 22:39 9m retest repro android16-6.12 report job log log
2026/09/12 22:39 12m retest repro android16-6.12 report job log log
2026/09/12 22:39 9m retest repro android16-6.12 report job log log
2026/09/12 22:39 11m retest repro android16-6.12 report job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 312 at drivers/virtio/virtio.c:372 virtio_dev_remove+0x1b6/0x1f0 drivers/virtio/virtio.c:372
Modules linked in:
CPU: 0 UID: 0 PID: 312 Comm: syz-executor315 Not tainted syzkaller #0 65821d980346c223f1c3ee3fc0737619b357581d
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:virtio_dev_remove+0x1b6/0x1f0 drivers/virtio/virtio.c:372
Code: db 41 ba 81 8f eb 77 45 03 53 f1 74 02 0f 0b 2e e8 4f 3b eb 1c 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 0a ec 71 fe <0f> 0b 43 80 3c 2c 00 0f 85 65 ff ff ff e9 68 ff ff ff 44 89 e1 80
RSP: 0018:ffffc9000126f7a0 EFLAGS: 00010293
RAX: ffffffff831585b6 RBX: ffff8881062c1390 RCX: ffff888122538000
RDX: 0000000000000000 RSI: 00000000000000ff RDI: 0000000000000000
RBP: ffffc9000126f7c8 R08: ffffffff81ea971f R09: ffffffff8109c15c
R10: 0000000000000000 R11: ffffffff83173d30 R12: 1ffff11020c58272
R13: dffffc0000000000 R14: ffff8881062c1000 R15: 00000000000000ff
FS:  00005555869993c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055aca21d7300 CR3: 00000001033fc000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 device_remove drivers/base/dd.c:567 [inline]
 __device_release_driver drivers/base/dd.c:1272 [inline]
 device_release_driver_internal+0x4ad/0x830 drivers/base/dd.c:1295
 device_release_driver+0x1d/0x30 drivers/base/dd.c:1318
 bus_remove_device+0x34f/0x370 drivers/base/bus.c:576
 device_del+0x583/0xcf0 drivers/base/core.c:3881
 device_unregister+0x19/0x40 drivers/base/core.c:3922
 unregister_virtio_device+0x38/0x70 drivers/virtio/virtio.c:524
 virtio_pci_remove+0x80/0xf0 drivers/virtio/virtio_pci_common.c:759
 pci_device_remove+0xab/0x260 drivers/pci/pci-driver.c:478
 device_remove drivers/base/dd.c:567 [inline]
 __device_release_driver drivers/base/dd.c:1272 [inline]
 device_release_driver_internal+0x4ad/0x830 drivers/base/dd.c:1295
 device_release_driver+0x1d/0x30 drivers/base/dd.c:1318
 pci_stop_dev drivers/pci/remove.c:44 [inline]
 pci_stop_bus_device+0x10c/0x160 drivers/pci/remove.c:109
 pci_stop_and_remove_bus_device drivers/pci/remove.c:143 [inline]
 pci_stop_and_remove_bus_device_locked+0x1e/0x40 drivers/pci/remove.c:151
 remove_store+0xe6/0x150 drivers/pci/pci-sysfs.c:513
 dev_attr_store+0x76/0xa0 drivers/base/core.c:2440
 sysfs_kf_write+0x13e/0x160 fs/sysfs/file.c:136
 kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352
 new_sync_write fs/read_write.c:591 [inline]
 vfs_write+0x75f/0xfd0 fs/read_write.c:684
 ksys_write+0x145/0x260 fs/read_write.c:737
 __do_sys_write fs/read_write.c:749 [inline]
 __se_sys_write fs/read_write.c:746 [inline]
 __x64_sys_write+0x7f/0x90 fs/read_write.c:746
 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fc3941bacb9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcba60db48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffcba60dc78 RCX: 00007fc3941bacb9
RDX: 0000000000000001 RSI: 0000200000000200 RDI: 0000000000000004
RBP: 0000000000000001 R08: 00007ffcba60dc78 R09: 00007ffcba60dc78
R10: 00007ffcba60dc78 R11: 0000000000000246 R12: 00007ffcba60dc68
R13: 0000000000000002 R14: 00007fc39424bca0 R15: 0000000000000002
 </TASK>
---[ end trace 0000000000000000 ]---

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/12 10:52 android16-6.12 0db85ff78f60 f8d35649 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/11 23:34 android16-6.12 42b03373f376 71790083 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/08 01:56 android16-6.12 b54741372957 e4ef95d6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/07 18:22 android16-6.12 282da3f968e5 e4ef95d6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/07 14:23 android16-6.12 282da3f968e5 e4ef95d6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/07 09:05 android16-6.12 282da3f968e5 c38879ea .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/07 08:33 android16-6.12 282da3f968e5 c38879ea .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/07 07:46 android16-6.12 282da3f968e5 c38879ea .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/07/30 11:21 android16-6.12 f1c9c21d1c2f 2377cd3d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/07/30 10:57 android16-6.12 f1c9c21d1c2f 2377cd3d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/17 09:50 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/08/17 09:49 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/07/30 10:33 android16-6.12 f1c9c21d1c2f 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
2026/07/30 10:30 android16-6.12 f1c9c21d1c2f 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in virtio_dev_remove
* Struck through repros no longer work on HEAD.