------------[ cut here ]------------ 'send_pkt()' returns 0, but 65536 expected WARNING: CPU: 1 PID: 4782 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: 4782 Comm: syz.1.548 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 : ffff80008ffa74b0 x29: ffff80008ffa74b0 x28: ffff000021232000 x27: dfff800000000000 x26: ffff00001a3c9200 x25: ffff000021232048 x24: ffff000010344dc0 x23: ffff00001f2e2300 x22: 0000000000010000 x21: ffff800088b3d6e0 x20: ffff80008ffa75d0 x19: 0000000000010000 x18: ffff8000a1b0727c x17: ffff8000870bef80 x16: ffff00006a0ad4c4 x15: ffff00000e3a6880 x14: 1ffff00014360eca x13: 0000000000000001 x12: ffff600003730129 x11: 1fffe00003730128 x10: ffff600003730128 x9 : dfff800000000000 x8 : ffff00001b980943 x7 : 0000000000000001 x6 : ffff600003730128 x5 : ffff00001b980940 x4 : ffff600003730129 x3 : 1fffe0000d41773e x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000178dbc80 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 ]---