lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 26 Mar 2022 18:50:10 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Zheng Yongjun <zhengyongjun3@...wei.com> Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, lars.povlsen@...rochip.com, Steen.Hegelund@...rochip.com, UNGLinuxDriver@...rochip.com Subject: Re: [PATCH] net: sparx5: switchdev: fix possible NULL pointer dereference Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@...emloft.net>: On Sat, 26 Mar 2022 08:12:39 +0000 you wrote: > As the possible failure of the allocation, devm_kzalloc() may return NULL > pointer. > Therefore, it should be better to check the 'db' in order to prevent > the dereference of NULL pointer. > > Fixes: 10615907e9b51 ("net: sparx5: switchdev: adding frame DMA functionality") > Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com> > > [...] Here is the summary with links: - net: sparx5: switchdev: fix possible NULL pointer dereference https://git.kernel.org/netdev/net/c/0906f3a3df07 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