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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 23 May 2016 16:50:54 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	David Howells <dhowells@...hat.com>
Cc:	lkp@...org, David Howells <dhowells@...hat.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [x86] ad81363cd6: kernel BUG at lib/atomic64_test.c:184!



FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs iso-atomic
commit ad81363cd63bc4700ad2f98e91cb20faf81e5c04 ("x86: Use ISO atomics")


on test machine: vm-vp-quantal-x86_64: 2 threads qemu-system-x86_64 -enable-kvm with 360M memory

caused below changes:


+------------------------------------------+------------+------------+
|                                          | 2359154bd8 | ad81363cd6 |
+------------------------------------------+------------+------------+
| boot_successes                           | 10         | 0          |
| boot_failures                            | 0          | 10         |
| kernel_BUG_at_lib/atomic64_test.c        | 0          | 10         |
| invalid_opcode:#[##]SMP                  | 0          | 10         |
| RIP:test_atomic64                        | 0          | 10         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 10         |
| backtrace:test_atomics                   | 0          | 10         |
| backtrace:kernel_init_freeable           | 0          | 10         |
+------------------------------------------+------------+------------+



[    0.949900]    generic_sse: 17784.000 MB/sec
[    0.950806] xor: using function: prefetch64-sse (19576.000 MB/sec)
[    0.951956] ------------[ cut here ]------------
[    0.952898] kernel BUG at lib/atomic64_test.c:184!
[    0.954041] invalid opcode: 0000 [#1] SMP 
[    0.955069] Modules linked in:
[    0.955936] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-00010-gad81363 #1
[    0.957161] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    0.958950] task: ffff880013028040 ti: ffff880013030000 task.ti: ffff880013030000
[    0.960559] RIP: 0010:[<ffffffff827f6ac0>]  [<ffffffff827f6ac0>] test_atomic64+0x9c2/0x9c4
[    0.962392] RSP: 0000:ffff880013033e78  EFLAGS: 00010246
[    0.963427] RAX: 1111111122222222 RBX: ffffffff827f6ac2 RCX: deadbeefdeafcafe
[    0.964645] RDX: 1111111122222221 RSI: aaa31337c001d00d RDI: 0000000000000246
[    0.965842] RBP: ffff880013033e88 R08: 2002011000001001 R09: ffff8800131f0000
[    0.967053] R10: ffff880013033e70 R11: ffffffff821b37a0 R12: ffff8800131f0008
[    0.968272] R13: 0000000000000000 R14: ffffffff8241d050 R15: ffff880013dd63c0
[    0.969481] FS:  0000000000000000(0000) GS:ffff880013c00000(0000) knlGS:0000000000000000
[    0.971179] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.972239] CR2: 00000000ffffffff CR3: 0000000002418000 CR4: 00000000000006f0
[    0.973445] Stack:
[    0.974101]  1111111122222221 1111111122222222 ffff880013033e98 ffffffff827f6ad0
[    0.975976]  ffff880013033f08 ffffffff81000403 ffffffff823a7000 ffffffff8239fd88
[    0.977856]  ffff880014e1550e 0000000000000200 ffffffff821f5075 0000000000000001
[    0.979738] Call Trace:
[    0.980451]  [<ffffffff827f6ad0>] test_atomics+0xe/0xe
[    0.981450]  [<ffffffff81000403>] do_one_initcall+0xe8/0x17b
[    0.982504]  [<ffffffff827af83a>] ? set_debug_rodata+0x12/0x12
[    0.983572]  [<ffffffff827b00d4>] kernel_init_freeable+0x1cf/0x257
[    0.984672]  [<ffffffff81cac102>] kernel_init+0xe/0xf5
[    0.985669]  [<ffffffff81cba772>] ret_from_fork+0x22/0x50
[    0.986687]  [<ffffffff81cac0f4>] ? rest_init+0x13b/0x13b
[    0.987713] Code: 22 22 11 11 11 11 48 89 45 f0 48 8b 45 f0 48 89 45 f8 48 8b 45 f8 48 85 c0 7e 10 48 8d 50 ff 48 8b 45 f8 f0 48 0f b1 55 f0 75 e3 <0f> 0b 55 48 89 e5 e8 fd ee ff ff e8 2e f6 ff ff 55 45 31 c9 48 
[    0.995163] RIP  [<ffffffff827f6ac0>] test_atomic64+0x9c2/0x9c4
[    0.996308]  RSP <ffff880013033e78>
[    0.997140] ---[ end trace b63161db4a10d7b2 ]---
[    0.998082] Kernel panic - not syncing: Fatal exception


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -kernel /pkg/linux/x86_64-nfsroot/gcc-6/ad81363cd63bc4700ad2f98e91cb20faf81e5c04/vmlinuz-4.6.0-00010-gad81363 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-x86_64-61/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-nfsroot-ad81363cd63bc4700ad2f98e91cb20faf81e5c04-20160523-106725-1xpyqfq-0.yaml ARCH=x86_64 kconfig=x86_64-nfsroot branch=linux-devel/devel-hourly-2016052013 commit=ad81363cd63bc4700ad2f98e91cb20faf81e5c04 BOOT_IMAGE=/pkg/linux/x86_64-nfsroot/gcc-6/ad81363cd63bc4700ad2f98e91cb20faf81e5c04/vmlinuz-4.6.0-00010-gad81363 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-vp-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-nfsroot/gcc-6/ad81363cd63bc4700ad2f98e91cb20faf81e5c04/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-vp-quantal-x86_64-61::dhcp drbd.minor_count=8'  -initrd /fs/sdd1/initrd-vm-vp-quantal-x86_64-61 -m 360 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-vp-quantal-x86_64-61 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-x86_64-61 -daemonize -display none -monitor null 





Thanks,
Kernel Test Robot

View attachment "config-4.6.0-00010-gad81363" of type "text/plain" (109971 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (6348 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ