Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux
Masami-Hiramatsu/kprobes-extable-Identify-kprobes-insn-slots-as-kernel-text-area/20161226-233830
commit f6591668dd3e567b415ec93ce2b675422ef8f982
Author: Masami Hiramatsu <mhiramat(a)kernel.org>
AuthorDate: Tue Dec 27 00:34:20 2016 +0900
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Mon Dec 26 23:38:33 2016 +0800
kprobes: extable: Identify kprobes' insn-slots as kernel text area
Make __kernel_text_address()/kernel_text_address() returns
true if the given address is on a kprobe's instruction slot,
which is generated by kprobes as a trampoline code.
This can help stacktraces to determine the address is on a
text area or not.
To implement this without any sleep in is_kprobe_*_slot(),
this also modify insn_cache page list as a rcu list. It may
increase processing deley (not processing time) for garbage
slot collection, because it requires to wait an additional
rcu grance period when freeing a page from the list.
However, since it is not a hot path, we may not take care of it.
Signed-off-by: Masami Hiramatsu <mhiramat(a)kernel.org>
+------------------------------------------------------------------------------+------------+------------+------------+
| |
3c094bf3ff | f6591668dd | ec4366e26c |
+------------------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 91
| 0 | 0 |
| boot_failures | 1
| 39 | 31 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1
| | |
| INFO:suspicious_RCU_usage | 0
| 39 | 31 |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h | 0
| 39 | 31 |
| BUG:lock_held_when_returning_to_user_space | 0
| 39 | 31 |
| is_leaving_the_kernel_with_locks_still_held | 0
| 39 | 31 |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/exit.c | 0
| 2 | |
| INFO:lockdep_is_turned_off | 0
| 25 | 23 |
| BUG:sleeping_function_called_from_invalid_context_at_fs/select.c | 0
| 14 | 6 |
| BUG:sleeping_function_called_from_invalid_context_at_arch/x86/entry/common.c | 0
| 3 | 1 |
| BUG:sleeping_function_called_from_invalid_context_at_arch/x86/mm/fault.c | 0
| 2 | 8 |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c | 0
| 0 | 2 |
+------------------------------------------------------------------------------+------------+------------+------------+
[ 1.556473] spin_lock-torture: lock_torture_stats task started
[ 1.560511]
[ 1.560724] ===============================
[ 1.561418] [ INFO: suspicious RCU usage. ]
[ 1.562170] 4.9.0-12226-gf659166 #1 Not tainted
[ 1.562910] -------------------------------
[ 1.563574] kernel/rcu/tree.c:3279 Illegal synchronize_sched() in RCU-sched read-side
critical section!
[ 1.565351]
[ 1.565351] other info that might help us debug this:
[ 1.565351]
[ 1.566696]
[ 1.566696] rcu_scheduler_active = 1, debug_locks = 1
[ 1.567797] 2 locks held by swapper/1:
[ 1.568451] #0: (rcu_read_lock){......}, at: [<790e0dfc>]
rcu_read_lock+0x8/0x6b
[ 1.569851] #1: (rcu_read_lock){......}, at: [<790e0dfc>]
rcu_read_lock+0x8/0x6b
[ 1.571083]
[ 1.571083] stack backtrace:
[ 1.571837] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.0-12226-gf659166 #1
[ 1.573096] Call Trace:
[ 1.573473] ? show_stack+0x5b/0x63
[ 1.574101] dump_stack+0x16/0x18
[ 1.574594] lockdep_rcu_suspicious+0xba/0xc3
git bisect start ec4366e26cbb3b70f54011d2be4b14abd47011f3
7ce7d89f48834cefece7804d38fc5d85382edf77 --
git bisect bad eb5618f5c67bb52f9584e2b201ccc605f8a0d8db # 03:13 0- 15 Merge
'linux-review/yi-zhang/ext4-increase-the-protection-of-drop-nlink-and-ext4-inode-destroy/20161226-203856'
into devel-spot-201612270100
git bisect good d8aedc0459adcb18a60bc79b79529e169c844910 # 03:29 22+ 0 Merge
'linux-review/Bhumika-Goyal/PCI-acpiphp_ibm-add-__ro_after_init-to-ibm_apci_table_attr/20161226-234214'
into devel-spot-201612270100
git bisect bad 141602549d8be0e791a149ffdc4537306a4fa494 # 03:39 0- 3 Merge
'linux-review/Nicolas-Iooss/drm-i915-gvt-verify-functions-types-in-new_mmio_info/20161226-220827'
into devel-spot-201612270100
git bisect bad b5448ad6a3b6dfc41349989b8254fc02c68d8224 # 03:51 0- 2 Merge
'linux-review/Masami-Hiramatsu/kprobes-extable-Identify-kprobes-insn-slots-as-kernel-text-area/20161226-233830'
into devel-spot-201612270100
git bisect good da28e0eb86f143b36d7e8fdaa3f7292b809a3095 # 04:14 22+ 2 Merge
branch 'x86/urgent'
git bisect good ee3df583ae020f186cc55ec9bf636fd6558f9795 # 04:29 21+ 0 Merge
branch 'x86/cache'
git bisect bad f6591668dd3e567b415ec93ce2b675422ef8f982 # 04:40 0- 8 kprobes:
extable: Identify kprobes' insn-slots as kernel text area
git bisect good 3c094bf3ffc57158d3ca0b94dc01067b9e363f37 # 05:09 22+ 1 Merge
branch 'linus'
# first bad commit: [f6591668dd3e567b415ec93ce2b675422ef8f982] kprobes: extable: Identify
kprobes' insn-slots as kernel text area
git bisect good 3c094bf3ffc57158d3ca0b94dc01067b9e363f37 # 05:24 66+ 1 Merge
branch 'linus'
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad f6591668dd3e567b415ec93ce2b675422ef8f982 # 05:40 0- 4 kprobes:
extable: Identify kprobes' insn-slots as kernel text area
# extra tests on HEAD of linux-devel/devel-spot-201612270100
git bisect bad ec4366e26cbb3b70f54011d2be4b14abd47011f3 # 05:40 0- 31 0day
head guard for 'devel-spot-201612270100'
# extra tests on tree/branch
linux-review/Masami-Hiramatsu/kprobes-extable-Identify-kprobes-insn-slots-as-kernel-text-area/20161226-233830
git bisect bad f6591668dd3e567b415ec93ce2b675422ef8f982 # 05:43 0- 39 kprobes:
extable: Identify kprobes' insn-slots as kernel text area
# extra tests with first bad commit reverted
git bisect good 1cb056999d4d042c26dfc5d5f74fe75c39b6d28b # 05:59 64+ 0 Revert
"kprobes: extable: Identify kprobes' insn-slots as kernel text area"
# extra tests on tree/branch linus/master
git bisect good b4b8664d291ac1998e0f0bcdc96b6397f0fe68b3 # 06:38 66+ 2 arm64:
don't pull uaccess.h into *.S
# extra tests on tree/branch linux-next/master
git bisect good 84ede50b623fb45c4c026c80d0abf8cc5193f041 # 07:08 66+ 1 Add
linux-next specific files for 20161224
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation