Files
Eric Biggers 5522e64e4f lib/crypto: aes: Fix missing MMU protection for AES S-box
commit 74d74bb78a upstream.

__cacheline_aligned puts the data in the ".data..cacheline_aligned"
section, which isn't marked read-only i.e. it doesn't receive MMU
protection.  Replace it with ____cacheline_aligned which does the right
thing and just aligns the data while keeping it in ".rodata".

Fixes: b5e0b032b6 ("crypto: aes - add generic time invariant AES cipher")
Cc: stable@vger.kernel.org
Reported-by: Qingfang Deng <dqfext@gmail.com>
Closes: https://lore.kernel.org/r/20260105074712.498-1-dqfext@gmail.com/
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260107052023.174620-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-19 13:12:08 +01:00
..
2024-07-18 13:05:40 +02:00
2024-10-17 15:07:50 +02:00
2020-05-24 20:48:11 +02:00
2020-10-13 18:38:32 -07:00
2025-10-29 14:01:15 +01:00
2022-06-22 14:13:18 +02:00
2022-06-22 14:13:18 +02:00
2020-09-26 10:33:57 -07:00
2020-06-29 10:02:23 +02:00
2023-06-21 15:45:35 +02:00