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: <20171113020822.GH22793@yexl-desktop>
Date:   Mon, 13 Nov 2017 10:08:22 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Andy Lutomirski <luto@...nel.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Andy Lutomirski <luto@...capital.net>, lkp@...org
Subject: [lkp-robot] [x86/entry/64]  66688e9d11:
 WARNING:at_kernel/locking/lockdep.c:#check_flags


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

commit: 66688e9d11455f15983d08e7c14733969cd25919 ("x86/entry/64: Create a percpu SYSCALL entry trampoline")
https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_stack.wip

in testcase: boot

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

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


+--------------------------------------------------+------------+------------+
|                                                  | 73a713a46e | 66688e9d11 |
+--------------------------------------------------+------------+------------+
| boot_successes                                   | 8          | 0          |
| boot_failures                                    | 0          | 8          |
| WARNING:at_kernel/locking/lockdep.c:#check_flags | 0          | 8          |
| RIP:check_flags                                  | 0          | 8          |
+--------------------------------------------------+------------+------------+



[   29.569704] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3911 check_flags+0x68/0x1d0
[   29.570882] CPU: 0 PID: 1 Comm: init Not tainted 4.14.0-rc7-00075-g66688e9 #1
[   29.571716] task: ffff880000078000 task.stack: ffffc90000008000
[   29.572412] RIP: 0010:check_flags+0x68/0x1d0
[   29.572917] RSP: 0018:ffffc9000000beb0 EFLAGS: 00010082
[   29.573527] RAX: 000000000000002e RBX: ffff880000078000 RCX: 0000000000000000
[   29.574360] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81168345
[   29.575188] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   29.576019] R10: 0000000000000000 R11: ffff880000078000 R12: 0000000000000000
[   29.576857] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000
[   29.577701] FS:  0000000000000000(0000) GS:ffffffff82c3c000(0000) knlGS:0000000000000000
[   29.578665] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   29.579328] CR2: 00007fd3355def3c CR3: 0000000014db3000 CR4: 00000000000006b0
[   29.580154] Call Trace:
[   29.580448]  lock_acquire+0x6d/0x1ca
[   29.580878]  vtime_user_exit+0x3c/0xa0
[   29.581321]  ? __context_tracking_exit+0x47/0x130
[   29.581876]  __context_tracking_exit+0x47/0x130
[   29.582409]  do_syscall_64+0x1cf/0x200
[   29.582862]  entry_SYSCALL64_slow_path+0x25/0x25
[   29.583387] RIP: 0033:0x7fd3355dae7a
[   29.583829] RSP: 002b:00007ffee77e70f8 EFLAGS: 00000246 ORIG_RAX: 000000000000000c
[   29.584682] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007fd3355dae7a
[   29.585511] RDX: 0000000000000000 RSI: 00007fd3355df720 RDI: 0000000000000000
[   29.586332] RBP: 00000000078bfbfd R08: 00007ffee77e73b9 R09: 00007ffee77ec000
[   29.587163] R10: 000000000000037f R11: 0000000000000246 R12: 00007ffee77e73c9
[   29.587991] R13: 0000000000000000 R14: 000056117f2ce524 R15: 0000000000001000
[   29.588846] Code: 29 00 85 c0 0f 84 4a 01 00 00 8b 05 43 9d 08 03 85 c0 0f 85 3c 01 00 00 48 c7 c6 b0 a7 93 82 48 c7 c7 9f 6f 92 82 e8 a2 e8 00 00 <0f> ff e9 22 01 00 00 8b 05 ab 7a 04 03 85 c0 0f 85 36 01 00 00 
[   29.591054] ---[ end trace f97ede80dbcb4ee1 ]---


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

View attachment "config-4.14.0-rc7-00075-g66688e9" of type "text/plain" (109985 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ