[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166134301643.8334.12701828590513575555.git-patchwork-notify@kernel.org>
Date: Wed, 24 Aug 2022 12:10:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Steffen Klassert <steffen.klassert@...unet.com>
Cc: davem@...emloft.net, kuba@...nel.org, herbert@...dor.apana.org.au,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/6] xfrm: fix refcount leak in __xfrm_policy_check()
Hello:
This series was applied to netdev/net.git (master)
by Steffen Klassert <steffen.klassert@...unet.com>:
On Wed, 24 Aug 2022 07:02:08 +0200 you wrote:
> From: Xin Xiong <xiongx18@...an.edu.cn>
>
> The issue happens on an error path in __xfrm_policy_check(). When the
> fetching process of the object `pols[1]` fails, the function simply
> returns 0, forgetting to decrement the reference count of `pols[0]`,
> which is incremented earlier by either xfrm_sk_policy_lookup() or
> xfrm_policy_lookup(). This may result in memory leaks.
>
> [...]
Here is the summary with links:
- [1/6] xfrm: fix refcount leak in __xfrm_policy_check()
https://git.kernel.org/netdev/net/c/9c9cb23e00dd
- [2/6] Revert "xfrm: update SA curlft.use_time"
https://git.kernel.org/netdev/net/c/717ada9f10f2
- [3/6] xfrm: fix XFRMA_LASTUSED comment
https://git.kernel.org/netdev/net/c/36d763509be3
- [4/6] xfrm: clone missing x->lastused in xfrm_do_migrate
https://git.kernel.org/netdev/net/c/6aa811acdb76
- [5/6] af_key: Do not call xfrm_probe_algs in parallel
https://git.kernel.org/netdev/net/c/ba953a9d89a0
- [6/6] xfrm: policy: fix metadata dst->dev xmit null pointer dereference
https://git.kernel.org/netdev/net/c/17ecd4a4db47
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