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: <Y1KDP6HuPrckDWFg@gondor.apana.org.au>
Date:   Fri, 21 Oct 2022 19:32:15 +0800
From:   Herbert Xu <herbert@...dor.apana.org.au>
To:     Zhiqi Song <songzhiqi1@...wei.com>
Cc:     davem@...emloft.net, linux-crypto@...r.kernel.org,
        linux-kernel@...r.kernel.org, wangzhou1@...ilicon.com,
        fanghao11@...wei.com, liulongfang@...wei.com
Subject: Re: [PATCH] crypto: hisilicon/hpre - fix resource leak in remove
 process

On Sat, Sep 24, 2022 at 03:38:31PM +0800, Zhiqi Song wrote:
> In hpre_remove(), when the disable operation of qm sriov failed,
> the following logic should continue to be executed to release the
> remaining resources that have been allocated, instead of returning
> directly, otherwise there will be resource leakage.
> 
> Signed-off-by: Zhiqi Song <songzhiqi1@...wei.com>
> ---
>  drivers/crypto/hisilicon/hpre/hpre_main.c | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ