summaryrefslogtreecommitdiff
path: root/include/linux/execmem.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-03-11 05:07:35 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-03-22 05:17:58 +0300
commit3fcfff4ed35f963380a68741bcd52742baff7f76 (patch)
tree722b9171f4828af9b11462ef72dd7a190387c00f /include/linux/execmem.h
parent2aeec9af775fb53aa086419b953302c6f4ad4984 (diff)
downloadlinux-3fcfff4ed35f963380a68741bcd52742baff7f76.tar.xz
crypto: atmel-aes - Fix 3-page memory leak in atmel_aes_buff_cleanup
atmel_aes_buff_init() allocates 4 pages using __get_free_pages() with ATMEL_AES_BUFFER_ORDER, but atmel_aes_buff_cleanup() frees only the first page using free_page(), leaking the remaining 3 pages. Use free_pages() with ATMEL_AES_BUFFER_ORDER to fix the memory leak. Fixes: bbe628ed897d ("crypto: atmel-aes - improve performances of data transfer") Cc: stable@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/execmem.h')
0 files changed, 0 insertions, 0 deletions