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]
Message-ID: <616d8f02-a4ea-4f9a-ad4f-8bcbc2ccc887@amd.com>
Date: Wed, 24 Sep 2025 20:13:35 +0530
From: "Aithal, Srikanth" <sraithal@....com>
To: Ard Biesheuvel <ardb@...nel.org>, Sean Christopherson <seanjc@...gle.com>
CC: Linux-Next Mailing List <linux-next@...r.kernel.org>, open list
	<linux-kernel@...r.kernel.org>, KVM <kvm@...r.kernel.org>, Ashish Kalra
	<Ashish.Kalra@....com>, Borislav Petkov <bp@...en8.de>, Tom Lendacky
	<thomas.lendacky@....com>
Subject: Re: AMD SNP guest kdump broken since linuxnext-20250908

On 9/24/2025 7:45 PM, Ard Biesheuvel wrote:
> Hi,
> 
> On Wed, 24 Sept 2025 at 15:25, Sean Christopherson <seanjc@...gle.com> wrote:
>>
>> +Ard and Boris (and Tom for good measure)
>>
> 
> Thanks for the cc, and apologies for the breakage.
> 
> Does this help?
> 
> --- a/arch/x86/boot/startup/sev-startup.c
> +++ b/arch/x86/boot/startup/sev-startup.c
> @@ -44,7 +44,7 @@
>   /* Include code shared with pre-decompression boot stage */
>   #include "sev-shared.c"
> 
> -void __init
> +void
>   early_set_pages_state(unsigned long vaddr, unsigned long paddr,
>                        unsigned long npages, const struct psc_desc *desc)
>   {

Tested this patch on top of 6.17.0-rc7-next-20250923 
[https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tag/?h=next-20250923].

This patch fixes the issue reported for the SNP guest type. It was also 
tested on [normal, SEV, SEV-ES] guest types, and kdump works fine on all.

Reported-by: Srikanth Aithal <Srikanth.Aithal@....com>
Tested-by: Srikanth Aithal <Srikanth.Aithal@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ