On Wed, Feb 26, 2025 at 4:41 AM Kees Cook kees@kernel.org wrote:
On Tue, Feb 25, 2025 at 07:35:13PM +0800, Huacai Chen wrote:
I have investigated deeper, and then found it is an arch-specific problem (at least for LoongArch), and the correct solution is here: https://lore.kernel.org/loongarch/20250225111812.3065545-1-chenhuacai@loongs...
Ah-ha, so it seems like some system start was being incorrectly shared between restoration image and hibernated image? Yeah, that's important to fix.
But I don't know how to fix arm64.
Is arm64 broken in this same way?
ARM64 is broken but I don't know whether it is in the same way, I just know this patch can solve ARM64's problem: https://lore.kernel.org/linux-mm/CAAhV-H7i=WJmdFCCtY5DgE2eN657ddJwJwHGK1jgLK...
Huacai
-- Kees Cook