[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173261223051.316212.8347433268494188785.git-patchwork-notify@kernel.org>
Date: Tue, 26 Nov 2024 09:10:30 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alexandra Winter <wintera@...ux.ibm.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, netdev@...r.kernel.org, linux-s390@...r.kernel.org,
hca@...ux.ibm.com, gor@...ux.ibm.com, agordeev@...ux.ibm.com,
borntraeger@...ux.ibm.com, svens@...ux.ibm.com, twinkler@...ux.ibm.com,
horms@...nel.org, sidraya@...ux.ibm.com
Subject: Re: [PATCH net] s390/iucv: MSG_PEEK causes memory leak in
iucv_sock_destruct()
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Tue, 19 Nov 2024 16:22:19 +0100 you wrote:
> From: Sidraya Jayagond <sidraya@...ux.ibm.com>
>
> Passing MSG_PEEK flag to skb_recv_datagram() increments skb refcount
> (skb->users) and iucv_sock_recvmsg() does not decrement skb refcount
> at exit.
> This results in skb memory leak in skb_queue_purge() and WARN_ON in
> iucv_sock_destruct() during socket close. To fix this decrease
> skb refcount by one if MSG_PEEK is set in order to prevent memory
> leak and WARN_ON.
>
> [...]
Here is the summary with links:
- [net] s390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()
https://git.kernel.org/netdev/net/c/ebaf81317e42
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