mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Jia-hao Bai (白家豪)" <Jia-hao.Bai@mediatek.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"rafael@kernel.org" <rafael@kernel.org>,
	"Iverlin Wang (王苳霖)" <Iverlin.Wang@mediatek.com>,
	"Boy Wu (吳勃誼)" <Boy.Wu@mediatek.com>,
	"Seiya Wang (王迺君)" <seiya.wang@mediatek.com>,
	"Dengjun Su (苏邓军)" <Dengjun.Su@mediatek.com>,
	"Win Yeh (葉昌倫)" <Win.Yeh@mediatek.com>,
	"Sowell Peng (彭首偉)" <Sowell.Peng@mediatek.com>,
	"Richard-CC Yang (楊職銓)" <Richard-CC.Yang@mediatek.com>
Subject: Re: [BUG] Kernel panic when using Hibernation on kernel 6.1.25
Date: Wed, 10 Jul 2024 13:53:53 +0200	[thread overview]
Message-ID: <Zo52UVec5YeVkoHb@duo.ucw.cz> (raw)
In-Reply-To: <KL1PR03MB7037F446BB2E9EB2FF1B2EE4C6A42@KL1PR03MB7037.apcprd03.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      reply	other threads:[~2024-07-10 11:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28  8:00 Jia-hao Bai (白家豪)
2024-06-13 10:52 ` Pavel Machek
2024-06-14  2:32   ` Jia-hao Bai (白家豪)
2024-07-10  5:32     ` Jia-hao Bai (白家豪)
2024-07-10 11:53       ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zo52UVec5YeVkoHb@duo.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=Boy.Wu@mediatek.com \
    --cc=Dengjun.Su@mediatek.com \
    --cc=Iverlin.Wang@mediatek.com \
    --cc=Jia-hao.Bai@mediatek.com \
    --cc=Richard-CC.Yang@mediatek.com \
    --cc=Sowell.Peng@mediatek.com \
    --cc=Win.Yeh@mediatek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=seiya.wang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®