[lkp-robot] [x86/kernel] 5bf300774c: WARNING:at_kernel/jump_label.c:#jump_label_test
From: kernel test robot <hidden>
Date: 2018-01-02 06:36:54
Also in:
linux-mips, lkml, oe-lkp, sparclinux
FYI, we noticed the following commit (built with gcc-7):
commit: 5bf300774c2da4e2b3cf8891ad5a9fa104a429be ("x86/kernel: jump_table: use relative references")
url: https://github.com/0day-ci/linux/commits/Ard-Biesheuvel/add-support-for-relative-references-in-special-sections/20171226-164147
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------------------------------------------------------------+------------+------------+
| | 2421cce8ea | 5bf300774c |
+-----------------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 8 | 8 |
| BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:early_console_in_setup_code | 5 | |
| BUG:kernel_hang_in_early-boot_stage,last_printk:early_console_in_setup_code | 3 | |
| WARNING:at_kernel/jump_label.c:#jump_label_test | 0 | 8 |
| RIP:jump_label_test | 0 | 8 |
| invoked_oom-killer:gfp_mask=0x | 0 | 8 |
| Mem-Info | 0 | 8 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 8 |
+-----------------------------------------------------------------------------------------------+------------+------------+
[ 0.040547] WARNING: CPU: 0 PID: 1 at kernel/jump_label.c:755 jump_label_test+0x3db/0x533
[ 0.042493] Modules linked in:
[ 0.043089] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.15.0-rc5-00008-g5bf3007 #1
[ 0.044494] RIP: 0010:jump_label_test+0x3db/0x533
[ 0.045428] RSP: 0000:ffff8800002dfce8 EFLAGS: 00010202
[ 0.046405] RAX: dffffc0000000001 RBX: 1ffff1000005bf9e RCX: 0000000000000000
[ 0.047830] RDX: 1ffffffff3b009f3 RSI: 0000000000000001 RDI: ffffffff9d804f98
[ 0.049218] RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffffff9ec11c60
[ 0.050000] R10: 0000000000000000 R11: 0000000000000000 R12: ffffed000005bfa2
[ 0.050000] R13: ffffffff9ec5a940 R14: ffffffff9d06f0a0 R15: 0000000000000002
[ 0.050000] FS: 0000000000000000(0000) GS:ffff88001d000000(0000) knlGS:0000000000000000
[ 0.050000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.050000] CR2: 00000000ffffffff CR3: 000000002a013001 CR4: 00000000001606f0
[ 0.050000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.050000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 0.050000] Call Trace:
[ 0.050000] ? jump_label_init_module+0x11/0x11
[ 0.050000] ? set_cpus_allowed_common+0x6c/0xc0
[ 0.050000] ? blocking_notifier_chain_register+0x22a/0x490
[ 0.050000] ? register_die_notifier+0x20/0x20
[ 0.050000] ? early_enable_events+0xa6/0x175
[ 0.050000] ? event_trace_init+0x3d5/0x3d5
[ 0.050000] ? __tasklet_schedule+0x400/0x400
[ 0.050000] ? jump_label_init_module+0x11/0x11
[ 0.050000] do_one_initcall+0x7d/0x267
[ 0.050000] ? initcall_blacklisted+0x1a0/0x1a0
[ 0.050000] ? extfrag_debug_init+0x78/0x78
[ 0.050000] ? workqueue_init+0x33a/0x341
[ 0.050000] kernel_init_freeable+0x2d6/0x4c9
[ 0.050000] ? rest_init+0x120/0x120
[ 0.050000] kernel_init+0xf/0x120
[ 0.050000] ? rest_init+0x120/0x120
[ 0.050000] ret_from_fork+0x24/0x30
[ 0.050000] Code: 31 c9 31 d2 44 0f b6 c0 48 c7 c7 78 4f 80 9d 88 44 24 04 44 89 c6 44 89 04 24 e8 56 72 87 fb 8a 44 24 04 44 8b 04 24 84 c0 74 02 <0f> ff 31 c9 31 d2 44 89 c6 48 c7 c7 48 4f 80 9d e8 35 72 87 fb
[ 0.050000] ---[ end trace 206c70f65ccc5d90 ]---
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 Attachments
- config-4.15.0-rc5-00008-g5bf3007 [text/plain] 138011 bytes · preview
- job-script [text/plain] 3977 bytes · preview
- dmesg.xz [application/x-xz] 10532 bytes