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-prev] [day] [month] [year] [list]
Date:   Tue, 2 Jan 2018 14:36:04 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc:     linux-kernel@...r.kernel.org,
        Ard Biesheuvel <ard.biesheuvel@...aro.org>,
        "H. Peter Anvin" <hpa@...or.com>,
        Ralf Baechle <ralf@...ux-mips.org>,
        Arnd Bergmann <arnd@...db.de>,
        Heiko Carstens <heiko.carstens@...ibm.com>,
        Kees Cook <keescook@...omium.org>,
        Will Deacon <will.deacon@....com>,
        Michael Ellerman <mpe@...erman.id.au>,
        Thomas Garnier <thgarnie@...gle.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        "Serge E. Hallyn" <serge@...lyn.com>,
        Bjorn Helgaas <bhelgaas@...gle.com>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Russell King <linux@...linux.org.uk>,
        Paul Mackerras <paulus@...ba.org>,
        Catalin Marinas <catalin.marinas@....com>,
        "David S. Miller" <davem@...emloft.net>,
        Petr Mladek <pmladek@...e.com>, Ingo Molnar <mingo@...hat.com>,
        James Morris <james.l.morris@...cle.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Nicolas Pitre <nico@...aro.org>,
        Josh Poimboeuf <jpoimboe@...hat.com>,
        Steven Rostedt <rostedt@...dmis.org>,
        Martin Schwidefsky <schwidefsky@...ibm.com>,
        Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Jessica Yu <jeyu@...nel.org>,
        linux-arm-kernel@...ts.infradead.org, linux-mips@...ux-mips.org,
        linuxppc-dev@...ts.ozlabs.org, linux-s390@...r.kernel.org,
        sparclinux@...r.kernel.org, x86@...nel.org, lkp@...org
Subject: [lkp-robot] [x86/kernel]  5bf300774c:
 WARNING:at_kernel/jump_label.c:#jump_label_test


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

View attachment "config-4.15.0-rc5-00008-g5bf3007" of type "text/plain" (138011 bytes)

View attachment "job-script" of type "text/plain" (3977 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (10532 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ