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  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:   Mon, 24 Jul 2017 10:09:53 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Zhaoyang Huang <huangzhaoyang@...il.com>
Cc:     zhaoyang.huang@...eadtrum.com,
        Andrew Morton <akpm@...ux-foundation.org>,
        Michal Hocko <mhocko@...e.com>, Ingo Molnar <mingo@...nel.org>,
        zijun_hu <zijun_hu@....com>, Vlastimil Babka <vbabka@...e.cz>,
        Thomas Garnier <thgarnie@...gle.com>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Andrey Ryabinin <aryabinin@...tuozzo.com>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, zijun_hu@...o.com, lkp@...org
Subject: [lkp-robot] [mm/vmalloc]  3fef5b604a: kernel_BUG_at_mm/vmalloc.c


FYI, we noticed the following commit:

commit: 3fef5b604acd6e2346d932088b526891fbf93ee9 ("mm/vmalloc: add a node corresponding to cached_hole_size")
url: https://github.com/0day-ci/linux/commits/Zhaoyang-Huang/mm-vmalloc-add-a-node-corresponding-to-cached_hole_size/20170724-021305


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+----------------------------------------------------+-----------+------------+
|                                                    | v4.13-rc1 | 3fef5b604a |
+----------------------------------------------------+-----------+------------+
| boot_successes                                     | 686       | 0          |
| boot_failures                                      | 2369      | 32         |
| BUG:kernel_in_stage                                | 10        |            |
| WARNING:possible_recursive_locking_detected        | 2282      |            |
| BUG:kernel_hang_in_test_stage                      | 294       |            |
| INFO:creating/lkp/benchmarks/ltp/output_directory  | 344       |            |
| INFO:creating/lkp/benchmarks/ltp/results_directory | 344       |            |
| INFO:ltp-pan_reported_some_tests_FAIL              | 218       |            |
| INFO:ltp-pan_reported_all_tests_PASS               | 124       |            |
| invoked_oom-killer:gfp_mask=0x                     | 4         |            |
| Mem-Info                                           | 4         |            |
| BUG:unable_to_handle_kernel                        | 3         |            |
| Oops:#[##]                                         | 3         |            |
| Kernel_panic-not_syncing:Fatal_exception           | 5         | 32         |
| general_protection_fault:#[##]                     | 2         |            |
| BUG:kernel_hang_in_boot_stage                      | 11        |            |
| BUG:kernel_reboot-without-warning_in_test_stage    | 1         |            |
| kernel_BUG_at_mm/vmalloc.c                         | 0         | 32         |
| invalid_opcode:#[##]                               | 0         | 32         |
+----------------------------------------------------+-----------+------------+



[    3.052952] kernel BUG at mm/vmalloc.c:526!
[    3.052956] invalid opcode: 0000 [#1] SMP
[    3.052957] Modules linked in:
[    3.052961] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc1-00001-g3fef5b6 #5
[    3.052963] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    3.052965] task: ffff8c443bcb8040 task.stack: ffffb9f3c0194000
[    3.052969] RIP: 0010:alloc_vmap_area+0x2b8/0x36f
[    3.052971] RSP: 0000:ffffb9f3c0197be8 EFLAGS: 00010206
[    3.052974] RAX: ffffb9f3c01a9000 RBX: 0000000000002000 RCX: 0000000000000d81
[    3.052975] RDX: 0000000000000003 RSI: 0000000000000003 RDI: ffffffff980c52a0
[    3.052977] RBP: ffffb9f3c0197c40 R08: 0000000173ae419e R09: ffffffff97a436f8
[    3.052979] R10: ffffb9f3c0197b50 R11: 0000000000000002 R12: 0000000000000fff
[    3.052980] R13: ffff8c443b99dc00 R14: ffffffffc02db000 R15: 0000000000000000
[    3.052983] FS:  0000000000000000(0000) GS:ffff8c443ca00000(0000) knlGS:0000000000000000
[    3.052984] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.052986] CR2: 0000000000000000 CR3: 000000001c02c000 CR4: 00000000000006f0
[    3.052990] Call Trace:
[    3.052999]  __get_vm_area_node+0xee/0x158
[    3.053011]  ? ftrace_stub+0x5/0x5
[    3.053014]  ? ftrace_call+0x34/0x34
[    3.053017]  __vmalloc_node_range+0x67/0x226
[    3.053021]  ? arch_ftrace_update_trampoline+0xad/0x21c
[    3.053023]  ? __mutex_unlock_slowpath+0x3a/0x201
[    3.053027]  ? arch_ftrace_update_trampoline+0xad/0x21c
[    3.053030]  ? ftrace_stub+0x5/0x5
[    3.053032]  ? ftrace_call+0x34/0x34
[    3.053035]  module_alloc+0xa7/0xb7
[    3.053039]  ? arch_ftrace_update_trampoline+0xad/0x21c
[    3.053043]  arch_ftrace_update_trampoline+0xad/0x21c
[    3.053045]  ? ftrace_regs_caller+0x65/0x65
[    3.053053]  ftrace_startup+0xf4/0x19e
[    3.053057]  register_ftrace_function+0x26/0x3c
[    3.053060]  arm_kprobe+0x5d/0xc5
[    3.053063]  register_kprobe+0x3fa/0x49e
[    3.053069]  init_test_probes+0x51/0x462
[    3.053071]  ? init_test_probes+0x51/0x462
[    3.053074]  ? register_module_notifier+0x18/0x1a
[    3.053078]  init_kprobes+0x1f7/0x204
[    3.053081]  ? debugfs_kprobe_init+0xaa/0xaa
[    3.053084]  ? set_debug_rodata+0x17/0x17
[    3.053087]  do_one_initcall+0x90/0x138
[    3.053094]  ? set_debug_rodata+0x17/0x17
[    3.053096]  kernel_init_freeable+0x1c6/0x24e
[    3.053099]  ? rest_init+0xd8/0xd8
[    3.053103]  kernel_init+0xe/0xfa
[    3.053106]  ret_from_fork+0x2a/0x40
[    3.053114] Code: 67 eb ff ff 49 8d 45 18 48 c7 c7 a0 52 0c 98 48 89 05 ab e5 6a 04 e8 e2 07 de 01 49 8b 45 00 49 85 c4 74 02 0f 0b 49 39 c6 76 02 <0f> 0b 48 8b 5d b8 49 3b 5d 08 4c 89 e8 0f 83 95 00 00 00 0f 0b 
[    3.053163] RIP: alloc_vmap_area+0x2b8/0x36f RSP: ffffb9f3c0197be8
[    3.053170] ---[ end trace fdb091fa3551ba62 ]---


To reproduce:

        git clone https://github.com/01org/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.13.0-rc1-00001-g3fef5b6" of type "text/plain" (161756 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (9628 bytes)

Powered by blists - more mailing lists