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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 12 May 2022 18:40:13 +0000
To:     Taehee Yoo <>
Subject: Re: [PATCH net v2] net: sfc: ef10: fix memory leak in


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

On Thu, 12 May 2022 05:47:09 +0000 you wrote:
> In the NIC ->probe() callback, ->mtd_probe() callback is called.
> If NIC has 2 ports, ->probe() is called twice and ->mtd_probe() too.
> In the ->mtd_probe(), which is efx_ef10_mtd_probe() it allocates and
> initializes mtd partiion.
> But mtd partition for sfc is shared data.
> So that allocated mtd partition data from last called
> efx_ef10_mtd_probe() will not be used.
> Therefore it must be freed.
> But it doesn't free a not used mtd partition data in efx_ef10_mtd_probe().
> [...]

Here is the summary with links:
  - [net,v2] net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists