lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 5 Jun 2023 11:58:57 +0100
From:   Conor Dooley <conor@...nel.org>
To:     Song Shuai <songshuaishuai@...ylab.org>
Cc:     alexghiti <alexghiti@...osinc.com>, robh <robh@...nel.org>,
        ajones <ajones@...tanamicro.com>, anup <anup@...infault.org>,
        palmer <palmer@...osinc.com>,
        "jeeheng.sia" <jeeheng.sia@...rfivetech.com>,
        "leyfoon.tan" <leyfoon.tan@...rfivetech.com>,
        "mason.huo" <mason.huo@...rfivetech.com>,
        "paul.walmsley" <paul.walmsley@...ive.com>,
        "conor.dooley" <conor.dooley@...rochip.com>,
        guoren <guoren@...nel.org>,
        linux-riscv <linux-riscv@...ts.infradead.org>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Bug report: kernel paniced while booting

On Mon, Jun 05, 2023 at 10:52:14AM +0000, Song Shuai wrote:

> This report is not identical to my prior report -- "kernel paniced when system hibernates" [1], but both of them 
> are closely related with the commit (3335068f8721 "riscv: Use PUD/P4D/PGD pages for the linear mapping").
> 
> With this commit, hibernation is trapped with "access fault" while accessing the PMP-protected regions (mmode_resv0@...00000) 
> from OpenSbi (BTW, hibernation is marked as nonportable by Conor[2]).

Just to be clear, you enabled NONPORTABLE & hibernation, and then
hibernating panicked for you on a system that uses standard OpenSBI?
This is the existing, known, issue and not something you are trying to
report as a new problem here, right?
(Sorry, I am a bit slow today)

Cheers,
Conor.

> In this report, efi_init handoffs the memory mapping from Boot Services to memblock where reserves mmode_resv0@...00000, 
> so there is no "access fault" but "page fault".
> 
> And reverting commit 3335068f8721 indeed fixed this panic.

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ