Re: [PATCH v5] efi: Fix stack protector issues

2024-05-08 Thread Daniel Kiper
On Mon, Apr 29, 2024 at 03:03:50PM +0200, Ard Biesheuvel wrote: > On Sat, 27 Apr 2024 at 15:08, Glenn Washburn > wrote: > > > > From: Ard Biesheuvel > > > > The 'ground truth' stack protector cookie value is kept in a global > > variable, and loaded in every function prologue and epilogue to stor

Re: [PATCH v5] efi: Fix stack protector issues

2024-04-29 Thread Ard Biesheuvel
On Sat, 27 Apr 2024 at 15:08, Glenn Washburn wrote: > > From: Ard Biesheuvel > > The 'ground truth' stack protector cookie value is kept in a global > variable, and loaded in every function prologue and epilogue to store > it into resp. compare it with the stack slot holding the cookie. > > If th

[PATCH v5] efi: Fix stack protector issues

2024-04-27 Thread Glenn Washburn
From: Ard Biesheuvel The 'ground truth' stack protector cookie value is kept in a global variable, and loaded in every function prologue and epilogue to store it into resp. compare it with the stack slot holding the cookie. If the comparison fails, the program aborts, and this might occur spurio