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]
Message-ID: <57c740d1.bg42bnGa5X2Fx2iN%xiaolong.ye@intel.com>
Date:   Thu, 01 Sep 2016 04:40:49 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Mimi Zohar <zohar@...ux.vnet.ibm.com>
Cc:     lkp@...org, linux-security-module@...r.kernel.org,
        linux-ima-devel@...ts.sourceforge.net,
        Mimi Zohar <zohar@...ux.vnet.ibm.com>,
        LKML <linux-kernel@...r.kernel.org>
Subject: [ima]  efca4e3a3a: BUG: spinlock bad magic on CPU#1, swapper/0/1


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-restore-kexec
commit efca4e3a3a4191fd8fd43b32433649719abb2e4e ("ima: store the builtin/custom template definitions in a list")

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G

caused below changes:


+---------------------------------------------------------+------------+------------+
|                                                         | 9c1fec0473 | efca4e3a3a |
+---------------------------------------------------------+------------+------------+
| boot_successes                                          | 15         | 0          |
| boot_failures                                           | 1          | 16         |
| BUG:kernel_reboot-without-warning_in_test_stage         | 1          |            |
| message:BUG:kernel_reboot-without-warning_in_test_stage | 0          |            |
| pattern:BUG:kernel_reboot-without-warning_in_test_stage | 0          |            |
| BUG:spinlock_bad_magic_on_CPU                           | 0          | 16         |
| message:BUG:spinlock_bad_magic_on_CPU                   | 0          | 0.0        |
| pattern:BUG:spinlock_bad_magic_on_CPU                   | 0          | 0          |
| calltrace:init_ima                                      | 0          | 16         |
| message:calltrace:init_ima                              | 0          | 0.0        |
| pattern:calltrace:init_ima                              | 0          | 0          |
+---------------------------------------------------------+------------+------------+



[  250.732810] Key type trusted registered
[  250.733393] cryptomgr_probe (174) used greatest stack depth: 29040 bytes left
[  250.782425] Key type encrypted registered
[  250.792975] BUG: spinlock bad magic on CPU#1, swapper/0/1
[  250.805549]  lock: template_list+0x0/0x80, .magic: 00000000, .owner: swapper/0/1, .owner_cpu: 1
[  250.819576] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc1-00027-gefca4e3 #1
[  250.830820] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[  250.843529]  0000000000000000 ffff88011a7ffd40 ffffffff81b9bf0f ffffffff84a42120
[  250.857397]  ffff88011a7f0040 ffff88011a7ffd78 ffffffff8119aad1 1ffffffff0696400
[  250.871105]  ffffffff84a42120 ffffffff835f21e0 dffffc0000000000 ffffffff835f2240
[  250.890963] Call Trace:
[  250.936528]  [<ffffffff81b9bf0f>] dump_stack+0x61/0x7d
[  250.948458]  [<ffffffff8119aad1>] spin_dump+0x16b/0x175
[  250.960423]  [<ffffffff8119ab01>] spin_bug+0x26/0x28
[  250.971503]  [<ffffffff8119b0f2>] do_raw_spin_unlock+0x52/0x19e
[  250.984211]  [<ffffffff829a808a>] _raw_spin_unlock+0x22/0x2c
[  250.996519]  [<ffffffff83e20502>] ima_init_template_list+0xa6/0xb4
[  251.009452]  [<ffffffff83e1fc3b>] ? hash_setup+0x103/0x103
[  251.021219]  [<ffffffff83e1fc45>] init_ima+0xa/0x36
[  251.032037]  [<ffffffff83dd282d>] do_one_initcall+0x112/0x1bd
[  251.044133]  [<ffffffff83dd271b>] ? start_kernel+0x5af/0x5af
[  251.056306]  [<ffffffff81140700>] ? parse_args+0x3c5/0x5d4
[  251.068043]  [<ffffffff83dd2cc8>] kernel_init_freeable+0x3f0/0x4a3
[  251.080939]  [<ffffffff8299cebd>] kernel_init+0xc/0x105
[  251.092221]  [<ffffffff829a899f>] ret_from_fork+0x1f/0x40
[  251.103790]  [<ffffffff8299ceb1>] ? rest_init+0xe8/0xe8
[  251.131376] ima: No TPM chip found, activating TPM-bypass!
[  251.154124] raid6test: testing the 4-disk case...






Thanks,
Kernel Test Robot

View attachment "config-4.8.0-rc1-00027-gefca4e3" of type "text/plain" (104186 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ