mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
__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: [email protected]
Reported-by: Qingfang Deng <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Acked-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>