syzbot


invalid opcode in __traceiter_virtio_transport_alloc_pkt

Status: upstream: reported C repro on 2025/08/11 06:32
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f3571f14e162ce11eaa2@syzkaller.appspotmail.com
First crash: 14d, last: 14d
Bug presence (2)
Date Name Commit Repro Result
2025/08/13 lts (merge base) f2198ea7eb3e C Didn't crash
2025/08/13 upstream (ToT) 8742b2d8935f C [report] invalid opcode in __traceiter_virtio_transport_alloc_pkt

Sample crash report:
CFI failure at __traceiter_virtio_transport_alloc_pkt+0xac/0x110 include/trace/events/vsock_virtio_transport_common.h:39 (target: 0xffffc90000eb77a8; expected type: 0x7d8401ab)
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 296 Comm: syz-executor280 Not tainted 6.1.145-syzkaller-00002-gc750dc582629 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__traceiter_virtio_transport_alloc_pkt+0xac/0x110 include/trace/events/vsock_virtio_transport_common.h:39
Code: 8b 7e 08 8b 75 d4 8b 55 d0 8b 4d cc 44 8b 45 c8 44 8b 4d c4 8b 45 20 50 ff 75 b8 41 55 41 ba 55 fe 7b 82 45 03 54 24 fc 74 02 <0f> 0b 41 ff d4 48 83 c4 18 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80
RSP: 0018:ffffc90000eb77a8 EFLAGS: 00010a13

RAX: 0000000000000000 RBX: ffff88810f51ef10 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffc9000011b000
RBP: ffffc90000eb7808 R08: 00000000374f51a5 R09: 0000000000000000
R10: 0000000027bc6561 R11: 1ffffffff0ee4a7d R12: ffffffff81711ed0
R13: 0000000000000001 R14: ffff88810f51ef10 R15: dffffc0000000000
FS:  000055556a57d380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000ffff CR3: 000000010754f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 trace_virtio_transport_alloc_pkt include/trace/events/vsock_virtio_transport_common.h:39 [inline]
 virtio_transport_alloc_pkt+0x9ad/0xa00 net/vmw_vsock/virtio_transport_common.c:94
 virtio_transport_send_pkt_info+0x2d5/0x650 net/vmw_vsock/virtio_transport_common.c:234
 virtio_transport_reset net/vmw_vsock/virtio_transport_common.c:838 [inline]
 virtio_transport_close net/vmw_vsock/virtio_transport_common.c:970 [inline]
 virtio_transport_release+0x1de/0xb40 net/vmw_vsock/virtio_transport_common.c:998
 __vsock_release+0xad/0x510 net/vmw_vsock/af_vsock.c:834
 __vsock_release+0x384/0x510 net/vmw_vsock/af_vsock.c:845
 vsock_release+0xb5/0x120 net/vmw_vsock/af_vsock.c:942
 __sock_release net/socket.c:652 [inline]
 sock_close+0xf1/0x290 net/socket.c:1390
 __fput+0x1fc/0x8f0 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x1db/0x240 kernel/task_work.c:203
 ptrace_notify+0x221/0x250 kernel/signal.c:2377
 ptrace_report_syscall include/linux/ptrace.h:424 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:486 [inline]
 syscall_exit_work+0x84/0x140 kernel/entry/common.c:258
 syscall_exit_to_user_mode_prepare+0x1c/0x20 kernel/entry/common.c:285
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0xd/0x30 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3d257d0a19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcfa949dc8 EFLAGS: 00000246
 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffcfa949de0 RCX: 00007f3d257d0a19
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000000
RBP: 0000000000000001 R08: 00007ffcfa949b67 R09: 0000000000000140
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__traceiter_virtio_transport_alloc_pkt+0xac/0x110 include/trace/events/vsock_virtio_transport_common.h:39
Code: 8b 7e 08 8b 75 d4 8b 55 d0 8b 4d cc 44 8b 45 c8 44 8b 4d c4 8b 45 20 50 ff 75 b8 41 55 41 ba 55 fe 7b 82 45 03 54 24 fc 74 02 <0f> 0b 41 ff d4 48 83 c4 18 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80
RSP: 0018:ffffc90000eb77a8 EFLAGS: 00010a13

RAX: 0000000000000000 RBX: ffff88810f51ef10 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffc9000011b000
RBP: ffffc90000eb7808 R08: 00000000374f51a5 R09: 0000000000000000
R10: 0000000027bc6561 R11: 1ffffffff0ee4a7d R12: ffffffff81711ed0
R13: 0000000000000001 R14: ffff88810f51ef10 R15: dffffc0000000000
FS:  000055556a57d380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000ffff CR3: 000000010754f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/11 06:55 android14-6.1 c750dc582629 32a0e5ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_virtio_transport_alloc_pkt
2025/08/11 06:23 android14-6.1 c750dc582629 32a0e5ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_virtio_transport_alloc_pkt
2025/08/11 05:51 android14-6.1 c750dc582629 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_virtio_transport_alloc_pkt
* Struck through repros no longer work on HEAD.