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: <20160413014202.GA659@yexl-desktop>
Date:	Wed, 13 Apr 2016 09:42:02 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Shawn Guo <shawnguo@...nel.org>
Cc:	0day robot <fengguang.wu@...el.com>,
	LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [scatterlist] c38ecfb12e: kernel BUG at
 crypto/scatterwalk.c:37!

FYI, we noticed the below changes on

https://github.com/0day-ci/linux Shawn-Guo/scatterlist-use-sg_dma_len-in-sg_set_page/20160411-105225
commit c38ecfb12e9a4c0c17d0879090741d6ce2a200de ("scatterlist: use sg_dma_len() in sg_set_page()")


+------------------------------------------------------------------+----------+------------+
|                                                                  | v4.6-rc3 | c38ecfb12e |
+------------------------------------------------------------------+----------+------------+
| kernel_BUG_at_crypto/scatterwalk.c                               | 0        | 32         |
| invalid_opcode:#[##]DEBUG_PAGEALLOC                              | 0        | 32         |
| RIP:scatterwalk_start                                            | 0        | 32         |
| Kernel_panic-not_syncing:Fatal_exception                         | 0        | 32         |
| backtrace:bt_selftest_smp                                        | 0        | 32         |
| backtrace:bt_selftest_init                                       | 0        | 32         |
+------------------------------------------------------------------+----------+------------+



[   20.259507] cryptomgr_probe (141) used greatest stack depth: 14344 bytes left
[   20.260567] cryptomgr_probe (145) used greatest stack depth: 14280 bytes left
[   20.261260] ------------[ cut here ]------------
[   20.261681] kernel BUG at crypto/scatterwalk.c:37!
[   20.262293] invalid opcode: 0000 [#1] DEBUG_PAGEALLOC 
[   20.262776] Modules linked in:
[   20.263070] CPU: 0 PID: 1 Comm: swapper Not tainted 4.6.0-rc3-00001-gc38ecfb #1
[   20.263714] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   20.264500] task: ffff88001217c000 ti: ffff880012180000 task.ti: ffff880012180000
[   20.265162] RIP: 0010:[<ffffffff8ac7f8ad>]  [<ffffffff8ac7f8ad>] scatterwalk_start+0x41/0x55
[   20.265959] RSP: 0000:ffff880012183b00  EFLAGS: 00010246
[   20.266434] RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff8aa734f6
[   20.267063] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8bad0048
[   20.267700] RBP: ffff880012183b20 R08: ffff880012183d20 R09: 0000000000000002
[   20.268330] R10: ffff880012183c80 R11: 0000000000000000 R12: ffff880012183d30
[   20.268966] R13: ffff880012183bf0 R14: 0000000000000000 R15: 0000000000000000
[   20.269592] FS:  0000000000000000(0000) GS:ffffffff8b830000(0000) knlGS:0000000000000000
[   20.270332] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   20.270844] CR2: 0000000000000000 CR3: 000000000b80c000 CR4: 00000000000006f0
[   20.271474] Stack:
[   20.271661]  ffff880012183bd0 0000000000000002 0000000000000000 ffff880012183c80
[   20.272364]  ffff880012183b58 ffffffff8ac82d82 ffff880012183bd0 0000000000000010
[   20.273069]  ffff880010dafc68 0000000000000010 ffffffff8aa734f6 ffff880012183b68
[   20.273776] Call Trace:
[   20.274006]  [<ffffffff8ac82d82>] blkcipher_walk_first+0x12d/0x243
[   20.274552]  [<ffffffff8aa734f6>] ? aes_decrypt+0x6d/0x6d
[   20.275034]  [<ffffffff8ac82ed2>] blkcipher_walk_virt+0x3a/0x3c
[   20.275557]  [<ffffffff8ac9246f>] crypto_ecb_crypt+0x2e/0x97
[   20.276060]  [<ffffffff8aa28557>] ? __kernel_fpu_end+0x41/0x43
[   20.276582]  [<ffffffff8ac92573>] crypto_ecb_encrypt+0x46/0x55
[   20.277102]  [<ffffffff8ac7dad5>] ? setkey+0x10a/0x117
[   20.277574]  [<ffffffff8aa47e8f>] ? pvclock_clocksource_read+0x6e/0x110
[   20.278187]  [<ffffffff8acbac90>] ? sg_assign_page+0x3a/0x5a
[   20.278764]  [<ffffffff8ac82fe7>] skcipher_crypt_blkcipher+0x35/0x37
[   20.279337]  [<ffffffff8ac82fe7>] ? skcipher_crypt_blkcipher+0x35/0x37
[   20.279921]  [<ffffffff8ac83001>] skcipher_encrypt_blkcipher+0x18/0x1a
[   20.280504]  [<ffffffff8b0db2c1>] smp_e+0x140/0x1a5
[   20.280969]  [<ffffffff8b0db364>] smp_ah+0x3e/0x81
[   20.281398]  [<ffffffff8bf25b84>] bt_selftest_smp+0x127/0x856
[   20.281919]  [<ffffffff8aadcc4e>] ? debug_mutex_unlock+0x233/0x2ac
[   20.282468]  [<ffffffff8b11d451>] ? __mutex_unlock_slowpath+0x1bd/0x1c8
[   20.283054]  [<ffffffff8b11d465>] ? mutex_unlock+0x9/0xb
[   20.283527]  [<ffffffff8bf26646>] bt_selftest_init+0x197/0x1ae
[   20.284045]  [<ffffffff8bf264af>] ? test_ecdh_sample+0x96/0x96
[   20.284570]  [<ffffffff8aa00465>] do_one_initcall+0x12f/0x21c
[   20.285095]  [<ffffffff8bebc414>] kernel_init_freeable+0x115/0x1d3
[   20.285645]  [<ffffffff8b111a1c>] kernel_init+0x9/0x15b
[   20.286138]  [<ffffffff8b120922>] ret_from_fork+0x22/0x40
[   20.286617]  [<ffffffff8b111a13>] ? rest_init+0xba/0xba
[   20.287085] Code: fd 49 89 f4 48 c7 c7 48 00 ad 8b 45 85 f6 0f 94 c3 31 d2 89 de 48 83 c3 02 e8 2c 63 ec ff 48 ff 04 dd 68 26 c4 8b 45 85 f6 75 02 <0f> 0b 41 8b 44 24 08 5b 41 5c 41 89 45 08 41 5d 41 5e 5d c3 31 
[   20.289560] RIP  [<ffffffff8ac7f8ad>] scatterwalk_start+0x41/0x55
[   20.290117]  RSP <ffff880012183b00>
[   20.290459] ---[ end trace 9e10e2ce7abe5940 ]---
[   20.290886] Kernel panic - not syncing: Fatal exception


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -cpu Westmere -kernel /pkg/linux/x86_64-randconfig-n0-04111246/gcc-5/c38ecfb12e9a4c0c17d0879090741d6ce2a200de/vmlinuz-4.6.0-rc3-00001-gc38ecfb -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-ia32-13/bisect_boot-1-yocto-minimal-i386.cgz-x86_64-randconfig-n0-04111246-c38ecfb12e9a4c0c17d0879090741d6ce2a200de-20160411-124852-85aq5l-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-n0-04111246 branch=linux-devel/devel-spot-201604111237 commit=c38ecfb12e9a4c0c17d0879090741d6ce2a200de BOOT_IMAGE=/pkg/linux/x86_64-randconfig-n0-04111246/gcc-5/c38ecfb12e9a4c0c17d0879090741d6ce2a200de/vmlinuz-4.6.0-rc3-00001-gc38ecfb max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-ia32/yocto-minimal-i386.cgz/x86_64-randconfig-n0-04111246/gcc-5/c38ecfb12e9a4c0c17d0879090741d6ce2a200de/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-kbuild-yocto-ia32-13::dhcp drbd.minor_count=8'  -initrd /fs/sde1/initrd-vm-kbuild-yocto-ia32-13 -m 320 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sde1/disk0-vm-kbuild-yocto-ia32-13,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-ia32-13 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-ia32-13 -daemonize -display none -monitor null 





Thanks,
Xiaolong Ye

View attachment "config-4.6.0-rc3-00001-gc38ecfb" of type "text/plain" (111564 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ