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: <20191201154631.GO18573@shao2-debian>
Date:   Sun, 1 Dec 2019 23:46:31 +0800
From:   kenerl test robot <rong.a.chen@...el.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [tracing] bf8e602186:
 WARNING:at_kernel/trace/trace.c:#create_trace_option_files

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

commit: bf8e602186ec402ed937b2cbd6c39a34c0029757 ("tracing: Do not create tracefs files if tracefs lockdown is in effect")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: boot

on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

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


+------------------------------------------------------------+------------+------------+
|                                                            | 17911ff38a | bf8e602186 |
+------------------------------------------------------------+------------+------------+
| boot_successes                                             | 0          | 0          |
| boot_failures                                              | 8          | 8          |
| WARNING:at_fs/open.c:#do_dentry_open                       | 8          | 8          |
| EIP:do_dentry_open                                         | 8          | 8          |
| WARNING:at_kernel/trace/trace.c:#create_trace_option_files | 0          | 8          |
| EIP:create_trace_option_files                              | 0          | 8          |
+------------------------------------------------------------+------------+------------+


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


[    1.049546] WARNING: CPU: 0 PID: 1 at kernel/trace/trace.c:8107 create_trace_option_files+0x134/0x148
[    1.051505] Modules linked in:
[    1.051928] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.0-rc2-00007-gbf8e602186ec4 #2
[    1.052316] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    1.052316] EIP: create_trace_option_files+0x134/0x148
[    1.052316] Code: fe ff ff 89 46 0c 59 58 83 7e 0c 00 75 20 80 3d e3 d3 c7 c1 00 75 17 ff 37 68 7b 54 a6 c1 c6 05 e3 d3 c7 c1 01 e8 46 77 f8 ff <0f> 0b 58 5a 83 c7 08 83 c6 10 eb 94 8d 65 f4 5b 5e 5f 5d c3 55 89
[    1.052316] EAX: 0000002e EBX: c1bc1900 ECX: 00000000 EDX: 0000020c
[    1.052316] ESI: f0e54f80 EDI: c1bc1d2c EBP: f0cb5f10 ESP: f0cb5ef4
[    1.052316] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00010282
[    1.052316] CR0: 80050033 CR2: 00000000 CR3: 01d98000 CR4: 000406d0
[    1.052316] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[    1.052316] DR6: fffe0ff0 DR7: 00000400
[    1.052316] Call Trace:
[    1.052316]  __update_tracer_options+0x23/0x2c
[    1.052316]  tracer_init_tracefs+0x140/0x166
[    1.052316]  ? register_tracer+0x21d/0x21d
[    1.052316]  do_one_initcall+0x7c/0x184
[    1.052316]  ? set_debug_rodata+0x2d/0x2d
[    1.052316]  ? trace_initcall_level+0x4c/0x50
[    1.052316]  kernel_init_freeable+0x138/0x1fe
[    1.052316]  ? rest_init+0xdc/0xdc
[    1.052316]  kernel_init+0x8/0xd0
[    1.052316]  ret_from_fork+0x1e/0x28
[    1.052316] ---[ end trace 42d703653fa60537 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc2-00007-gbf8e602186ec4 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=i386 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,
Rong Chen


View attachment "config-5.4.0-rc2-00007-gbf8e602186ec4" of type "text/plain" (142907 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ