diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-01-06 21:20:23 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-01-08 11:14:59 -0800 |
| commit | 74d74bb78aeccc9edc10db216d6be121cf7ec176 (patch) | |
| tree | bd7e5fea28ac6c0b710af29946f08845e9c43eb2 /ipc | |
| parent | 2eb57ca7cc373404aa1399a9d926dea8479eb728 (diff) | |
lib/crypto: aes: Fix missing MMU protection for AES S-box
__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: b5e0b032b6c3 ("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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
