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>] [day] [month] [year] [list]
Message-ID: <57c4d6e8.9dXlSQcgaQ58O09F%xiaolong.ye@intel.com>
Date:   Tue, 30 Aug 2016 08:44:24 +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]  8078f3035b: 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 8078f3035b9dc488ed4e896635f491cdd79e9239 ("ima: store the builtin/custom template definitions in a list")

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

caused below changes:


+----------------+------------+------------+
|                | 379c7b5248 | 8078f3035b |
+----------------+------------+------------+
| boot_successes | 0          | 0          |
+----------------+------------+------------+



[   17.855906] kAFS: Red Hat AFS client v0.1 registering.
[   17.860556] Key type trusted registered
[   17.862727] Key type encrypted registered
[   17.863678] BUG: spinlock bad magic on CPU#1, swapper/0/1
[   17.864810]  lock: template_list+0x0/0x38, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[   17.866700] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc1-00027-g8078f30 #1
[   17.868375] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   17.870267]  0000000000000000 ffff88001ceefdd0 ffffffffa3c29e13 0000000000000000
[   17.872268]  ffffffffa7b29180 ffff88001ceefdf0 ffffffffa35a6547 ffffffffa7b29180
[   17.874302]  0000000000000003 ffff88001ceefe10 ffffffffa35a658a ffffffffa7b29180
[   17.876716] Call Trace:
[   17.877559]  [<ffffffffa3c29e13>] dump_stack+0xc5/0x128
[   17.878578]  [<ffffffffa35a6547>] spin_dump+0x9f/0xa4
[   17.879729]  [<ffffffffa35a658a>] spin_bug+0x3e/0x40
[   17.881509]  [<ffffffffa35a66fa>] do_raw_spin_lock+0x5b/0x20c
[   17.883350]  [<ffffffffa6bea897>] ? do_early_param+0xbb/0xbb
[   17.884465]  [<ffffffffa4af45ea>] _raw_spin_lock+0x3a/0x41
[   17.885514]  [<ffffffffa6c4e2fa>] ? ima_init_template_list+0x10/0x5b
[   17.886662]  [<ffffffffa6c4dd75>] ? hash_setup+0x113/0x113
[   17.887710]  [<ffffffffa6c4e2fa>] ima_init_template_list+0x10/0x5b
[   17.888860]  [<ffffffffa6c4dd7f>] init_ima+0xa/0x49
[   17.890116]  [<ffffffffa6beb621>] do_one_initcall+0xaf/0x1b9
[   17.891212]  [<ffffffffa6bea897>] ? do_early_param+0xbb/0xbb
[   17.892288]  [<ffffffffa6beb85c>] kernel_init_freeable+0x131/0x1fb
[   17.893385]  [<ffffffffa4aec274>] kernel_init+0xe/0x16a
[   17.894442]  [<ffffffffa4af55ef>] ret_from_fork+0x1f/0x40
[   17.895453]  [<ffffffffa4aec266>] ? rest_init+0x15d/0x15d
[   17.924479] ima: No TPM chip found, activating TPM-bypass!
[   17.926167] evm: HMAC attrs: 0x0






Thanks,
Kernel Test Robot

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ