syzbot


kernel BUG in vhost_get_vq_desc

Status: upstream: reported C repro on 2022/02/22 17:48
Reported-by: syzbot+a6f003681ffcde48726c@syzkaller.appspotmail.com
First crash: 1004d, last: 642d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in vhost_get_vq_desc C error done 19 985d 1029d 2/2 fixed on 2022/05/13 02:56
linux-4.19 kernel BUG in vhost_get_vq_desc 2 754d 823d 0/1 auto-obsoleted due to no activity on 2023/02/28 01:46
android-54 kernel BUG in vhost_get_vq_desc C 4 969d 1009d 0/2 auto-obsoleted due to no activity on 2023/04/21 00:48
upstream kernel BUG in vhost_get_vq_desc kvm net virt C inconclusive 19 1002d 1014d 22/28 fixed on 2023/02/24 13:50
upstream kernel BUG at drivers/vhost/vhost.c:LINE! (2) kvm net virt C 139 2392d 2422d 5/28 fixed on 2018/05/08 18:30
upstream kernel BUG at drivers/vhost/vhost.c:LINE! kvm net virt C 152 2422d 2441d 5/28 fixed on 2018/04/06 16:37
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2023/02/19 21:40 27m bisect fix linux-4.14.y OK (0) job log log
2023/01/20 14:47 24m bisect fix linux-4.14.y OK (0) job log log
2022/10/28 00:58 27m bisect fix linux-4.14.y OK (0) job log log
2022/09/20 21:55 24m bisect fix linux-4.14.y OK (0) job log log
2022/08/21 21:33 22m bisect fix linux-4.14.y OK (0) job log log
2022/07/22 21:09 23m bisect fix linux-4.14.y OK (0) job log log
2022/06/22 20:43 25m bisect fix linux-4.14.y OK (0) job log log
2022/05/23 20:19 23m bisect fix linux-4.14.y OK (0) job log log
2022/04/23 19:12 20m bisect fix linux-4.14.y OK (0) job log log
2022/03/24 18:47 23m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at drivers/vhost/vhost.c:2240!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7970 Comm: vhost-7969 Not tainted 4.14.267-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88808f8be6c0 task.stack: ffff8880b3b68000
RIP: 0010:vhost_get_vq_desc+0x1b5c/0x20c0 drivers/vhost/vhost.c:2240
RSP: 0018:ffff8880b3b6fb80 EFLAGS: 00010297
RAX: ffff88808f8be6c0 RBX: 0000000000000001 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffff8880b3b6fdb8 RDI: ffff888091784b86
RBP: 0000000000000000 R08: 0000000000000400 R09: 0000000000000001
R10: ffff8880b3b6fc5f R11: ffff88808f8be6c0 R12: ffff888091784b98
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880917849c8
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 00000000ab171000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vhost_vsock_handle_tx_kick+0x1d1/0x900 drivers/vhost/vsock.c:460
 vhost_worker+0x267/0x450 drivers/vhost/vhost.c:364
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 94 00 00 00 48 c7 c6 c0 86 48 88 48 c7 c7 38 08 06 8a 48 89 ca 48 c1 e1 04 48 01 d9 e8 ee 38 aa fd e9 c1 fc ff ff e8 44 2e d6 fb <0f> 0b e8 3d 2e d6 fb 44 89 f2 b9 10 00 00 00 48 c7 c6 c0 84 48 
RIP: vhost_get_vq_desc+0x1b5c/0x20c0 drivers/vhost/vhost.c:2240 RSP: ffff8880b3b6fb80
---[ end trace 6d65af052c41cb5b ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/22 17:47 linux-4.14.y a35d65bedfbc 6e821dbf .config console log report syz C ci2-linux-4-14 kernel BUG in vhost_get_vq_desc
* Struck through repros no longer work on HEAD.