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] [day] [month] [year] [list]
Message-ID: <e6c80abc40fa57526907eb0a0f18ef8cb72fe494.camel@infradead.org>
Date: Thu, 07 Nov 2024 21:35:53 -0800
From: David Woodhouse <dwmw2@...radead.org>
To: kexec@...ts.infradead.org
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, 
 Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>,
 x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>, "Kirill A. Shutemov"
 <kirill.shutemov@...ux.intel.com>, Kai Huang <kai.huang@...el.com>, Nikolay
 Borisov <nik.borisov@...e.com>,  linux-kernel@...r.kernel.org, Simon Horman
 <horms@...nel.org>
Subject: Re: [RFC PATCH 2/2] x86/kexec: Add data section to relocate_kernel

On Fri, 2024-11-08 at 05:22 +0000, David Woodhouse wrote:
> 
> @@ -128,7 +138,7 @@ SYM_CODE_START_LOCAL_NOALIGN(identity_mapped)
>         /* set return address to 0 if not preserving context */
>         pushq   $0
>         /* store the start address on the stack */
> -       pushq   %rdx
> +       pushq   start_address(%rip)
>  
>         /*
>          * Clear X86_CR4_CET (if it was set) such that we can clear CR0_WP

Oops, drop that part; I did that (and actually defined it, and stored
the value in it) just to test that everything was actually *working*,
since I think the rest of the data fields are only used for
preserve_context mode. Fixed in the tree at 

https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads//kexec-lds


Download attachment "smime.p7s" of type "application/pkcs7-signature" (5965 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ