virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Garzarella <sgarzare@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: syzbot <syzbot+24452624fc4c571eedd9@syzkaller.appspotmail.com>,
	kvm@vger.kernel.org, netdev@vger.kernel.org,
	syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org, kuba@kernel.org,
	davem@davemloft.net
Subject: Re: memory leak in virtio_transport_send_pkt_info
Date: Wed, 31 Mar 2021 12:50:31 +0200	[thread overview]
Message-ID: <20210331105031.ewh4cq2xfe3pcn2v@steredhat> (raw)
In-Reply-To: <YGQ7EhQ+hlSUdf1C@stefanha-x1.localdomain>

On Wed, Mar 31, 2021 at 10:04:18AM +0100, Stefan Hajnoczi wrote:
>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@syzkaller.appspotmail.com
>
>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?

I missed this report.
Looking at the reproducer it seems to happen when we send a message to a 
socket not yet accept()ed.

I'll take a closer look over the next few days, thanks for bringing it 
up.

Stefano

>
>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@googlegroups.com.
>>
>> 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
>>



_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization


      reply	other threads:[~2021-03-31 10:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <00000000000069a2e905bad5d02e@google.com>
2021-03-31  9:04 ` memory leak in virtio_transport_send_pkt_info Stefan Hajnoczi
2021-03-31 10:50   ` Stefano Garzarella [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210331105031.ewh4cq2xfe3pcn2v@steredhat \
    --to=sgarzare@redhat.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stefanha@redhat.com \
    --cc=syzbot+24452624fc4c571eedd9@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).