[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166363681486.30260.392346429230209627.git-patchwork-notify@kernel.org>
Date: Tue, 20 Sep 2022 01:20:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Íñigo Huguet <ihuguet@...hat.com>@ci.codeaurora.org
Cc: ecree.xilinx@...il.com, habetsm.xilinx@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, tizhao@...hat.com
Subject: Re: [PATCH net] sfc: fix null pointer dereference in efx_hard_start_xmit
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 14 Sep 2022 13:11:35 +0200 you wrote:
> Trying to get the channel from the tx_queue variable here is wrong
> because we can only be here if tx_queue is NULL, so we shouldn't
> dereference it. As the above comment in the code says, this is very
> unlikely to happen, but it's wrong anyway so let's fix it.
>
> I hit this issue because of a different bug that caused tx_queue to be
> NULL. If that happens, this is the error message that we get here:
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
> [...]
> RIP: 0010:efx_hard_start_xmit+0x153/0x170 [sfc]
>
> [...]
Here is the summary with links:
- [net] sfc: fix null pointer dereference in efx_hard_start_xmit
https://git.kernel.org/netdev/net/c/0a242eb2913a
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