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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170116020545.GN690@yexl-desktop>
Date:   Mon, 16 Jan 2017 10:05:45 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     David Carrillo-Cisneros <davidcc@...gle.com>
Cc:     linux-kernel@...r.kernel.org, "x86@...nel.org" <x86@...nel.org>,
        Ingo Molnar <mingo@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Andi Kleen <ak@...ux.intel.com>,
        Kan Liang <kan.liang@...el.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Borislav Petkov <bp@...e.de>,
        Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        Vikas Shivappa <vikas.shivappa@...ux.intel.com>,
        Mark Rutland <mark.rutland@....com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Vince Weaver <vince@...ter.net>, Paul Turner <pjt@...gle.com>,
        Stephane Eranian <eranian@...gle.com>,
        David Carrillo-Cisneros <davidcc@...gle.com>, lkp@...org
Subject: [lkp-developer] [perf/core]  49c04ee1a7:
 WARNING:at_kernel/events/core.c:#perf_iterate_ctx_matching


FYI, we noticed the following commit:

commit: 49c04ee1a704ad7fe785474d9d17a4341dcb50a3 ("perf/core: use rb-tree index to optimize filtered perf_iterate_ctx")
url: https://github.com/0day-ci/linux/commits/David-Carrillo-Cisneros/optimize-ctx-switch-with-rb-tree/20170110-203936


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-i386 -enable-kvm -m 320M

caused below changes:


+------------------------------------------------------------+------------+------------+
|                                                            | 746b9b80c7 | 49c04ee1a7 |
+------------------------------------------------------------+------------+------------+
| boot_successes                                             | 11         | 0          |
| boot_failures                                              | 5          | 14         |
| BUG:kernel_reboot-without-warning_in_test_stage            | 3          |            |
| BUG:unable_to_handle_kernel                                | 2          | 14         |
| Oops                                                       | 2          | 14         |
| Kernel_panic-not_syncing:Fatal_exception                   | 2          | 14         |
| WARNING:at_kernel/events/core.c:#perf_iterate_ctx_matching | 0          | 14         |
+------------------------------------------------------------+------------+------------+




[  293.129762]  do_int80_syscall_32+0x4a/0x5c
[  293.129788]  entry_INT80_32+0x33/0x33
[  293.129792] EIP: 0xa7704dae
[  293.129794] EFLAGS: 00000246 CPU: 0
[  293.129819] EAX: ffffffda EBX: 080615c0 ECX: 00000002 EDX: 080515b8
[  293.129823] ESI: 08061694 EDI: 00000599 EBP: af8abad8 ESP: af8abab8
[  293.129826]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[  293.276233] ------------[ cut here ]------------
[  293.276293] WARNING: CPU: 0 PID: 1257 at kernel/events/core.c:6428 perf_iterate_ctx_matching+0x34/0xfe
[  293.276298] Modules linked in:
[  293.276326] CPU: 0 PID: 1257 Comm: trinity-main Not tainted 4.9.0-02688-g49c04ee #12
[  293.276330] Call Trace:
[  293.276363]  dump_stack+0x73/0xa5
[  293.276390]  ? perf_iterate_ctx_matching+0x34/0xfe
[  293.276397]  __warn+0xb2/0xc9


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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.9.0-02688-g49c04ee" of type "text/plain" (92449 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ