[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140629145626.GB9134@localhost>
Date: Sun, 29 Jun 2014 22:56:26 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Stephan Mueller <smueller@...onox.de>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
Jet Chen <jet.chen@...el.com>, Su Tao <tao.su@...el.com>,
Yuanhan Liu <yuanhan.liu@...el.com>, LKP <lkp@...org>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [crypto] kernel BUG at kernel/cred.c:790
Hi Stephan,
This is another error message for the same commit.
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
commit 64d1cdfbe20c50877576045145313c9b062c50f7
Author: Stephan Mueller <smueller@...onox.de>
AuthorDate: Sat May 31 17:25:36 2014 +0200
Commit: Herbert Xu <herbert@...dor.apana.org.au>
CommitDate: Fri Jun 20 21:26:10 2014 +0800
crypto: drbg - Add DRBG test code to testmgr
The DRBG test code implements the CAVS test approach.
As discussed for the test vectors, all DRBG types are covered with
testing. However, not every backend cipher is covered with testing. To
prevent the testmgr from logging missing testing, the NULL test is
registered for all backend ciphers not covered with specific test cases.
All currently implemented DRBG types and backend ciphers are defined
in SP800-90A. Therefore, the fips_allowed flag is set for all.
Signed-off-by: Stephan Mueller <smueller@...onox.de>
Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
===================================================
PARENT COMMIT NOT CLEAN. LOOK OUT FOR WRONG BISECT!
===================================================
Attached dmesg for the parent commit, too, to help confirm whether it is a noise error.
+------------------------------------------+------------+------------+------------------+
| | 3332ee2a17 | 64d1cdfbe2 | v3.16-rc2_062623 |
+------------------------------------------+------------+------------+------------------+
| boot_successes | 83 | 0 | 0 |
| boot_failures | 1 | 19 | 13 |
| general_protection_fault | 1 | | |
| RIP:__lock_acquire | 1 | | |
| Kernel_panic-not_syncing:Fatal_exception | 1 | 19 | 13 |
| backtrace:free_reserved_area | 1 | | |
| backtrace:free_init_pages | 1 | | |
| backtrace:populate_rootfs | 1 | | |
| backtrace:kernel_init_freeable | 1 | | |
| kernel_BUG_at_kernel/cred.c | 0 | 19 | 13 |
| invalid_opcode | 0 | 19 | 13 |
| RIP:__validate_process_creds | 0 | 19 | 13 |
| backtrace:cryptomgr_test | 0 | 19 | 13 |
+------------------------------------------+------------+------------+------------------+
[ 1.091931] CRED: ->*gid = { 0,0,0,0 }
[ 1.092559] CRED: Effective creds == Real creds
[ 1.093464] ------------[ cut here ]------------
[ 1.094334] kernel BUG at kernel/cred.c:790!
[ 1.095457] invalid opcode: 0000 [#1]
[ 1.096230] Modules linked in:
[ 1.096896] CPU: 0 PID: 77 Comm: cryptomgr_test Not tainted 3.16.0-rc1-00011-g64d1cdf #1
[ 1.098434] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
[ 1.099976] task: ffff880011c14000 ti: ffff880011c18000 task.ti: ffff880011c18000
[ 1.100619] RIP: 0010:[<ffffffff82e99f14>] [<ffffffff82e99f14>] __validate_process_creds+0xa9/0xc6
[ 1.100619] RSP: 0000:ffff880011c1bd90 EFLAGS: 00010296
[ 1.100619] RAX: 0000000000000023 RBX: ffff880011c14000 RCX: ffff880011c147c0
[ 1.100619] RDX: 00000000000001c4 RSI: 0000000000000001 RDI: 0000000000000246
[ 1.100619] RBP: ffff880011c1bda8 R08: 0000000000000000 R09: 0000000000000000
[ 1.100619] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 1.100619] R13: ffffffff830745ed R14: 0000000000000000 R15: 0000000000000000
[ 1.100619] FS: 0000000000000000(0000) GS:ffffffff83540000(0000) knlGS:0000000000000000
[ 1.100619] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 1.100619] CR2: 0000000000000000 CR3: 0000000003530000 CR4: 00000000000006f0
[ 1.100619] Stack:
[ 1.100619] 00000324133a3eb0 ffffffff83479888 ffff880011c14000 ffff880011c1bdb8
[ 1.100619] ffffffff82e9a808 ffff880011c1be30 ffffffff82e7e186 ffff880011c1bde8
[ 1.100619] 0000000000000286 ffff8800123fa000 ffff8800123fa08c 0000000011c1be30
[ 1.100619] Call Trace:
[ 1.100619] [<ffffffff82e9a808>] validate_creds_for_do_exit+0x21/0x23
[ 1.100619] [<ffffffff82e7e186>] do_exit+0xd4/0x927
[ 1.100619] [<ffffffff82f1a2de>] ? slob_free+0x264/0x271
[ 1.100619] [<ffffffff830745ed>] ? cryptomgr_notify+0x365/0x365
[ 1.100619] [<ffffffff82ec5f6b>] __module_put_and_exit+0x15/0x15
[ 1.100619] [<ffffffff8307462b>] cryptomgr_test+0x3e/0x3e
[ 1.100619] [<ffffffff82e964d4>] kthread+0xfe/0x106
[ 1.100619] [<ffffffff82e963d6>] ? kthread_create_on_node+0x1b4/0x1b4
[ 1.100619] [<ffffffff8328f8fa>] ret_from_fork+0x7a/0xb0
[ 1.100619] [<ffffffff82e963d6>] ? kthread_create_on_node+0x1b4/0x1b4
[ 1.100619] Code: 05 00 00 48 3b bb 58 05 00 00 74 11 48 89 da 48 c7 c6 0d 9a 47 83 e8 0d fe ff ff eb 0e 48 c7 c7 17 9a 47 83 31 c0 e8 3e e0 3e 00 <0f> 0b 81 79 10 64 65 73 43 75 86 81 78 10 64 65 73 43 0f 85 79
[ 1.100619] RIP [<ffffffff82e99f14>] __validate_process_creds+0xa9/0xc6
[ 1.100619] RSP <ffff880011c1bd90>
[ 1.139825] ---[ end trace 48832184cdccd42e ]---
[ 1.140545] Kernel panic - not syncing: Fatal exception
git bisect start 5dd35a09586ffd4c6bbc1dd80419e14f84aa5ca2 a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee --
git bisect good c25ee141bdf80b619b5610c3da1b1e0c7b7b130f # 10:41 20+ 0 Merge 'nfs/linux-next' into devel-hourly-2014062623
git bisect bad a10d4e58c9d60e8c1db45dbdf15b6e8451e6a5e9 # 10:44 2- 20 Merge 'ipsec/testing' into devel-hourly-2014062623
git bisect good 1aaccd3e6a7639a4ac0acf3db3308291970b794b # 11:04 21+ 1 Merge 'efi/next' into devel-hourly-2014062623
git bisect bad 71db7e0dd17d7fda5c16f75c7c88f20f355ba8c3 # 11:08 1- 14 Merge 'kvm-ppc/kvm-ppc-queue' into devel-hourly-2014062623
git bisect bad 9f9409740f318417a40e004f5378163d241adf43 # 11:19 2- 21 Merge 'cryptodev/master' into devel-hourly-2014062623
git bisect bad b3416fb8a2f5a1653e4ab72b55907794cc10bde1 # 11:26 1- 20 crypto: qat - Intel(R) QAT accelengine part of fw loader
git bisect good 3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24 # 11:35 21+ 1 crypto: drbg - DRBG testmgr test vectors
git bisect bad d8cba25d2c68992a6e7c1d329b690a9ebe01167d # 11:39 1- 4 crypto: qat - Intel(R) QAT driver framework
git bisect bad 3d77565ba5e5b9075a4f6d7d6d15996f5e582659 # 11:42 0- 21 crypto: ccp - Modify PCI support in prep for arm64 support
git bisect bad 64d1cdfbe20c50877576045145313c9b062c50f7 # 11:48 0- 5 crypto: drbg - Add DRBG test code to testmgr
# first bad commit: [64d1cdfbe20c50877576045145313c9b062c50f7] crypto: drbg - Add DRBG test code to testmgr
git bisect good 3332ee2a17b1bd69e4602e2d6ba1b07edb0c9a24 # 11:51 63+ 1 crypto: drbg - DRBG testmgr test vectors
git bisect bad 5dd35a09586ffd4c6bbc1dd80419e14f84aa5ca2 # 11:51 0- 13 0day head guard for 'devel-hourly-2014062623'
git bisect good 24b414d5a7d3e6a716350464dfdb44da610ed142 # 12:13 63+ 2 Merge tag 'spi-v3.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
git bisect bad 96426007c90cde23c0402856f3e0aec0f4cc2e48 # 12:19 0- 1 Add linux-next specific files for 20140627
This script may reproduce the error.
-----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=yocto-minimal-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/blob/master/initrd/$initrd
kvm=(
qemu-system-x86_64 -cpu kvm64 -enable-kvm
-kernel $kernel
-initrd $initrd
-smp 2
-m 256M
-net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio
-net user,vlan=0
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-serial stdio
-display none
-monitor null
)
append=(
debug
sched_debug
apic=debug
ignore_loglevel
sysrq_always_enabled
panic=10
prompt_ramdisk=0
earlyprintk=ttyS0,115200
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
)
"${kvm[@]}" --append "${append[*]}"
-----------------------------------------------------------------------------
Thanks,
Fengguang
View attachment "dmesg-yocto-lkp-wsx01-76:20140629114723:x86_64-randconfig-s1-06271225::" of type "text/plain" (34235 bytes)
View attachment "dmesg-quantal-lkp-wsx02-199:20140629112912:x86_64-randconfig-s1-06271225::" of type "text/plain" (32648 bytes)
Download attachment "x86_64-randconfig-s1-06271225-5dd35a09586ffd4c6bbc1dd80419e14f84aa5ca2-kernel-BUG-at-4708.log" of type "application/octet-stream" (57122 bytes)
View attachment "config-3.16.0-rc1-00011-g64d1cdf" of type "text/plain" (78840 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists