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
| ||
|
Message-ID: <Ys/DNIyc+4ju7Qmb@worktop.programming.kicks-ass.net> Date: Thu, 14 Jul 2022 09:18:12 +0200 From: Peter Zijlstra <peterz@...radead.org> To: Josh Poimboeuf <jpoimboe@...nel.org> Cc: Kees Cook <keescook@...omium.org>, kernel test robot <oliver.sang@...el.com>, x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>, Arnd Bergmann <arnd@...db.de>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH] x86: Allow for exclusions in checking RETHUNK On Wed, Jul 13, 2022 at 04:55:56PM -0700, Josh Poimboeuf wrote: > Here's the ANNOTATE_UNSAFE_RET idea. Right, I suppose that strictly speaking the compiler can do whatever and there's no actual guarantee the annotation hits the RET instruction, in practise it should work, esp. since noinstr. > Most of the diff is moving the > annotation macros to objtool.h (where they belong anyway). Yeah, moving those is a good idea.
Powered by blists - more mailing lists