Re: How does swsusp work with randomization features? (was: mm/slab: Initialise random_kmalloc_seed after initcalls)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 26, 2025 at 4:41 AM Kees Cook <kees@xxxxxxxxxx> 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@xxxxxxxxxxx/T/#u
>
> 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=WJmdFCCtY5DgE2eN657ddJwJwHGK1jgLKRte+VnEg@xxxxxxxxxxxxxx/T/#m6ca3bd9fd3fe519161f28715279d0dc371027506


Huacai

>
> --
> Kees Cook





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux