[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166478101471.21968.3096623187565669750.git-patchwork-notify@kernel.org>
Date: Mon, 03 Oct 2022 07:10:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, rao.shoaib@...cle.com, kuni1840@...il.com,
netdev@...r.kernel.org, syzkaller@...glegroups.com
Subject: Re: [PATCH v1 net] af_unix: Fix memory leaks of the whole sk due to OOB
skb.
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 29 Sep 2022 08:52:04 -0700 you wrote:
> syzbot reported a sequence of memory leaks, and one of them indicated we
> failed to free a whole sk:
>
> unreferenced object 0xffff8880126e0000 (size 1088):
> comm "syz-executor419", pid 326, jiffies 4294773607 (age 12.609s)
> hex dump (first 32 bytes):
> 00 00 00 00 00 00 00 00 7d 00 00 00 00 00 00 00 ........}.......
> 01 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............
> backtrace:
> [<000000006fefe750>] sk_prot_alloc+0x64/0x2a0 net/core/sock.c:1970
> [<0000000074006db5>] sk_alloc+0x3b/0x800 net/core/sock.c:2029
> [<00000000728cd434>] unix_create1+0xaf/0x920 net/unix/af_unix.c:928
> [<00000000a279a139>] unix_create+0x113/0x1d0 net/unix/af_unix.c:997
> [<0000000068259812>] __sock_create+0x2ab/0x550 net/socket.c:1516
> [<00000000da1521e1>] sock_create net/socket.c:1566 [inline]
> [<00000000da1521e1>] __sys_socketpair+0x1a8/0x550 net/socket.c:1698
> [<000000007ab259e1>] __do_sys_socketpair net/socket.c:1751 [inline]
> [<000000007ab259e1>] __se_sys_socketpair net/socket.c:1748 [inline]
> [<000000007ab259e1>] __x64_sys_socketpair+0x97/0x100 net/socket.c:1748
> [<000000007dedddc1>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
> [<000000007dedddc1>] do_syscall_64+0x38/0x90 arch/x86/entry/common.c:80
> [<000000009456679f>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
>
> [...]
Here is the summary with links:
- [v1,net] af_unix: Fix memory leaks of the whole sk due to OOB skb.
https://git.kernel.org/netdev/net/c/7a62ed61367b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists