------------[ cut here ]------------ 'send_pkt()' returns 0, but 65536 expected WARNING: CPU: 0 PID: 4010 at net/vmw_vsock/virtio_transport_common.c:426 virtio_transport_send_pkt_info+0x260/0x3f8 net/vmw_vsock/virtio_transport_common.c:426 Modules linked in: CPU: 0 UID: 0 PID: 4010 Comm: syz.1.173 Not tainted syzkaller #0 PREEMPT Hardware name: linux,dummy-virt (DT) pstate: 61402009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : virtio_transport_send_pkt_info+0x260/0x3f8 net/vmw_vsock/virtio_transport_common.c:426 lr : virtio_transport_send_pkt_info+0x260/0x3f8 net/vmw_vsock/virtio_transport_common.c:426 sp : ffff80008b7cb8f0 x29: ffff80008b7cb8f0 x28: faf0000004426280 x27: 0000000000000001 x26: fdf000000acf5e40 x25: 00000000ffffffff x24: faf00000079adf00 x23: 0000000000010000 x22: ffff800082b8a880 x21: fdf000000acf5e4c x20: 0000000000010000 x19: ffff80008b7cb9b0 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000173 x13: 0000000000000000 x12: ffff800082911258 x11: 00000000000000c0 x10: 202b501359380db4 x9 : 67eb680ae18b4e3c x8 : f7f000000abcee78 x7 : 0000000000000004 x6 : 00000039bc6c0455 x5 : 0000000000000002 x4 : fbffff3fffffffff x3 : 000000000000ffff x2 : 0000000000000000 x1 : 0000000000000000 x0 : f7f000000abcdc80 Call trace: virtio_transport_send_pkt_info+0x260/0x3f8 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+0x80/0xc0 net/vmw_vsock/virtio_transport_common.c:839 vsock_connectible_sendmsg+0x35c/0x3a4 net/vmw_vsock/af_vsock.c:2141 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x54/0x60 net/socket.c:729 ____sys_sendmsg+0x190/0x29c net/socket.c:2614 ___sys_sendmsg+0xac/0x100 net/socket.c:2668 __sys_sendmmsg+0x104/0x258 net/socket.c:2757 __do_sys_sendmmsg net/socket.c:2784 [inline] __se_sys_sendmmsg net/socket.c:2781 [inline] __arm64_sys_sendmmsg+0x28/0x38 net/socket.c:2781 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x48/0x110 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:151 el0_svc+0x34/0x10c arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x1a4/0x1a8 arch/arm64/kernel/entry.S:596 ---[ end trace 0000000000000000 ]---