[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180521053956.GD19015@yexl-desktop>
Date: Mon, 21 May 2018 13:39:56 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: William Breathitt Gray <vilhelm.gray@...il.com>
Cc: linus.walleij@...aro.org, linux-gpio@...r.kernel.org,
linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
William Breathitt Gray <vilhelm.gray@...il.com>,
Andy Shevchenko <andy.shevchenko@...il.com>, lkp@...org
Subject: [lkp-robot] [lib/test_bitmap.c] 072435cb5d:
Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_bitmap_init
FYI, we noticed the following commit (built with gcc-5):
commit: 072435cb5d82cab2752ebb5fb3ca03e831efcfcf ("lib/test_bitmap.c: Add for_each_set_clump test cases")
url: https://github.com/0day-ci/linux/commits/William-Breathitt-Gray/Introduce-the-for_each_set_clump-macro/20180516-161629
base: https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-gpio.git for-next
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -m 360M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------------------------------+------------+------------+
| | 6edf45bf79 | 072435cb5d |
+----------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 12 | 19 |
| WARNING:at_lib/debugobjects.c:#__debug_object_init | 12 | 19 |
| EIP:__debug_object_init | 12 | 19 |
| WARNING:suspicious_RCU_usage | 12 | 19 |
| lib/test_rhashtable.c:#suspicious_rcu_dereference_protected()usage | 12 | 19 |
| WARNING:at_arch/x86/include/asm/pgtable.h:#check_pgprot | 12 | |
| EIP:check_pgprot | 12 | |
| WARNING:at_arch/x86/include/asm/pgtable.h:#change_protection_range | 6 | |
| EIP:change_protection_range | 6 | |
| WARNING:possible_circular_locking_dependency_detected | 12 | |
| EIP:arch_local_irq_restore | 12 | |
| Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_bitmap_init | 0 | 19 |
+----------------------------------------------------------------------------------------+------------+------------+
[ 141.136400] test_bitmap: test 13: input is '0-2047:128/256' OK, Time: 3451
[ 141.176769] test_bitmap: [lib/test_bitmap.c:422] expected 0x2, got 0xE
[ 141.176802] test_bitmap: [lib/test_bitmap.c:422] clump index for zero clump: expected nonzero clump, got clump index 2 with clump value 0
[ 141.189022] test_bitmap: [lib/test_bitmap.c:422] expected 0xE, got 0xF
[ 141.209729] test_bitmap: [lib/test_bitmap.c:422] expected 0x3, got 0xF
[ 141.221779] test_bitmap: [lib/test_bitmap.c:422] expected 0x5, got 0xF
[ 141.234193] test_bitmap: failed 5 out of 1532 tests
[ 141.254187] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: test_bitmap_init+0x18e/0x195
[ 141.254187]
[ 141.264028] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.17.0-rc1-00049-g072435c #1
[ 141.264028] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 141.264028] Call Trace:
[ 141.264028] dump_stack+0x16/0x18
[ 141.264028] panic+0x90/0x1b5
[ 141.264028] ? test_copy+0x22b/0x22b
[ 141.264028] __stack_chk_fail+0x10/0x10
[ 141.264028] ? test_bitmap_init+0x18e/0x195
[ 141.264028] test_bitmap_init+0x18e/0x195
[ 141.264028] do_one_initcall+0x68/0x140
[ 141.264028] ? kernel_init_freeable+0xc3/0x15d
[ 141.264028] ? up_write+0x16/0x2a
[ 141.264028] kernel_init_freeable+0xe3/0x15d
[ 141.264028] ? rest_init+0x94/0x94
[ 141.264028] kernel_init+0x8/0xcb
[ 141.264028] ret_from_fork+0x19/0x24
[ 141.264028] Kernel Offset: 0xf800000 from 0xc1000000 (relocation range: 0xc0000000-0xd6fdffff)
Elapsed time: 150
#!/bin/bash
# To reproduce,
# 1) save job-script and this script (both are attached in 0day report email)
# 2) run this script with your compiled kernel and optional env $INSTALL_MOD_PATH
kernel=$1
initrds=(
/osimage/quantal/quantal-core-i386.cgz
/lkp/lkp/lkp-i386.cgz
)
HTTP_PREFIX=https://github.com/0day-ci/lkp-qemu/raw/master
wget --timestamping "${initrds[@]/#/$HTTP_PREFIX}"
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
View attachment "config-4.17.0-rc1-00049-g072435c" of type "text/plain" (136873 bytes)
View attachment "job-script" of type "text/plain" (3924 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (10836 bytes)
Powered by blists - more mailing lists