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-next>] [day] [month] [year] [list]
Message-ID: <20171124131934.whmnawezbeggbqhm@inn>
Date:   Fri, 24 Nov 2017 21:19:34 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Dave Hansen <dave.hansen@...ux.intel.com>
Cc:     Ingo Molnar <mingo@...nel.org>, Andy Lutomirski <luto@...nel.org>,
        Borislav Petkov <bp@...en8.de>,
        Brian Gerst <brgerst@...il.com>,
        Daniel Gruss <daniel.gruss@...k.tugraz.at>,
        Denys Vlasenko <dvlasenk@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>, Hugh Dickins <hughd@...gle.com>,
        Josh Poimboeuf <jpoimboe@...hat.com>,
        Kees Cook <keescook@...gle.com>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Michael Schwarz <michael.schwarz@...k.tugraz.at>,
        Moritz Lipp <moritz.lipp@...k.tugraz.at>,
        Peter Zijlstra <peterz@...radead.org>,
        Richard Fellner <richard.fellner@...dent.tugraz.at>,
        Thomas Gleixner <tglx@...utronix.de>,
        LKML <linux-kernel@...r.kernel.org>, tipbuild@...or.com,
        lkp@...org
Subject: [x86/mm/kaiser]  a6c70b8b30:
 WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller


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

commit: a6c70b8b30bf35045d14e352bfd1eb16aaee906f ("x86/mm/kaiser: Prepare assembly for entry/exit CR3 switching")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/mm

in testcase: boot

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

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


+----------------+------------+------------+
|                | 02196709f9 | a6c70b8b30 |
+----------------+------------+------------+
| boot_successes | 8          | 0          |
+----------------+------------+------------+



[    9.540289] WARNING: CPU: 1 PID: 136 at kernel/locking/lockdep.c:2967 trace_hardirqs_off_caller+0x66/0x9b
[    9.540289] Modules linked in:
[    9.540289] CPU: 1 PID: 136 Comm: modprobe Not tainted 4.14.0-01229-ga6c70b8 #112
[    9.540289] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    9.540289] task: ffff9173df35c600 task.stack: ffffa3f300ffc000
[    9.540289] RIP: 0010:trace_hardirqs_off_caller+0x66/0x9b
[    9.540289] RSP: 0018:ffffa3f300fffee8 EFLAGS: 00010292
[    9.540289] RAX: 0000000000000025 RBX: ffff9173df35c600 RCX: ffff9173df35c600
[    9.540289] RDX: 0000000000000086 RSI: ffffffff9a134721 RDI: 0000000000000293
[    9.540289] RBP: ffffffff9bf3f0bf R08: 0000000000000001 R09: 0000000000000001
[    9.540289] R10: 0000000000000001 R11: ffff9173df35c600 R12: 0000000000000009
[    9.540289] R13: 00007fa1513ed850 R14: 0000000000000001 R15: 0000000000001000
[    9.540289] FS:  0000000000000000(0000) GS:ffff9173d3000000(0000) knlGS:0000000000000000
[    9.540289] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    9.540289] CR2: 00007fa151611100 CR3: 000000005f36c000 CR4: 00000000000006e0
[    9.540289] Call Trace:
[    9.540289]  trace_hardirqs_off_thunk+0x1a/0x1c
[    9.540289]  entry_SYSCALL_64_fastpath+0x1d/0x9b
[    9.540289] RIP: 0033:0x7fa1514041f9
[    9.540289] RSP: 002b:00007ffcbe1ce428 EFLAGS: 00000246 ORIG_RAX: 000000000000000c
[    9.540289] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa1514041f9
[    9.540289] RDX: 00007ffcbe1ce6a0 RSI: 000055ba785e62e0 RDI: 0000000000000000
[    9.540289] RBP: 00007ffcbe1ce510 R08: 0000000000000001 R09: 00007ffcbe1ce6c9
[    9.540289] R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffcbe1ce520
[    9.540289] R13: 00007fa1513ed850 R14: 00007fa1513ec000 R15: 00007fa1513ec438
[    9.540289] Code: 0f ba e0 09 73 29 e8 b7 d2 69 00 85 c0 74 4e 83 3d 93 84 fc 04 00 75 45 48 c7 c6 eb c7 a5 9c 48 c7 c7 77 3c a4 9c e8 0a 41 01 00 <0f> ff eb 2e 83 bb b8 08 00 00 00 74 25 8b 83 98 08 00 00 c7 83 
[    9.540289] ---[ end trace 9e0af6bfad0a74a0 ]---


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.14.0-01229-ga6c70b8" of type "text/plain" (163397 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ