------------[ cut here ]------------ 'send_pkt()' returns 0, but 65536 expected WARNING: CPU: 1 PID: 10765 at net/vmw_vsock/virtio_transport_common.c:426 virtio_transport_send_pkt_info+0x730/0xc04 net/vmw_vsock/virtio_transport_common.c:426 Modules linked in: CPU: 1 UID: 0 PID: 10765 Comm: syz.1.2430 Not tainted syzkaller #0 PREEMPT Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : virtio_transport_send_pkt_info+0x730/0xc04 net/vmw_vsock/virtio_transport_common.c:426 lr : virtio_transport_send_pkt_info+0x730/0xc04 net/vmw_vsock/virtio_transport_common.c:426 sp : ffff80008f5e74b0 x29: ffff80008f5e74b0 x28: ffff00003cf34400 x27: dfff800000000000 x26: ffff00003863c900 x25: ffff00003cf34448 x24: ffff00001c102640 x23: ffff000013cbbd40 x22: 0000000000010000 x21: ffff800088b3d6e0 x20: ffff80008f5e75d0 x19: 0000000000010000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff00006a0ad4c4 x15: 0000fffff68d8fe8 x14: 0000000000000000 x13: 0000000000000001 x12: ffff700011ebcdff x11: 1ffff00011ebcdfe x10: ffff700011ebcdfe x9 : dfff800000000000 x8 : ffff80008f5e6ff8 x7 : ffff80008f5e7120 x6 : ffff80008f5e7070 x5 : ffff80008f5e7058 x4 : 1ffff00011ebce14 x3 : 1fffe0000d41773e x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00001304dac0 Call trace: virtio_transport_send_pkt_info+0x730/0xc04 net/vmw_vsock/virtio_transport_common.c:426 (P) virtio_transport_stream_enqueue net/vmw_vsock/virtio_transport_common.c:1111 [inline] virtio_transport_seqpacket_enqueue+0x104/0x164 net/vmw_vsock/virtio_transport_common.c:839 vsock_connectible_sendmsg+0x960/0xcf4 net/vmw_vsock/af_vsock.c:2141 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0xc8/0x168 net/socket.c:729 ____sys_sendmsg+0x3ac/0x764 net/socket.c:2614 ___sys_sendmsg+0x11c/0x19c net/socket.c:2668 __sys_sendmmsg+0x1b0/0x424 net/socket.c:2757 __do_sys_sendmmsg net/socket.c:2784 [inline] __se_sys_sendmmsg net/socket.c:2781 [inline] __arm64_sys_sendmmsg+0x8c/0xd0 net/socket.c:2781 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x50/0x1a0 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] copy_process+0x1394/0x53f4 kernel/fork.c:2115 softirqs last enabled at (0): [] copy_process+0x13cc/0x53f4 kernel/fork.c:2119 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---