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: <20141106151308.GA4446@gondor.apana.org.au>
Date:	Thu, 6 Nov 2014 23:13:08 +0800
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Cristian Stoica <cristian.stoica@...escale.com>
Cc:	linux-crypto@...r.kernel.org, davem@...emloft.net,
	linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] crypto: caam: fix missing dma unmap on error path

On Thu, Oct 30, 2014 at 02:40:22PM +0200, Cristian Stoica wrote:
> If dma mapping for dma_addr_out fails, the descriptor memory is freed
> but the previous dma mapping for dma_addr_in remains.
> This patch resolves the missing dma unmap and groups resource
> allocations at function start.
> 
> Cc: <stable@...r.kernel.org> # 3.13+
> Signed-off-by: Cristian Stoica <cristian.stoica@...escale.com>

Patch applied to crypto.

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ