Hello,
syzbot found the following issue on:
HEAD commit: fb28aa725e05 Linux 6.1.180
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1100a5b9580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=31dfefc4a14efea3
dashboard link:
https://syzkaller.appspot.com/bug?extid=e2b16532e54989c38312
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/9a6fe2a54d0f/disk-fb28aa72.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/742b23a1d931/vmlinux-fb28aa72.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/b3f257c16d2e/bzImage-fb28aa72.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e2b165...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6023 at drivers/virtio/virtio.c:335 virtio_dev_remove+0x16f/0x1a0 drivers/virtio/virtio.c:335
Modules linked in:
CPU: 0 PID: 6023 Comm: syz.1.372 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:virtio_dev_remove+0x16f/0x1a0 drivers/virtio/virtio.c:335
Code: 08 48 89 df e8 92 f4 5f fd 4c 89 f7 ff 13 0c 01 0f b6 f0 4c 89 f7 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d ff e0 e8 b1 c7 0e fd <0f> 0b e9 78 ff ff ff 44 89 e9 80 e1 07 38 c1 0f 8c d8 fe ff ff 4c
RSP: 0018:ffffc900035078c0 EFLAGS: 00010246
RAX: ffffffff8473666f RBX: ffff88801d3b2500 RCX: 0000000000080000
RDX: ffffc9000c879000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 00000000000000ff R08: ffffffff90b10277 R09: 1ffffffff216204e
R10: dffffc0000000000 R11: fffffbfff216204f R12: 1ffff11003a764a0
R13: dffffc0000000000 R14: ffff88801d3b2000 R15: ffffffff8aeb95b8
FS: 00007f04b4b276c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f127c61a000 CR3: 0000000061719000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
device_remove drivers/base/dd.c:547 [inline]
__device_release_driver drivers/base/dd.c:1279 [inline]
device_release_driver_internal+0x47d/0x7c0 drivers/base/dd.c:1305
bus_remove_device+0x2dd/0x400 drivers/base/bus.c:531
device_del+0x63f/0xa80 drivers/base/core.c:3900
device_unregister+0x1c/0xc0 drivers/base/core.c:3943
unregister_virtio_device+0x33/0x60 drivers/virtio/virtio.c:483
virtio_pci_remove+0x7b/0xf0 drivers/virtio/virtio_pci_common.c:600
pci_device_remove+0x93/0x230 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+0x47d/0x7c0 drivers/base/dd.c:1305
pci_stop_dev drivers/pci/remove.c:22 [inline]
pci_stop_bus_device+0x108/0x140 drivers/pci/remove.c:82
pci_stop_and_remove_bus_device drivers/pci/remove.c:116 [inline]
pci_stop_and_remove_bus_device_locked+0x16/0x30 drivers/pci/remove.c:124
remove_store+0xe2/0x140 drivers/pci/pci-sysfs.c:515
kernfs_fop_write_iter+0x3a0/0x520 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+0x482/0x9a0 fs/read_write.c:584
ksys_write+0x14d/0x260 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f04b3b9e019
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:00007f04b4b27028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f04b3e25fa0 RCX: 00007f04b3b9e019
RDX: 0000000000000001 RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f04b3c3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f04b3e26038 R14: 00007f04b3e25fa0 R15: 00007ffc51c41738
</TASK>
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup