Re: [PATCH 4/5] x86/xen: Avoid relocatable quantities in Xen ELF notes

2024-09-27 Thread Ard Biesheuvel
On Fri, 27 Sept 2024 at 07:49, Ard Biesheuvel wrote: > > On Fri, 27 Sept 2024 at 03:47, Jason Andryuk wrote: > > > > On 2024-09-26 06:41, Ard Biesheuvel wrote: > > > From: Ard Biesheuvel > > > > > > Xen puts virtual and physical addresses into ELF notes that are treated > > > by the linker as re

Re: [PATCH 4/5] x86/xen: Avoid relocatable quantities in Xen ELF notes

2024-09-26 Thread Ard Biesheuvel
On Fri, 27 Sept 2024 at 03:47, Jason Andryuk wrote: > > On 2024-09-26 06:41, Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > > > Xen puts virtual and physical addresses into ELF notes that are treated > > by the linker as relocatable by default. Doing so is not only pointless, > > given that t

Re: [PATCH 4/5] x86/xen: Avoid relocatable quantities in Xen ELF notes

2024-09-26 Thread Jason Andryuk
On 2024-09-26 06:41, Ard Biesheuvel wrote: From: Ard Biesheuvel Xen puts virtual and physical addresses into ELF notes that are treated by the linker as relocatable by default. Doing so is not only pointless, given that the ELF notes are only intended for consumption by Xen before the kernel bo

[PATCH 4/5] x86/xen: Avoid relocatable quantities in Xen ELF notes

2024-09-26 Thread Ard Biesheuvel
From: Ard Biesheuvel Xen puts virtual and physical addresses into ELF notes that are treated by the linker as relocatable by default. Doing so is not only pointless, given that the ELF notes are only intended for consumption by Xen before the kernel boots. It is also a KASLR leak, given that the