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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141210231732.GA24163@wfg-t540p.sh.intel.com>
Date:	Wed, 10 Dec 2014 15:17:32 -0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	"Steven Rostedt (Red Hat)" <rostedt@...dmis.org>
Cc:	LKP <lkp@...org>, linux-kernel@...r.kernel.org
Subject: [ftrace/fgraph/x86] BUG: unable to handle kernel paging request at
 3d00c17d

Hi Steven,

0day kernel testing robot got the below dmesg and the first bad commit is

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 6a06bdbf7f9c669743f58084991ba280f2925586
Author:     Steven Rostedt (Red Hat) <rostedt@...dmis.org>
AuthorDate: Mon Nov 24 21:00:34 2014 -0500
Commit:     Steven Rostedt <rostedt@...dmis.org>
CommitDate: Mon Dec 1 14:08:58 2014 -0500

    ftrace/fgraph/x86: Have prepare_ftrace_return() take ip as first parameter
    
    The function graph helper function prepare_ftrace_return() which does the work
    to hijack the parent pointer has that parent pointer as its first parameter.
    Instead, if we make it the second parameter and have ip as the first parameter
    (self_addr), then it can use the %rdi from save_mcount_regs that loads it
    already.
    
    Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1411262304010.3961@nanos
    
    Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
    Signed-off-by: Steven Rostedt <rostedt@...dmis.org>

+------------------------------------------+------------+------------+---------------+
|                                          | f1ab00af81 | 6a06bdbf7f | next-20141209 |
+------------------------------------------+------------+------------+---------------+
| boot_successes                           | 60         | 0          | 0             |
| boot_failures                            | 0          | 20         | 30            |
| BUG:unable_to_handle_kernel              | 0          | 20         | 30            |
| Oops                                     | 0          | 20         | 30            |
| EIP_is_at_core_kernel_data               | 0          | 20         |               |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 20         | 30            |
| backtrace:event_create_dir               | 0          | 20         | 30            |
| backtrace:event_trace_init               | 0          | 20         | 30            |
| backtrace:kernel_init_freeable           | 0          | 20         | 30            |
| EIP_is_at_core_kernel_text               | 0          | 0          | 30            |
+------------------------------------------+------------+------------+---------------+

[    2.063848] Switched to clocksource kvm-clock
[    2.063848] Warning: could not register all branches stats
[    2.063848] Warning: could not register annotated branches stats
[    2.064779] BUG: unable to handle kernel paging request at 3d00c17d
[    2.064779] IP: [<c108cc63>] core_kernel_data+0x3/0x40
[    2.064779] *pdpt = 0000000000000000 *pde = 0000000000000000 
[    2.064779] Oops: 0002 [#1] PREEMPT SMP 
[    2.064779] Modules linked in:
[    2.064779] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc1-00052-g6a06bdb #22
[    2.064779] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    2.064779] task: d4080000 ti: d4084000 task.ti: d4084000
[    2.064779] EIP: 0060:[<c108cc63>] EFLAGS: 00010246 CPU: 0
[    2.064779] EIP is at core_kernel_data+0x3/0x40
[    2.064779] EAX: c197ffb1 EBX: c1a40200 ECX: 00000000 EDX: 0380ab00
[    2.064779] ESI: d424a270 EDI: d4153e00 EBP: d4085eb4 ESP: d4085eb4
[    2.064779]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    2.064779] CR0: 80050033 CR2: 3d00c17d CR3: 01d2a000 CR4: 000406b0
[    2.064779] Stack:
[    2.064779]  d4085eec c113c2f3 00000246 c1d62d00 c1801000 d424a1a0 c1d62d70 c197ffb1
[    2.064779]  c1d62d00 d3c19130 01000000 c1d62d00 00000000 d4153e00 d4085f0c c1ca11fa
[    2.064779]  c1d62d78 00000000 009bc940 c1ca0f8e c1a3f200 d424a1a0 d4085f80 c10004bf
[    2.064779] Call Trace:
[    2.064779]  [<c113c2f3>] event_create_dir+0x3b3/0x660
[    2.064779]  [<c1ca11fa>] event_trace_init+0x26c/0x325
[    2.064779]  [<c1ca0f8e>] ? event_trace_self_tests_init+0xbe/0xbe
[    2.064779]  [<c10004bf>] do_one_initcall+0xcf/0x2a0
[    2.064779]  [<c1ca0f8e>] ? event_trace_self_tests_init+0xbe/0xbe
[    2.064779]  [<c1c7c5a7>] ? repair_env_string+0x29/0x96
[    2.064779]  [<c1c7ced3>] kernel_init_freeable+0xe8/0x1aa
[    2.064779]  [<c17beee1>] kernel_init+0x11/0x170
[    2.064779]  [<c17cf781>] ret_from_kernel_thread+0x21/0x30
[    2.064779]  [<c17beed0>] ? rest_init+0x80/0x80
[    2.064779] Code: ae c1 5b 5d 83 c0 01 89 04 95 08 ac ae c1 8b 04 95 1c ac ae c1 83 c0 01 89 04 95 1c ac ae c1 89 d0 c3 8d b6 00 00 00 00 55 89 e5 <19> 05 7d c1 00 3d 00 50 a3 c1 72 21 3d 80 ad c7 c1 0f 92 c0 0f
[    2.064779] EIP: [<c108cc63>] core_kernel_data+0x3/0x40 SS:ESP 0068:d4085eb4
[    2.064779] CR2: 000000003d00c17d
[    2.064779] ---[ end trace 2cbe3ab4e55bc997 ]---
[    2.064779] Kernel panic - not syncing: Fatal exception

git bisect start 5348e33950aad8d5ab06d83cb7ac4e6b4198f773 b2776bf7149bddd1f4161f14f79520f17fc1d71d --
git bisect good a17bfd544286e8dc9e31eaa5c105601f7626621a  # 03:29     20+      0  Merge remote-tracking branch 'crypto/master'
git bisect  bad eda592b7693fe76f7137bef0816a658846a499dc  # 04:03      0-     10  Merge remote-tracking branch 'kvm/linux-next'
git bisect good 20b20b1c70835b799c0f5e2dc104998e8d2ec72b  # 05:17     20+      0  Merge remote-tracking branch 'regulator/for-next'
git bisect good 6ab50a54d362f7b075744e1ff3cfa1f12c981b97  # 05:59     20+      0  Merge remote-tracking branch 'devicetree/devicetree/next'
git bisect good 0634cdfae87ba1318f45b0f12d92547ef1b2b70a  # 06:46     20+      0  Merge remote-tracking branch 'edac/linux_next'
git bisect good 309c0750fce03028565307dc8e369ceed56e295a  # 07:25     20+      0  Merge remote-tracking branch 'irqchip/irqchip/for-next'
git bisect  bad 9d6ada6afa5f8a4f78e562c7b435ec7fd804df7b  # 08:48      0-      9  Merge remote-tracking branch 'ftrace/for-next'
git bisect good 9b77215382b42ef9c5b34293ad3a95332e5b71ef  # 10:24     20+      0  seq_buf: Add seq_buf_can_fit() helper function
git bisect good 07f1bc7f8cec0f3493731c8f83ad037f50f7e785  # 10:34     20+      0  Merge branch 'for-next/ftrace/core' into trace/for-next
git bisect  bad eabb8980a96cff42ae70cc6ab143f4003f02c874  # 11:09      0-     20  tracing: Allow NOT to filter AND and OR clauses
git bisect good 527aa75b333f90f4f90ac1730762156680a42fe8  # 11:11     20+      0  ftrace/x86: Simplify save_mcount_regs on getting RIP
git bisect good f1ab00af816ec8e1ad53229963c863fdd6bcf222  # 11:11     20+      0  ftrace/x86: Get rid of ftrace_caller_setup
git bisect  bad e12c09cf3087b5a184ffeb55ca368e8aa436a3a2  # 11:59      0-     20  tracing: Add NOT to filtering logic
git bisect  bad 6a06bdbf7f9c669743f58084991ba280f2925586  # 11:59      0-     20  ftrace/fgraph/x86: Have prepare_ftrace_return() take ip as first parameter
# first bad commit: [6a06bdbf7f9c669743f58084991ba280f2925586] ftrace/fgraph/x86: Have prepare_ftrace_return() take ip as first parameter
git bisect good f1ab00af816ec8e1ad53229963c863fdd6bcf222  # 12:02     60+      0  ftrace/x86: Get rid of ftrace_caller_setup
# extra tests on HEAD of next/master
git bisect  bad 5348e33950aad8d5ab06d83cb7ac4e6b4198f773  # 12:02      0-     30  Add linux-next specific files for 20141209
# extra tests on tree/branch next/master
git bisect  bad 5348e33950aad8d5ab06d83cb7ac4e6b4198f773  # 12:02      0-     30  Add linux-next specific files for 20141209
# extra tests on tree/branch linus/master
git bisect good a0e4467726cd26bacb16f13d207ffcfa82ffc07d  # 12:37     60+      0  Merge tag 'asm-generic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
# extra tests on tree/branch next/master
git bisect  bad 5348e33950aad8d5ab06d83cb7ac4e6b4198f773  # 12:37      0-     30  Add linux-next specific files for 20141209



Thanks,
Fengguang

View attachment "dmesg-vm-vp-quantal-i386-43:20141209184635:i386-randconfig-c0-12061702:3.18.0-rc1-00052-g6a06bdb:22" of type "text/plain" (36005 bytes)

View attachment "config-3.18.0-rc1-00052-g6a06bdb" of type "text/plain" (75486 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ