summaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-03-11 18:56:47 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-03-22 05:17:59 +0300
commitadb3faf2db1a66d0f015b44ac909a32dfc7f2f9c (patch)
tree06579a2250c2db20f35ad840dcd4378b27c67f02 /include/linux/console_struct.h
parent57a13941c0bb06ae24e3b34672d7b6f2172b253f (diff)
downloadlinux-adb3faf2db1a66d0f015b44ac909a32dfc7f2f9c.tar.xz
crypto: nx - fix bounce buffer leaks in nx842_crypto_{alloc,free}_ctx
The bounce buffers are allocated with __get_free_pages() using BOUNCE_BUFFER_ORDER (order 2 = 4 pages), but both the allocation error path and nx842_crypto_free_ctx() release the buffers with free_page(). Use free_pages() with the matching order instead. Fixes: ed70b479c2c0 ("crypto: nx - add hardware 842 crypto comp alg") 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/console_struct.h')
0 files changed, 0 insertions, 0 deletions