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: <20171110130929.f66263amdsdh2ytf@wfg-t540p.sh.intel.com>
Date:   Fri, 10 Nov 2017 21:09:29 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     linux-kernel@...r.kernel.org
Cc:     Geert Uytterhoeven <geert@...ux-m68k.org>,
        Michael Ellerman <mpe@...erman.id.au>,
        "Feng, Boqun" <boqun.feng@...el.com>,
        Peter Zijlstra <peterz@...radead.org>
Subject: [test_atomics_init] WARNING: CPU: 0 PID: 1 at
 arch/x86/kernel/traps.c:776 do_debug+0x16d/0x420

Hello,

FYI this happens in v4.14-rc8 -- it's not necessarily a new bug.

It occurs in 2 out of 2 boots.

[  261.092371] crc32c: CRC_LE_BITS = 64
[  261.123019] crc32c: self tests passed, processed 225944 bytes in 6425611 nsec
[  261.556182] crc32_combine: 8373 self tests passed
[  261.996164] crc32c_combine: 8373 self tests passed
[  262.153767] ------------[ cut here ]------------
[  262.170771] WARNING: CPU: 0 PID: 1 at arch/x86/kernel/traps.c:776 do_debug+0x16d/0x420:
do_debug at arch/x86/kernel/traps.c:776
[  262.179114] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc8 #503
[  262.181859] task: 915c8000 task.stack: 915c4000
[  262.183279] EIP: do_debug+0x16d/0x420:
do_debug at arch/x86/kernel/traps.c:776
[  262.184967] EFLAGS: 11301202 CPU: 0
[  262.185903] EAX: 00000001 EBX: 00000000 ECX: 00000000 EDX: 00000001
[  262.187852] ESI: 915c5e94 EDI: 915c8000 EBP: 915c5e8c ESP: 915c5e70
[  262.188944]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[  262.190071] CR0: 80050033 CR2: 00000000 CR3: 034b7000 CR4: 00000690
[  262.192543] Call Trace:
[  262.195492]  debug+0x50/0x70:
debug at arch/x86/entry/entry_32.S:951
[  262.196500] EIP: atomic64_sub_return_cx8+0x23/0x30:
atomic64_sub_return_cx8 at arch/x86/lib/atomic64_cx8_32.S:80
[  262.198285] EFLAGS: 11301353 CPU: 0
[  262.199027] EAX: 9ddfadeb EBX: 9ddfadeb ECX: 99920226 EDX: aaa31337
[  262.200070] ESI: 22222222 EDI: 11111111 EBP: 915c5f00 ESP: 915c5ed0
[  262.201859]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[  262.203140]  ? test_atomics_init+0x2be/0x5092:
test_atomics_init at arch/x86/include/asm/atomic64_32.h:123
[  262.204964]  ? trace_hardirqs_on+0xb/0x10:
trace_hardirqs_on at kernel/locking/lockdep.c:2935
[  262.205788]  ? do_one_initcall+0x20a/0x22a:
do_one_initcall at init/main.c:841 (discriminator 3)
[  262.206560]  ? test_atomic+0x312f/0x312f:
test_atomics_init at lib/atomic64_test.c:253
[  262.208250]  ? do_one_initcall+0xb3/0x22a:
do_one_initcall at init/main.c:826
[  262.209067]  ? do_one_initcall+0xb3/0x22a:
do_one_initcall at init/main.c:826
[  262.209838]  ? do_early_param+0x122/0x122:
repair_env_string at init/main.c:244
[  262.211497]  ? parse_args+0x210/0x2a0:
parse_args at kernel/params.c:156
[  262.212317]  ? kernel_init_freeable+0xf9/0x229:
kernel_init_freeable at init/main.c:891
[  262.213137]  ? kernel_init_freeable+0x125/0x229:
kernel_init_freeable at init/main.c:892
[  262.214903]  ? rest_init+0x230/0x230:
kernel_init at init/main.c:990
[  262.215669]  ? kernel_init+0x9/0x190:
kernel_init at init/main.c:995
[  262.216386]  ? rest_init+0x230/0x230:
kernel_init at init/main.c:990
[  262.218007]  ? ret_from_fork+0x19/0x30:
ret_from_fork at arch/x86/entry/entry_32.S:299
[  262.219223] Code: 45 f1 40 74 61 0f b7 46 34 83 e0 03 83 f8 02 77 55 6a 01 31 c9 ba 01 00 00 00 b8 68 73 d9 7a e8 1a 7b 18 00 83 05 80 8a e2 7a 01 <0f> ff 6a 01 31 c9 ba 01 00 00 00 b8 50 73 d9 7a e8 fe 7a 18 00
[  262.251975] ---[ end trace 6fe603cd6404d682 ]---
[  262.299924] atomic64_test: passed for i386+ platform with CX8 and with SSE

Attached the full dmesg, kconfig and reproduce scripts.

Thanks,
Fengguang

View attachment "dmesg-vm-lkp-os-yocto-ia32-3:20171109110926:i386-randconfig-b0-11090954:4.14.0-rc8:503" of type "text/plain" (35876 bytes)

View attachment ".config" of type "text/plain" (105462 bytes)

View attachment "reproduce" of type "text/plain" (2177 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ