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: <20180317144909.gxoaxxamlhu4sg5b@inn>
Date:   Sat, 17 Mar 2018 22:49:09 +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]  45382b2a36:
 WARNING:at_kernel/locking/lockdep.c:#check_flags

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

commit: 45382b2a369a50f62c64e07cb6f59992baeb9479 ("tracing: Improve design of preemptirq tracepoints and its users")
url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/Improve-preemptirq-tracepoint-usage/20180317-155535


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge -smp 2 -m 1G

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


+--------------------------------------------------+------------+------------+
|                                                  | 3266b5bd97 | 45382b2a36 |
+--------------------------------------------------+------------+------------+
| boot_successes                                   | 8          | 0          |
| boot_failures                                    | 0          | 8          |
| WARNING:at_kernel/locking/lockdep.c:#check_flags | 0          | 8          |
| RIP:check_flags                                  | 0          | 8          |
+--------------------------------------------------+------------+------------+



[    0.001000] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3826 check_flags+0xc5/0x1d0
[    0.001000] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3826 check_flags+0xc5/0x1d0
[    0.001000] Modules linked in:
[    0.001000] Modules linked in:
[    0.001000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.16.0-rc4-00340-g45382b2 #1
[    0.001000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.16.0-rc4-00340-g45382b2 #1
[    0.001000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.001000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.001000] RIP: 0010:check_flags+0xc5/0x1d0
[    0.001000] RIP: 0010:check_flags+0xc5/0x1d0
[    0.001000] RSP: 0000:ffffffff82403e78 EFLAGS: 00010086
[    0.001000] RSP: 0000:ffffffff82403e78 EFLAGS: 00010086
[    0.001000] RAX: 0000000000000000 RBX: ffffffff8247a500 RCX: 0000000000000000
[    0.001000] RAX: 0000000000000000 RBX: ffffffff8247a500 RCX: 0000000000000000
[    0.001000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000046
[    0.001000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000046
[    0.001000] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[    0.001000] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[    0.001000] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    0.001000] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    0.001000] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000
[    0.001000] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000
[    0.001000] FS:  0000000000000000(0000) GS:ffffffff82486000(0000) knlGS:0000000000000000
[    0.001000] FS:  0000000000000000(0000) GS:ffffffff82486000(0000) knlGS:0000000000000000
[    0.001000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.001000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.001000] CR2: 00000000ffffffff CR3: 0000000002474000 CR4: 00000000000406b0
[    0.001000] CR2: 00000000ffffffff CR3: 0000000002474000 CR4: 00000000000406b0
[    0.001000] Call Trace:
[    0.001000] Call Trace:
[    0.001000]  lock_acquire+0x55/0x1b0
[    0.001000]  lock_acquire+0x55/0x1b0
[    0.001000]  console_lock+0x42/0x70
[    0.001000]  console_lock+0x42/0x70
[    0.001000]  ? register_console+0x1f6/0x3d0
[    0.001000]  ? register_console+0x1f6/0x3d0
[    0.001000]  register_console+0x1f6/0x3d0
[    0.001000]  register_console+0x1f6/0x3d0
[    0.001000]  univ8250_console_init+0x24/0x27
[    0.001000]  univ8250_console_init+0x24/0x27
[    0.001000]  console_init+0x16/0x25
[    0.001000]  console_init+0x16/0x25
[    0.001000]  start_kernel+0x416/0x61e
[    0.001000]  start_kernel+0x416/0x61e
[    0.001000]  secondary_startup_64+0xa5/0xb0
[    0.001000]  secondary_startup_64+0xa5/0xb0
[    0.001000] Code: 85 c0 0f 84 00 01 00 00 44 8b 15 af 21 94 02 45 85 d2 0f 85 f0 00 00 00 48 c7 c6 0b c2 10 82 48 c7 c7 db b2 0f 82 e8 9b 6a fb ff <0f> 0b e9 d6 00 00 00 8b 05 6e 4a 3e 01 a9 00 00 0f 00 0f 85 9d 
[    0.001000] Code: 85 c0 0f 84 00 01 00 00 44 8b 15 af 21 94 02 45 85 d2 0f 85 f0 00 00 00 48 c7 c6 0b c2 10 82 48 c7 c7 db b2 0f 82 e8 9b 6a fb ff <0f> 0b e9 d6 00 00 00 8b 05 6e 4a 3e 01 a9 00 00 0f 00 0f 85 9d 
[    0.001000] ---[ end trace 142a0423c71f6258 ]---


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.16.0-rc4-00340-g45382b2" of type "text/plain" (117022 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ