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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sat, 12 Nov 2022 05:10:17 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Wei Yongjun <weiyongjun@...weicloud.com>
Cc:     rafal@...ecki.pl, bcm-kernel-feedback-list@...adcom.com,
        davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com, f.fainelli@...il.com, weiyongjun1@...wei.com,
        netdev@...r.kernel.org
Subject: Re: [PATCH net] net: bgmac: Drop free_netdev() from bgmac_enet_remove()

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:

On Wed,  9 Nov 2022 15:01:36 +0000 you wrote:
> From: Wei Yongjun <weiyongjun1@...wei.com>
> 
> netdev is allocated in bgmac_alloc() with devm_alloc_etherdev() and will
> be auto released in ->remove and ->probe failure path. Using free_netdev()
> in bgmac_enet_remove() leads to double free.
> 
> Fixes: 34a5102c3235 ("net: bgmac: allocate struct bgmac just once & don't copy it")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>

Here is the summary with links:
  - [net] net: bgmac: Drop free_netdev() from bgmac_enet_remove()
    https://git.kernel.org/netdev/net/c/6f928ab8ee9b

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ