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:   Wed, 7 Feb 2018 21:43:29 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Joel Fernandes <joelaf@...gle.com>
Cc:     linux-kernel@...r.kernel.org, Joel Fernandes <joelaf@...gle.com>,
        Steven Rostedt <rostedt@...dmis.org>,
        Peter Zilstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        Tom Zanussi <tom.zanussi@...ux.intel.com>,
        Namhyung Kim <namhyung@...nel.org>, kernel-team@...roid.com,
        lkp@...org
Subject: [tracing]  8e130b0d92: WARNING:at_kernel/rcu/tree.c:#rcu_irq_exit

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

commit: 8e130b0d9284a0a01ca1d6ecf8f0896cfc28b112 ("tracing: Improve design of preemptirq tracepoints and its users")
url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/tracing-Improve-design-of-preemptirq-tracepoints-and-its-users/20180207-195707


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 512M

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


+----------------------------------------------------+------------+------------+
|                                                    | e4c1091cb4 | 8e130b0d92 |
+----------------------------------------------------+------------+------------+
| boot_successes                                     | 1          | 0          |
| boot_failures                                      | 0          | 43         |
| WARNING:at_kernel/rcu/tree.c:#rcu_irq_exit         | 0          | 43         |
| RIP:rcu_irq_exit                                   | 0          | 43         |
| WARNING:at_kernel/rcu/tree.c:#rcu_irq_enter        | 0          | 43         |
| RIP:rcu_irq_enter                                  | 0          | 43         |
| WARNING:at_kernel/rcu/tree.c:#rcu_eqs_enter_common | 0          | 43         |
| RIP:rcu_eqs_enter_common                           | 0          | 43         |
+----------------------------------------------------+------------+------------+



[    0.001000] WARNING: CPU: 0 PID: 0 at kernel/rcu/tree.c:892 rcu_irq_exit+0x4d/0x19a
[    0.001000] Modules linked in:
[    0.001000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc7-00430-g8e130b0 #35
[    0.001000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.001000] RIP: 0010:rcu_irq_exit+0x4d/0x19a
[    0.001000] RSP: 0000:ffffffff92803e18 EFLAGS: 00010082
[    0.001000] RAX: 000000000000001d RBX: 0000000000000082 RCX: 70a3d70a3d70a3e0
[    0.001000] RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000046
[    0.001000] RBP: ffffffff910fa412 R08: 00000000c5610c9a R09: 0000000000000004
[    0.001000] R10: 0000000000000001 R11: ffffffff93dc0469 R12: 0000000000000000
[    0.001000] R13: ffffffff93dc0880 R14: 0000000000000002 R15: 0000000000000048
[    0.001000] FS:  0000000000000000(0000) GS:ffff8bfa5f600000(0000) knlGS:0000000000000000
[    0.001000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.001000] CR2: 00000000ffffffff CR3: 0000000009824000 CR4: 00000000000006b0
[    0.001000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.001000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.001000] Call Trace:
[    0.001000]  ? vprintk_emit+0x26c/0x29c
[    0.001000]  rcu_irq_exit_irqson+0x21/0x48
[    0.001000]  trace_hardirqs_on+0xc2/0xd0
[    0.001000]  vprintk_emit+0x26c/0x29c
[    0.001000]  printk+0x43/0x4b
[    0.001000]  lockdep_init+0x36/0xcf
[    0.001000]  start_kernel+0x2fd/0x416
[    0.001000]  secondary_startup_64+0xa5/0xb0
[    0.001000] Code: 08 00 00 00 75 27 83 b8 88 08 00 00 00 74 1e 80 3d ef 68 8c 01 00 75 15 48 c7 c7 a9 e3 5e 92 c6 05 df 68 8c 01 01 e8 31 9d f8 ff <0f> ff 48 c7 c5 a0 9d 1d 00 65 48 03 2d 70 cf ef 6e 83 7d 08 00 
[    0.001000] ---[ end trace 2507864299958132 ]---


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

View attachment "config-4.15.0-rc7-00430-g8e130b0" of type "text/plain" (119407 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ