Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431215

Re: [PATCH 3/3] x86/dumpstack: Add show_stack_regs() and use it

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] x86/dumpstack: Add show_stack_regs() and use it
Date 2016-06-25 23:00 +0200
Message-ID <rO2Qh-1HR-7@gated-at.bofh.it> (permalink)
References <rNuOB-5IF-9@gated-at.bofh.it> <rNuOB-5IF-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 24, 2016 at 1:30 AM, Borislav Petkov <bp@alien8.de> wrote:
> From: Borislav Petkov <bp@suse.de>
>
> Add a helper to dump supplied pt_regs and use it in the MSR exception
> handling code to have precise stack traces pointing to the actual
> function causing the MSR access exception and not the stack frame of the
> exception handler itself.
>
> The new output looks like this:
>
>  unchecked MSR access error: RDMSR from 0xdeadbeef at rIP: 0xffffffff8102ddb6 (early_init_intel+0x16/0x3a0)
>   00000000756e6547 ffffffff81c03f68 ffffffff81dd0940 ffffffff81c03f10
>   ffffffff81d42e65 0000000001000000 ffffffff81c03f58 ffffffff81d3e5a3
>   0000800000000000 ffffffff81800080 ffffffffffffffff 0000000000000000
>  Call Trace:
>   [<ffffffff81d42e65>] early_cpu_init+0xe7/0x136
>   [<ffffffff81d3e5a3>] setup_arch+0xa5/0x9df
>   [<ffffffff81d38bb9>] start_kernel+0x9f/0x43a
>   [<ffffffff81d38294>] x86_64_start_reservations+0x2f/0x31
>   [<ffffffff81d383fe>] x86_64_start_kernel+0x168/0x176

Reviewed-by: Andy Lutomirski <luto@kernel.org>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] x86/dumpstack: Add show_stack_regs() and use it Borislav Petkov <bp@alien8.de> - 2016-06-24 10:40 +0200
  Re: [PATCH 3/3] x86/dumpstack: Add show_stack_regs() and use it Andy Lutomirski <luto@amacapital.net> - 2016-06-25 23:00 +0200

csiph-web