Thread (17 messages) read the whole thread 17 messages, 5 authors, 2018-01-28

Re: [RESEND PATCH 1/6] crypto: caam: Fix null dereference at error path

From: Horia Geantă <horia.geanta@nxp.com>
Date: 2018-01-25 17:09:49
Also in: lkml

On 1/24/2018 4:50 PM, Bryan O'Donoghue wrote:
From: Rui Miguel Silva <rui.silva@linaro.org>

caam_remove already removes the debugfs entry, so we need to remove the one
immediately before calling caam_remove.

This fix a NULL dereference at error paths is caam_probe fail.

[bod: changed name prefix to "crypto: caam: Fix .."]
[bod: added Fixes tag]

Fixes: 67c2315def06 ("crypto: caam - add Queue Interface (QI) backend
support")
Cc: <redacted> # 4.12+
Tested-by: Ryan Harkin <redacted>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Cc: "Horia Geantă" <horia.geanta@nxp.com>
Cc: Aymen Sghaier <redacted>
Cc: Fabio Estevam <redacted>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Lukas Auer <redacted>
Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>

Thanks,
Horia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help