Re: [BUG] Kernel panic when using Hibernation on kernel 6.1.25

From: Pavel Machek
Date: Wed Jul 10 2024 - 07:54:05 EST


Hi!

>
> We have CONFIG_KFENCE enabled, and KFENCE detects use-after-free, invalid reads, and out-of-bounds reads in safe_copy_page(kernel/power/snapshot.c).
>
> Do you know why hibernation encounters these problems when entering
> suspend?

Hibernation will be hard to make cooperating with KFENCE. Just disable
one of them :-).

Alternatively, go to latest mainline and start fixing stuff.

Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

Attachment: signature.asc
Description: PGP signature