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:   Sun, 29 Oct 2017 22:20:09 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Prarit Bhargava <prarit@...hat.com>
Cc:     linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
        Prarit Bhargava <prarit@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
        Peter Zijlstra <peterz@...radead.org>,
        Dave Hansen <dave.hansen@...el.com>,
        Piotr Luc <piotr.luc@...el.com>,
        Kan Liang <kan.liang@...el.com>, Borislav Petkov <bp@...e.de>,
        Stephane Eranian <eranian@...gle.com>,
        Arvind Yadav <arvind.yadav.cs@...il.com>,
        Andy Lutomirski <luto@...nel.org>,
        Christian Borntraeger <borntraeger@...ibm.com>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Tom Lendacky <thomas.lendacky@....com>,
        Mathias Krause <minipli@...glemail.com>,
        Tim Chen <tim.c.chen@...ux.intel.com>,
        Vitaly Kuznetsov <vkuznets@...hat.com>, lkp@...org
Subject: [lkp-robot] [x86/topology]  45d87f5bb7:
 WARNING:at_kernel/locking/lockdep.c:#lockdep_trace_alloc


FYI, we noticed the following commit (built with gcc-6):

commit: 45d87f5bb794a19baa7f92fdf2fabdcb0575c66d ("x86/topology: Avoid wasting 128k for package id array")
url: https://github.com/0day-ci/linux/commits/Prarit-Bhargava/perf-x86-intel-uncore-Cache-logical-pkg-id-in-uncore-driver/20171027-073006


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge -smp 2 -m 1G

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


+----------------------------------------------------------+------------+------------+
|                                                          | a9ecaa6698 | 45d87f5bb7 |
+----------------------------------------------------------+------------+------------+
| boot_successes                                           | 4          | 2          |
| boot_failures                                            | 4          | 6          |
| IP-Config:Auto-configuration_of_network_failed           | 4          | 2          |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_trace_alloc | 0          | 4          |
| BUG:KASAN:slab-out-of-bounds                             | 0          | 4          |
+----------------------------------------------------------+------------+------------+



[    0.004000] WARNING: CPU: 1 PID: 0 at kernel/locking/lockdep.c:2897 lockdep_trace_alloc+0x1f4/0x262
[    0.004000] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.12.0-rc7-00079-g45d87f5 #1
[    0.004000] task: ffff88002a010000 task.stack: ffff88002a018000
[    0.004000] RIP: 0010:lockdep_trace_alloc+0x1f4/0x262
[    0.004000] RSP: 0000:ffff88002a01fda8 EFLAGS: 00010086
[    0.004000] RAX: 000000000000002f RBX: 00000000014000c0 RCX: 0000000000000000
[    0.004000] RDX: 000000000000002f RSI: 0000000000000001 RDI: ffffed0005403fab
[    0.004000] RBP: ffff88002a01fdc0 R08: 0000000000000001 R09: 0000000000000000
[    0.004000] R10: ffff88002ae1309f R11: fffffbfff16f1261 R12: ffff88002a010000
[    0.004000] R13: 0000000000000086 R14: 00000000014000c0 R15: 0000000000000000
[    0.004000] FS:  0000000000000000(0000) GS:ffff88002ae00000(0000) knlGS:0000000000000000
[    0.004000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.004000] CR2: 0000000000000000 CR3: 0000000011c2d000 CR4: 00000000001406a0
[    0.004000] Call Trace:
[    0.004000]  slab_pre_alloc_hook+0x19/0x5c
[    0.004000]  __kmalloc+0x43/0x134
[    0.004000]  topology_update_package_map+0x6c/0x1c5
[    0.004000]  identify_secondary_cpu+0x141/0x14e
[    0.004000]  smp_store_cpu_info+0x140/0x147
[    0.004000]  start_secondary+0xa8/0x284
[    0.004000]  ? set_cpu_sibling_map+0xdeb/0xdeb
[    0.004000]  secondary_startup_64+0x9f/0x9f
[    0.004000] Code: c0 03 38 d0 7c 09 84 d2 74 05 e8 06 6c 14 00 83 3d da 4e 28 05 00 75 24 48 c7 c6 40 0e e6 88 48 c7 c7 c0 e7 e5 88 e8 d5 95 0c 00 <0f> ff eb 0d be 02 00 00 00 4c 89 e7 e8 fd ed ff ff 65 48 8b 1c 
[    0.004000] ---[ end trace ac56ee376ba3bd7c ]---


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.12.0-rc7-00079-g45d87f5" of type "text/plain" (105940 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ