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: <20160831014239.GG18184@yexl-desktop>
Date:   Wed, 31 Aug 2016 09:42:39 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Mimi Zohar <zohar@...ux.vnet.ibm.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Mimi Zohar <zohar@...ux.vnet.ibm.com>,
        linux-ima-devel@...ts.sourceforge.net,
        linux-security-module@...r.kernel.org, lkp@...org
Subject: [lkp] [ima]  222fafb6d3: BUG: spinlock bad magic on CPU#0,
 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 222fafb6d3b65e2ab7cf4703b7bbf185bff47f49 ("ima: store the builtin/custom template definitions in a list")

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu Westmere -m 512M

caused below changes:


[    7.396606] Loading compiled-in X.509 certificates
[    7.397364] page_owner is disabled
[    7.400723] Key type encrypted registered
[    7.401350] BUG: spinlock bad magic on CPU#0, swapper/0/1
[    7.402150]  lock: template_list+0x0/0x60, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[    7.403382] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc1-00027-g222fafb6 #1
[    7.404548] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    7.405855]  dffffc0000000000 ffff8800001bfd20 ffffffff815311fd ffffffff833370a0
[    7.407004]  ffff8800001b0000 ffff8800001bfd58 ffffffff8119348b ffffffff824f6fc0
[    7.408117]  ffff8800001bfd90 ffffffff833370a0 0000000000000000 dffffc0000000000
[    7.409277] Call Trace:
[    7.409656]  [<ffffffff815311fd>] dump_stack+0x63/0x86
[    7.410381]  [<ffffffff8119348b>] spin_dump+0x18b/0x240
[    7.411185]  [<ffffffff81193630>] do_raw_spin_lock+0x60/0x260
[    7.412001]  [<ffffffff81d8454b>] _raw_spin_lock+0x3b/0x50
[    7.412822]  [<ffffffff8280b2e8>] ? ima_init_template_list+0x38/0xbb
[    7.413724]  [<ffffffff8280b2e8>] ima_init_template_list+0x38/0xbb
[    7.414753]  [<ffffffff8280aa2b>] ? hash_setup+0x103/0x103
[    7.415534]  [<ffffffff8280aa35>] init_ima+0xa/0x35
[    7.416220]  [<ffffffff810005c3>] do_one_initcall+0x123/0x200
[    7.417072]  [<ffffffff810004a0>] ? initcall_blacklisted+0x170/0x170
[    7.419615]  [<ffffffff81125240>] ? parse_args+0x670/0xa30
[    7.420387]  [<ffffffff827cb844>] kernel_init_freeable+0x2b1/0x35f
[    7.421323]  [<ffffffff81d74aae>] kernel_init+0xe/0x110
[    7.422075]  [<ffffffff81d8513f>] ret_from_fork+0x1f/0x40
[    7.422887]  [<ffffffff81d74aa0>] ? rest_init+0xf0/0xf0
[    7.423680] ima: No TPM chip found, activating TPM-bypass!
[    7.436015]   Magic number: 12:72:851






Thanks,
Xiaolong

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ