Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 9 Oct 2017 23:24:43 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Emese Revfy <re.emese@...il.com>
Cc: wfg@...ux.intel.com, Michal Marek <mmarek@...e.com>,
	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
	kernel-hardening@...ts.openwall.com, LKP <lkp@...org>
Subject: [sancov] 543c37cb16 BUG: kernel reboot-without-warning in boot stage

Greetings,

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

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

commit 543c37cb165049c3be24a0d4733e67caa2b33eef
Author:     Emese Revfy <re.emese@...il.com>
AuthorDate: Tue May 24 00:11:37 2016 +0200
Commit:     Michal Marek <mmarek@...e.com>
CommitDate: Tue Jun 7 22:57:10 2016 +0200

     Add sancov plugin
     
     The sancov gcc plugin inserts a __sanitizer_cov_trace_pc() call
     at the start of basic blocks.
     
     This plugin is a helper plugin for the kcov feature. It supports
     all gcc versions with plugin support (from gcc-4.5 on).
     It is based on the gcc commit "Add fuzzing coverage support" by Dmitry Vyukov
     (https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=231296).
     
     Signed-off-by: Emese Revfy <re.emese@...il.com>
     Acked-by: Kees Cook <keescook@...omium.org>
     Signed-off-by: Michal Marek <mmarek@...e.com>

0dae776c6b  Add Cyclomatic complexity GCC plugin
543c37cb16  Add sancov plugin
42b76d0e6b  Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
1418b85217  Add linux-next specific files for 20170929
+-------------------------------------------------+------------+------------+------------+---------------+
|                                                 | 0dae776c6b | 543c37cb16 | 42b76d0e6b | next-20170929 |
+-------------------------------------------------+------------+------------+------------+---------------+
| boot_successes                                  | 31         | 0          | 0          | 0             |
| boot_failures                                   | 0          | 11         | 11         | 13            |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0          | 11         | 11         | 13            |
+-------------------------------------------------+------------+------------+------------+---------------+

[    0.000000] percpu: Embedded 30 pages/cpu @ffff88001fa00000 s93504 r0 d29376 u2097152
[    0.000000] pcpu-alloc: s93504 r0 d29376 u2097152 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 


                                                           # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.8 v4.7 --
git bisect  bad e6e7214fbbdab1f90254af68e0927bdb24708d22  # 18:02  B      0     8   20   0  Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good ba929b6646c5b87c7bb15cd8d3e51617725c983b  # 19:41  G     10     0    0   0  Merge branch 'for-linus-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
git bisect  bad f72035fad84c9b51a45fd8afc8024f3df0ba8848  # 19:52  B      0     4   16   0  Merge tag 'usb-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect  bad c7fac299672ee98a1da90ea2e473180fc75d2c53  # 20:10  B      0     3   15   0  Merge tag 'drm-psr-fixes-for-v4.8' of git://people.freedesktop.org/~airlied/linux
git bisect good 3fbff9c874072a085c08af706beb88e7797d78b4  # 13:37  G     10     0    0   0  Merge tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good 731c7d3a205ba89b475b2aa71b5f13dd6ae3de56  # 09:54  G     11     0    0   0  Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux
git bisect  bad f716a85cd6045c994011268223706642cff7e485  # 10:18  B      0     2   15   0  Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
git bisect good f7b32e4c021fd788f13f6785e17efbc3eb05b351  # 10:41  G     11     0    0   0  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
git bisect good 221bb8a46e230b9824204ae86537183d9991ff2a  # 10:58  G     11     0    0   0  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
git bisect  bad 5ee02af153661ed98b5ccdfb984d78e7a8881b56  # 11:19  B      0     4   16   0  vmlinux.lds.h: replace config_enabled() with IS_ENABLED()
git bisect  bad 78283edf2c01c38eb840a3de5ffd18fe2992ab64  # 11:42  B      0     1   13   0  kbuild: setlocalversion: print error to STDERR
git bisect good 6b90bd4ba40b38dc13c2782469c1c77e4ed79915  # 12:06  G     10     0    0   0  GCC plugin infrastructure
git bisect  bad 543c37cb165049c3be24a0d4733e67caa2b33eef  # 12:25  B      0    11   23   0  Add sancov plugin
git bisect good 0dae776c6bf31e779c172753f6e2d6426eb42523  # 12:59  G     11     0    0   0  Add Cyclomatic complexity GCC plugin
# first bad commit: [543c37cb165049c3be24a0d4733e67caa2b33eef] Add sancov plugin
git bisect good 0dae776c6bf31e779c172753f6e2d6426eb42523  # 13:34  G     31     0    0   0  Add Cyclomatic complexity GCC plugin
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad 543c37cb165049c3be24a0d4733e67caa2b33eef  # 13:52  B      0     9   21   0  Add sancov plugin
# extra tests on HEAD of linux-next/master
git bisect  bad 1418b852174ad50b3cb4738b8801626aefdc0bd9  # 13:52  B      0    13   28   0  Add linux-next specific files for 20170929
# extra tests on tree/branch linus/master
git bisect  bad 42b76d0e6b1fe0fcb90e0ff6b4d053d50597b031  # 14:01  B      0    11   23   0  Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
# extra tests on tree/branch linux-next/master
git bisect  bad 1418b852174ad50b3cb4738b8801626aefdc0bd9  # 14:02  B      0    13   28   0  Add linux-next specific files for 20170929

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-yocto-kbuild-19:20171005122314:x86_64-randconfig-g0-09300104:4.7.0-rc1-00004-g543c37c:1.gz" of type "application/gzip" (3094 bytes)

View attachment "reproduce-yocto-kbuild-19:20171005122314:x86_64-randconfig-g0-09300104:4.7.0-rc1-00004-g543c37c:1" of type "text/plain" (759 bytes)

View attachment "config-4.7.0-rc1-00004-g543c37c" of type "text/plain" (96052 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.