4.13-stable review patch. If anyone has any objections, please let me know.
------------------ From: Jeffy Chen <[email protected]> commit bd86e32059526e2d0d13ca1e4447dfbbddb6e5cc upstream. Fix memory leak of cipher_api. Fixes: 33d2f09fcb35 (dm crypt: introduce new format of cipher with "capi:" prefix) Signed-off-by: Jeffy Chen <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> --- drivers/md/dm-crypt.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -2470,6 +2470,7 @@ static int crypt_ctr_cipher_old(struct d kfree(cipher_api); return ret; } + kfree(cipher_api); return 0; bad_mem:

