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]
Message-ID: <20241105154409.62e5afd2@kernel.org>
Date: Tue, 5 Nov 2024 15:44:09 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Wentao Liang <Wentao_liang_g@....com>
Cc: shannon.nelson@....com, brett.creeley@....com, davem@...emloft.net,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ionic: fix memory leak in ionic_probe

On Tue,  5 Nov 2024 13:34:33 +0800 Wentao Liang wrote:
> In line 334, the ionic_setup_one() creates a debugfs entry for
> ionic upon successful execution. However, the ionic_probe() does
> not release the dentry before returning, resulting in a memory
> leak. To fix this bug, we add the ionic_debugfs_del_dev() before
> line 397 to release the resources before the function returns.

If you haven't reposed yet please make sure you CC netdev@ on v2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ