From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Weimer Subject: Re: Investigating a stack state mismatch in Linux kernel References: Date: Thu, 15 Nov 2018 11:24:27 +0100 In-Reply-To: (Alexander Popov's message of "Wed, 14 Nov 2018 21:24:28 +0300") Message-ID: <875zwyabac.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain To: Alexander Popov Cc: Kees Cook , Ingo Molnar , Andy Lutomirski , Tycho Andersen , Laura Abbott , Mark Rutland , Ard Biesheuvel , Borislav Petkov , Richard Sandiford , Thomas Gleixner , "H . Peter Anvin" , Peter Zijlstra , Emese Revfy , Thomas Garnier , Alexei Starovoitov , Masami Hiramatsu , "David S . Miller" , Steven Rostedt , Dave Hansen , Will Deacon , "kernel-hardening@lists.openwall.com" , linux-arm-kernel@lists.infradead.org, gcc-bugs@gcc.gnu.org, gcc-help@gcc.gnu.org List-ID: * Alexander Popov: > Of course, there is a naive solution for this issue -- just skip stackleak > instrumentation for acpi_duplicate_processor_id(). But it would be great to find > out the reasons behind this compiler behavior. It might help to create a better > solution. Please show us the RTL dumps with both compilers, both before and after the plugin pass. Thanks, Florian From mboxrd@z Thu Jan 1 00:00:00 1970 From: fweimer@redhat.com (Florian Weimer) Date: Thu, 15 Nov 2018 11:24:27 +0100 Subject: Investigating a stack state mismatch in Linux kernel In-Reply-To: (Alexander Popov's message of "Wed, 14 Nov 2018 21:24:28 +0300") References: Message-ID: <875zwyabac.fsf@oldenburg.str.redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Alexander Popov: > Of course, there is a naive solution for this issue -- just skip stackleak > instrumentation for acpi_duplicate_processor_id(). But it would be great to find > out the reasons behind this compiler behavior. It might help to create a better > solution. Please show us the RTL dumps with both compilers, both before and after the plugin pass. Thanks, Florian