[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163841520925.978.14308206257765575112.git-patchwork-notify@kernel.org>
Date: Thu, 02 Dec 2021 03:20:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Zhou Qingyang <zhou1615@....edu>
Cc: kjlu@....edu, sgoutham@...vell.com, lcherian@...vell.com,
gakula@...vell.com, jerinj@...vell.com, hkelam@...vell.com,
sbhatta@...vell.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] octeontx2-af: Fix a memleak bug in rvu_mbox_init()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 1 Dec 2021 00:50:39 +0800 you wrote:
> In rvu_mbox_init(), mbox_regions is not freed or passed out
> under the switch-default region, which could lead to a memory leak.
>
> Fix this bug by changing 'return err' to 'goto free_regions'.
>
> This bug was found by a static analyzer. The analysis employs
> differential checking to identify inconsistent security operations
> (e.g., checks or kfrees) between two code paths and confirms that the
> inconsistent operations are not recovered in the current function or
> the callers, so they constitute bugs.
>
> [...]
Here is the summary with links:
- octeontx2-af: Fix a memleak bug in rvu_mbox_init()
https://git.kernel.org/netdev/net/c/e07a097b4986
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