milos-linux/drivers/crypto/ccree
Haoxiang Li 02c64052fa crypto: ccree - fix a memory leak in cc_mac_digest()
Add cc_unmap_result() if cc_map_hash_request_final()
fails to prevent potential memory leak.

Fixes: 63893811b0 ("crypto: ccree - add ahash support")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2026-04-12 16:46:28 +08:00
..
cc_aead.c
cc_aead.h
cc_buffer_mgr.c crypto: ccree - Correctly handle return of sg_nents_for_len 2025-11-22 10:04:50 +08:00
cc_buffer_mgr.h
cc_cipher.c crypto: ccree - Don't use %pK through printk 2025-06-23 17:00:27 +08:00
cc_cipher.h
cc_crypto_ctx.h
cc_debugfs.c
cc_debugfs.h
cc_driver.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
cc_driver.h
cc_fips.c
cc_fips.h
cc_hash.c crypto: ccree - fix a memory leak in cc_mac_digest() 2026-04-12 16:46:28 +08:00
cc_hash.h
cc_host_regs.h
cc_hw_queue_defs.h
cc_kernel_regs.h
cc_lli_defs.h
cc_pm.c crypto: drivers - Remove redundant pm_runtime_mark_last_busy() calls 2025-07-18 20:51:59 +10:00
cc_pm.h
cc_request_mgr.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cc_request_mgr.h
cc_sram_mgr.c
cc_sram_mgr.h
Makefile