syzbot


kernel BUG in vhost_vsock_handle_tx_kick

Status: auto-obsoleted due to no activity on 2023/04/22 12:22
Subsystems: kvm net virt
[Documentation on labels]
Reported-by: syzbot+30b72abaa17c07fe39dd@syzkaller.appspotmail.com
First crash: 703d, last: 690d
Cause bisection: introduced by (bisect log) :
commit b68396fad17ff7fae3bb5b594d703f7195caebb9
Author: Bobby Eshleman <bobby.eshleman@bytedance.com>
Date: Thu Dec 15 04:36:44 2022 +0000

  virtio/vsock: replace virtio_vsock_pkt with sk_buff

Crash: kernel BUG in vhost_vsock_handle_tx_kick (log)
Repro: C syz .config
  
Discussions (4)
Title Replies (including bot) Last reply
[PATCH net-next v10] virtio/vsock: replace virtio_vsock_pkt with sk_buff 5 (5) 2023/01/18 06:20
[PATCH net-next v9] virtio/vsock: replace virtio_vsock_pkt with sk_buff 6 (6) 2023/01/10 16:04
[syzbot] kernel BUG in vhost_vsock_handle_tx_kick 3 (5) 2023/01/05 04:51
[PATCH] vhost/vsock: check length in rx header 1 (1) 2023/01/04 20:06
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/04/22 12:01 19m retest repro linux-next OK log

Sample crash report:
skbuff: skb_over_panic: text:ffffffff8768d6f1 len:25109 put:25109 head:ffff88802b5ac000 data:ffff88802b5ac02c tail:0x6241 end:0xc0 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:121!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5072 Comm: vhost-5071 Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:skb_panic+0x16c/0x16e net/core/skbuff.c:121
Code: f7 4c 8b 4c 24 10 8b 4b 70 41 56 45 89 e8 4c 89 e2 41 57 48 89 ee 48 c7 c7 40 04 5b 8b ff 74 24 10 ff 74 24 20 e8 09 8e bf ff <0f> 0b e8 1a 67 82 f7 4c 8b 64 24 18 e8 80 3d d0 f7 48 c7 c1 40 12
RSP: 0018:ffffc90003cefca0 EFLAGS: 00010282
RAX: 000000000000008d RBX: ffff88802b674500 RCX: 0000000000000000
RDX: ffff8880236bba80 RSI: ffffffff81663b9c RDI: fffff5200079df86
RBP: ffffffff8b5b1280 R08: 000000000000008d R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8768d6f1
R13: 0000000000006215 R14: ffffffff8b5b0400 R15: 00000000000000c0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000380 CR3: 000000002985f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 skb_over_panic net/core/skbuff.c:126 [inline]
 skb_put.cold+0x24/0x24 net/core/skbuff.c:2218
 virtio_vsock_skb_rx_put include/linux/virtio_vsock.h:56 [inline]
 vhost_vsock_alloc_skb drivers/vhost/vsock.c:374 [inline]
 vhost_vsock_handle_tx_kick+0xad1/0xd00 drivers/vhost/vsock.c:509
 vhost_worker+0x241/0x3e0 drivers/vhost/vhost.c:364
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:skb_panic+0x16c/0x16e net/core/skbuff.c:121
Code: f7 4c 8b 4c 24 10 8b 4b 70 41 56 45 89 e8 4c 89 e2 41 57 48 89 ee 48 c7 c7 40 04 5b 8b ff 74 24 10 ff 74 24 20 e8 09 8e bf ff <0f> 0b e8 1a 67 82 f7 4c 8b 64 24 18 e8 80 3d d0 f7 48 c7 c1 40 12
RSP: 0018:ffffc90003cefca0 EFLAGS: 00010282
RAX: 000000000000008d RBX: ffff88802b674500 RCX: 0000000000000000
RDX: ffff8880236bba80 RSI: ffffffff81663b9c RDI: fffff5200079df86
RBP: ffffffff8b5b1280 R08: 000000000000008d R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8768d6f1
R13: 0000000000006215 R14: ffffffff8b5b0400 R15: 00000000000000c0
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc6f4a4298 CR3: 000000002985f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/02 04:55 linux-next c76083fac3ba ab32d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in vhost_vsock_handle_tx_kick
2023/01/02 04:28 linux-next c76083fac3ba ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in vhost_vsock_handle_tx_kick
2022/12/20 05:30 linux-next e45fb347b630 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in vhost_vsock_handle_tx_kick
2022/12/20 04:07 linux-next e45fb347b630 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in vhost_vsock_handle_tx_kick
2022/12/20 03:17 linux-next e45fb347b630 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in vhost_vsock_handle_tx_kick
* Struck through repros no longer work on HEAD.