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>] [day] [month] [year] [list]
Message-ID: <20221213141906.566003ba@canb.auug.org.au>
Date:   Tue, 13 Dec 2022 14:19:06 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        "Masami Hiramatsu (Google)" <mhiramat@...nel.org>,
        Will Deacon <will@...nel.org>
Subject: linux-next: manual merge of the efi tree with Linus' tree

Hi all,

Today's linux-next merge of the efi tree got a conflict in:

  arch/arm64/kernel/stacktrace.c

between commit:

  0fbcd8abf337 ("arm64: Prohibit instrumentation on arch_stack_walk()")

from Linus' tree and commit:

  c2530a04a73e ("arm64: efi: Account for the EFI runtime stack in stack unwinder")

from the efi tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/arm64/kernel/stacktrace.c
index 117e2c180f3c,ee9fd2018cd7..000000000000
--- a/arch/arm64/kernel/stacktrace.c
+++ b/arch/arm64/kernel/stacktrace.c
@@@ -186,7 -188,14 +188,14 @@@ void show_stack(struct task_struct *tsk
  			: stackinfo_get_unknown();		\
  	})
  
+ #define STACKINFO_EFI						\
+ 	({							\
+ 		((task == current) && current_in_efi())		\
+ 			? stackinfo_get_efi()			\
+ 			: stackinfo_get_unknown();		\
+ 	})
+ 
 -noinline notrace void arch_stack_walk(stack_trace_consume_fn consume_entry,
 +noinline noinstr void arch_stack_walk(stack_trace_consume_fn consume_entry,
  			      void *cookie, struct task_struct *task,
  			      struct pt_regs *regs)
  {

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ