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>] [day] [month] [year] [list]
Message-ID: <20170327030231.GB17604@yexl-desktop>
Date:   Mon, 27 Mar 2017 11:02:31 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Vlastimil Babka <vbabka@...e.cz>,
        Mel Gorman <mgorman@...hsingularity.net>,
        Peter Zijlstra <peterz@...radead.org>,
        Todd Brandt <todd.e.brandt@...ux.intel.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Steven Rostedt <rostedt@...dmis.org>, lkp@...org
Subject: [lkp-robot] [ftrace]  42c269c88d:
 WARNING:at_kernel/trace/ftrace.c:#ftrace_bug


FYI, we noticed the following commit:

commit: 42c269c88dc146982a54a8267f71abc99f12852a ("ftrace: Allow for function tracing to record init functions on boot up")
https://git.kernel.org/cgit/linux/kernel/git/rostedt/linux-trace.git ftrace/core

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 Westmere -m 512M

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



[   33.973546] WARNING: CPU: 0 PID: 246 at kernel/trace/ftrace.c:2019 ftrace_bug+0x266/0x360
[   33.973546] WARNING: CPU: 0 PID: 246 at kernel/trace/ftrace.c:2019 ftrace_bug+0x266/0x360
[   33.976774] Modules linked in: cmdlinepart
[   33.976774] Modules linked in: cmdlinepart
[   33.982951] CPU: 0 PID: 246 Comm: trinity-main Not tainted 4.11.0-rc3-00005-g42c269c #1
[   33.982951] CPU: 0 PID: 246 Comm: trinity-main Not tainted 4.11.0-rc3-00005-g42c269c #1
[   33.985586] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   33.985586] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   33.988910] Call Trace:
[   33.988910] Call Trace:
[   33.989766]  dump_stack+0x58/0x74
[   33.989766]  dump_stack+0x58/0x74
[   33.990879]  __warn+0xea/0x110
[   33.990879]  __warn+0xea/0x110
[   33.991920]  ? ftrace_bug+0x266/0x360
[   33.991920]  ? ftrace_bug+0x266/0x360
[   33.993167]  ? i386_start_kernel+0x5/0x9a
[   33.993167]  ? i386_start_kernel+0x5/0x9a
[   33.994522]  warn_slowpath_null+0x2a/0x30
[   33.994522]  warn_slowpath_null+0x2a/0x30
[   33.995844]  ftrace_bug+0x266/0x360
[   33.995844]  ftrace_bug+0x266/0x360
[   33.997052]  ftrace_replace_code+0x20e/0x360
[   33.997052]  ftrace_replace_code+0x20e/0x360
[   33.998537]  ftrace_modify_all_code+0x92/0x120
[   33.998537]  ftrace_modify_all_code+0x92/0x120
[   34.000017]  arch_ftrace_update_code+0xf/0x20
[   34.000017]  arch_ftrace_update_code+0xf/0x20
[   34.001471]  ftrace_run_update_code+0x1b/0x60
[   34.001471]  ftrace_run_update_code+0x1b/0x60
[   34.002893]  ftrace_startup_enable+0x30/0x40
[   34.002893]  ftrace_startup_enable+0x30/0x40
[   34.004338]  ftrace_startup+0xd9/0x250
[   34.004338]  ftrace_startup+0xd9/0x250
[   34.005584]  register_ftrace_function+0x40/0x60
[   34.005584]  register_ftrace_function+0x40/0x60
[   34.007092]  perf_ftrace_event_register+0x67/0x130
[   34.007092]  perf_ftrace_event_register+0x67/0x130
[   34.008727]  perf_trace_init+0xcf/0x2e0
[   34.008727]  perf_trace_init+0xcf/0x2e0
[   34.010023]  perf_tp_event_init+0x1d/0x50
[   34.010023]  perf_tp_event_init+0x1d/0x50
[   34.011365]  perf_try_init_event+0x60/0x80
[   34.011365]  perf_try_init_event+0x60/0x80
[   34.012729]  perf_event_alloc+0x6c0/0x800
[   34.012729]  perf_event_alloc+0x6c0/0x800
[   34.014073]  ? perf_event_alloc+0x353/0x800
[   34.014073]  ? perf_event_alloc+0x353/0x800
[   34.015476]  SyS_perf_event_open+0x3fa/0xf00
[   34.015476]  SyS_perf_event_open+0x3fa/0xf00
[   34.016987]  do_fast_syscall_32+0x9a/0x160
[   34.016987]  do_fast_syscall_32+0x9a/0x160
[   34.018411]  entry_SYSENTER_32+0x47/0x71
[   34.018411]  entry_SYSENTER_32+0x47/0x71
[   34.019722] EIP: 0xb77bccd9
[   34.019722] EIP: 0xb77bccd9
[   34.020677] EFLAGS: 00000286 CPU: 0
[   34.020677] EFLAGS: 00000286 CPU: 0
[   34.021827] EAX: ffffffda EBX: 09c0a9f0 ECX: 00000000 EDX: ffffffff
[   34.021827] EAX: ffffffda EBX: 09c0a9f0 ECX: 00000000 EDX: ffffffff
[   34.023857] ESI: ffffffff EDI: 0000000b EBP: 00000117 ESP: bfd76e4c
[   34.023857] ESI: ffffffff EDI: 0000000b EBP: 00000117 ESP: bfd76e4c
[   34.025895]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[   34.025895]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[   34.053634] ---[ end trace aef11820af4e004f ]---


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.11.0-rc3-00005-g42c269c" of type "text/plain" (125473 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ