kernel BUG in vhost_get_vq_desc

6 views
Skip to first unread message

syzbot

unread,
Feb 17, 2022, 5:45:22 PM2/17/22
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2426795494c7 UPSTREAM: usb: gadget: rndis: check size of R..
git tree: android12-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=145086a6700000
kernel config: https://syzkaller.appspot.com/x/.config?x=935df5acc0286f17
dashboard link: https://syzkaller.appspot.com/bug?extid=63743ac64a8371b29c4b
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10c74fe2700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10d73a6c700000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+63743a...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at drivers/vhost/vhost.c:2356!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 623 Comm: vhost-622 Not tainted 5.4.161-syzkaller-00007-g2426795494c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:vhost_get_vq_desc+0x2045/0x2050 drivers/vhost/vhost.c:2356
Code: 0f 8c f6 fd ff ff 48 8b bc 24 48 01 00 00 e8 62 c4 59 fe 48 8b 94 24 48 01 00 00 e9 dc fd ff ff e8 90 4b 06 fe e8 ab a7 2c fe <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48
RSP: 0018:ffff8881eca7fbf8 EFLAGS: 00010293
RAX: ffffffff8333ffb5 RBX: 0000000000000000 RCX: ffff8881ed16ee40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8333f4b7 R09: 0000000000000001
R10: ffffed103d94ff99 R11: 0000000000000000 R12: ffff8881eca7fe00
R13: dffffc0000000000 R14: 1ffff1103d94ff98 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 00000001ec8a7000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vhost_vsock_handle_tx_kick+0x1fb/0xc10 drivers/vhost/vsock.c:458
vhost_worker+0x299/0x430 drivers/vhost/vhost.c:362
kthread+0x30f/0x330 kernel/kthread.c:288
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace 5f1d8eb44728a400 ]---
RIP: 0010:vhost_get_vq_desc+0x2045/0x2050 drivers/vhost/vhost.c:2356
Code: 0f 8c f6 fd ff ff 48 8b bc 24 48 01 00 00 e8 62 c4 59 fe 48 8b 94 24 48 01 00 00 e9 dc fd ff ff e8 90 4b 06 fe e8 ab a7 2c fe <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48
RSP: 0018:ffff8881eca7fbf8 EFLAGS: 00010293
RAX: ffffffff8333ffb5 RBX: 0000000000000000 RCX: ffff8881ed16ee40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8333f4b7 R09: 0000000000000001
R10: ffffed103d94ff99 R11: 0000000000000000 R12: ffff8881eca7fe00
R13: dffffc0000000000 R14: 1ffff1103d94ff98 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 00000001ec8a7000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Apr 20, 2023, 8:48:36 PM4/20/23
to syzkaller-a...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages