[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164493721105.12867.12615995983107309370.git-patchwork-notify@kernel.org>
Date: Tue, 15 Feb 2022 15:00:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tom Rix <trix@...hat.com>
Cc: jk@...econstruct.com.au, matt@...econstruct.com.au,
davem@...emloft.net, kuba@...nel.org, nathan@...nel.org,
ndesaulniers@...gle.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH v2] mctp: fix use after free
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Mon, 14 Feb 2022 18:05:41 -0800 you wrote:
> From: Tom Rix <trix@...hat.com>
>
> Clang static analysis reports this problem
> route.c:425:4: warning: Use of memory after it is freed
> trace_mctp_key_acquire(key);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> When mctp_key_add() fails, key is freed but then is later
> used in trace_mctp_key_acquire(). Add an else statement
> to use the key only when mctp_key_add() is successful.
>
> [...]
Here is the summary with links:
- [v2] mctp: fix use after free
https://git.kernel.org/netdev/net/c/7e5b6a5c8c44
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