[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170183462343.27566.10798748391554489332.git-patchwork-notify@kernel.org>
Date: Wed, 06 Dec 2023 03:50:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: michael.chan@...adcom.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, sriharsha.basavapatna@...adcom.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: bnxt: fix a potential use-after-free in bnxt_init_tc
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 4 Dec 2023 10:40:04 +0800 you wrote:
> When flow_indr_dev_register() fails, bnxt_init_tc will free
> bp->tc_info through kfree(). However, the caller function
> bnxt_init_one() will ignore this failure and call
> bnxt_shutdown_tc() on failure of bnxt_dl_register(), where
> a use-after-free happens. Fix this issue by setting
> bp->tc_info to NULL after kfree().
>
> [...]
Here is the summary with links:
- net: bnxt: fix a potential use-after-free in bnxt_init_tc
https://git.kernel.org/netdev/net/c/d007caaaf052
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