Re: memory leak in virtio_transport_send_pkt_info

From: Stefan Hajnoczi
Date: Wed Mar 31 2021 - 05:05:17 EST


On Mon, Feb 08, 2021 at 08:39:30AM -0800, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 9f29bd8b Merge tag 'fs_for_v5.11-rc5' of git://git.kernel...
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=11e435af500000
> kernel config: https://syzkaller.appspot.com/x/.config?x=162a0109d6ff731f
> dashboard link: https://syzkaller.appspot.com/bug?extid=24452624fc4c571eedd9
> compiler: gcc (GCC) 10.1.0-syz 20200507
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=135dd494d00000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=128787e7500000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+24452624fc4c571eedd9@xxxxxxxxxxxxxxxxxxxxxxxxx

Hi Stefano,
Looks like tx packets are still queued when the syzkaller leak check
runs. I don't see a fix for this in linux.git. Have you already looked
at this?

Stefan

>
> executing program
> BUG: memory leak
> unreferenced object 0xffff88811477d380 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 26.670s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d280 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 26.670s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d200 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 26.670s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d180 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 26.670s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d380 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.040s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d280 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.040s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d200 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.040s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d180 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.040s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d380 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.100s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d280 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.100s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d200 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.100s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d180 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.100s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d380 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.160s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d280 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.160s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d200 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.160s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d180 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.160s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d380 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.230s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d280 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.230s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d200 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.230s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d180 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.230s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d380 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.290s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d280 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.290s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d200 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.290s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> BUG: memory leak
> unreferenced object 0xffff88811477d180 (size 96):
> comm "syz-executor196", pid 8793, jiffies 4294968272 (age 29.290s)
> hex dump (first 32 bytes):
> 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ................
> ba 34 8c fe 00 00 00 00 00 00 01 00 01 00 05 00 .4..............
> backtrace:
> [<0000000051681be3>] kmalloc include/linux/slab.h:552 [inline]
> [<0000000051681be3>] kzalloc include/linux/slab.h:682 [inline]
> [<0000000051681be3>] virtio_transport_alloc_pkt+0x41/0x290 net/vmw_vsock/virtio_transport_common.c:51
> [<0000000036c2d6e6>] virtio_transport_send_pkt_info+0x105/0x1b0 net/vmw_vsock/virtio_transport_common.c:209
> [<00000000dd27435f>] virtio_transport_stream_enqueue+0x58/0x80 net/vmw_vsock/virtio_transport_common.c:674
> [<00000000d7e8274a>] vsock_stream_sendmsg+0x4f7/0x590 net/vmw_vsock/af_vsock.c:1800
> [<00000000d2b531e6>] sock_sendmsg_nosec net/socket.c:652 [inline]
> [<00000000d2b531e6>] sock_sendmsg+0x56/0x80 net/socket.c:672
> [<00000000803a63df>] ____sys_sendmsg+0x17a/0x390 net/socket.c:2345
> [<000000009d42f642>] ___sys_sendmsg+0x8b/0xd0 net/socket.c:2399
> [<000000000a37ed0e>] __sys_sendmmsg+0xed/0x290 net/socket.c:2489
> [<00000000324c1c73>] __do_sys_sendmmsg net/socket.c:2518 [inline]
> [<00000000324c1c73>] __se_sys_sendmmsg net/socket.c:2515 [inline]
> [<00000000324c1c73>] __x64_sys_sendmmsg+0x24/0x30 net/socket.c:2515
> [<000000004e7b2960>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
> [<000000002615f594>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
> executing program
> executing program
>
>
> ---
> This report is generated by a bot. It may contain errors.
> See https://goo.gl/tpsmEJ for more information about syzbot.
> syzbot engineers can be reached at syzkaller@xxxxxxxxxxxxxxxx.
>
> syzbot will keep track of this issue. See:
> https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
> syzbot can test patches for this issue, for details see:
> https://goo.gl/tpsmEJ#testing-patches
>

Attachment: signature.asc
Description: PGP signature