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: <20200702090722.GI3874@shao2-debian>
Date:   Thu, 2 Jul 2020 17:07:22 +0800
From:   kernel test robot <lkp@...el.com>
To:     Masahiro Yamada <masahiroy@...nel.org>
Cc:     Sami Tolvanen <samitolvanen@...gle.com>,
        Steven Rostedt <rostedt@...dmis.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [kbuild] 8e9417d856:
 WARNING:at_kernel/trace/trace.c:#run_tracer_selftest

Greeting,

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

commit: 8e9417d8562c89b62d4c939ec6b016c54d16cc8d ("kbuild: introduce ccflags-remove-y and asflags-remove-y")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

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 SandyBridge -smp 2 -m 16G

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


+-------------------------------------------------------------------------------+------------+------------+
|                                                                               | f80bb31b95 | 8e9417d856 |
+-------------------------------------------------------------------------------+------------+------------+
| boot_successes                                                                | 30         | 0          |
| boot_failures                                                                 | 2          | 34         |
| page_allocation_failure:order:#,mode:#(GFP_NOWAIT|__GFP_COMP),nodemask=(null) | 1          |            |
| Mem-Info                                                                      | 1          |            |
| WARNING:at_kernel/rcu/rcutorture.c:#rcutorture_oom_notify                     | 1          |            |
| RIP:rcutorture_oom_notify                                                     | 1          |            |
| canonical_address#:#[##]                                                      | 1          |            |
| RIP:rcu_torture_fwd_cb_hist                                                   | 1          |            |
| Kernel_panic-not_syncing:Fatal_exception                                      | 1          |            |
| BUG:kernel_hang_in_boot_stage                                                 | 1          | 12         |
| WARNING:at_kernel/trace/trace.c:#run_tracer_selftest                          | 0          | 34         |
| RIP:run_tracer_selftest                                                       | 0          | 34         |
| WARNING:at_kernel/trace/trace.c:#init_trace_selftests                         | 0          | 34         |
| RIP:init_trace_selftests                                                      | 0          | 34         |
| WARNING:at_kernel/trace/ftrace.c:#ftrace_init_array_ops                       | 0          | 34         |
| RIP:ftrace_init_array_ops                                                     | 0          | 34         |
| IP-Config:Auto-configuration_of_network_failed                                | 0          | 22         |
| WARNING:stack_going_in_the_wrong_direction?at_wake_up_q/0x                    | 0          | 3          |
+-------------------------------------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>


[    5.396774] WARNING: CPU: 0 PID: 1 at kernel/trace/trace.c:1814 run_tracer_selftest+0x23d/0x2f8
[    5.396802] Modules linked in:
[    5.396858] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.8.0-rc2-00006-g8e9417d8562c8 #1
[    5.396886] RIP: 0010:run_tracer_selftest+0x23d/0x2f8
[    5.396911] Code: 11 01 4c 89 2d b1 08 d3 01 41 89 c4 85 c0 74 33 48 c7 c7 60 0b 6d 82 48 ff 05 7c 67 d2 02 e8 ae 0a f1 ff 48 ff 05 80 67 d2 02 <0f> 0b 48 ff 05 7f 67 d2 02 48 ff 05 80 67 d2 02 41 83 cc ff e9 98
[    5.396923] RSP: 0000:ffffc9000001fdb8 EFLAGS: 00010202
[    5.396950] RAX: 0000000000000007 RBX: ffffffff834802c0 RCX: 0000000000000000
[    5.396963] RDX: 0000000000000000 RSI: 0000000000000004 RDI: fffff52000003fae
[    5.396976] RBP: ffffffff83480362 R08: 0000000000000007 R09: 0000000000000000
[    5.396989] R10: ffffed1020f96521 R11: ffff888107cb2907 R12: 00000000ffffffff
[    5.397002] R13: ffffffff8349a1e0 R14: 0000000000000000 R15: ffffffff83968070
[    5.397016] FS:  0000000000000000(0000) GS:ffff8883a2200000(0000) knlGS:0000000000000000
[    5.397030] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.397044] CR2: 0000000000000000 CR3: 0000000002e14000 CR4: 00000000000406b0
[    5.397056] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    5.397068] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    5.397099] Call Trace:
[    5.397111]  init_trace_selftests+0xf4/0x274
[    5.397123]  ? latency_fsnotify_init+0x54/0x54
[    5.397135]  do_one_initcall+0x150/0x309
[    5.397148]  ? rcu_lock_acquire+0x22/0x22
[    5.397161]  ? add_sysfs_param+0x6a0/0x6b6
[    5.397173]  ? __kasan_kmalloc+0x83/0x94
[    5.397187]  ? test_bit+0x23/0x2e
[    5.397200]  kernel_init_freeable+0x34e/0x3d0
[    5.397213]  ? rest_init+0x122/0x122
[    5.397225]  kernel_init+0xd/0x116
[    5.397237]  ret_from_fork+0x22/0x30
[    5.397250] ---[ end trace dd714b3d0679334d ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.8.0-rc2-00006-g8e9417d8562c8 .config
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage

        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,
lkp


View attachment "config-5.8.0-rc2-00006-g8e9417d8562c8" of type "text/plain" (150024 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ