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: <57d95c9b.2nAf9ZTu8hkLfWhv%xiaolong.ye@intel.com>
Date:   Wed, 14 Sep 2016 22:20:11 +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]  c49613740f: BUG: spinlock trylock failure on UP on CPU#0,
 swapper/1


FYI, we noticed the following commit:

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

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 320M

caused below changes:


+-------------------------------------------+------------+------------+
|                                           | 6c3d0673b8 | c49613740f |
+-------------------------------------------+------------+------------+
| boot_successes                            | 4          | 0          |
| boot_failures                             | 0          | 8          |
| BUG:spinlock_trylock_failure_on_UP_on_CPU | 0          | 8          |
| calltrace:init_ima                        | 0          | 8          |
| BUG:spinlock_lockup_suspected_on_CPU      | 0          | 2          |
+-------------------------------------------+------------+------------+



[    1.030103] page_owner is disabled
[    1.030632] Key type trusted registered
[    1.031236] Key type encrypted registered
[    1.031702] BUG: spinlock trylock failure on UP on CPU#0, swapper/1
[    1.032399]  lock: template_list+0x0/0x48, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[    1.033344] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc1-00027-gc496137 #1
[    1.034164] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    1.035150]  ffffffffbc457420 ffff8800129cfdd8 ffffffffbac301d3 ffff8800129cfdf8
[    1.036041]  ffffffffbaab750d ffffffffbc457420 0000000000000000 ffff8800129cfe18
[    1.036923]  ffffffffbaab7790 ffffffffbc457438 ffffffffbc457420 ffff8800129cfe40
[    1.037812] Call Trace:
[    1.038100]  [<ffffffffbac301d3>] dump_stack+0x19/0x26
[    1.038685]  [<ffffffffbaab750d>] spin_dump+0x6d/0xc0
[    1.039247]  [<ffffffffbaab7790>] do_raw_spin_trylock+0x50/0x60
[    1.039908]  [<ffffffffbb0097ff>] _raw_spin_lock+0x3f/0x70
[    1.040521]  [<ffffffffbabf4f8a>] ? ima_init_template_list+0x2a/0x60
[    1.041304]  [<ffffffffbabf4f8a>] ima_init_template_list+0x2a/0x60
[    1.042071]  [<ffffffffbb8ef850>] ? hash_setup+0xb3/0xb3
[    1.042667]  [<ffffffffbabf4fd9>] ima_init_template_list+0x19/0x20
[    1.043350]  [<ffffffffbb8ef85a>] init_ima+0xa/0x35
[    1.043901]  [<ffffffffbb8ef850>] ? hash_setup+0xb3/0xb3
[    1.044496]  [<ffffffffbb8d6050>] do_one_initcall+0x98/0x13d
[    1.045137]  [<ffffffffbb8d58a3>] ? set_debug_rodata+0x12/0x12
[    1.045791]  [<ffffffffbb8d61fa>] kernel_init_freeable+0x105/0x18d
[    1.046471]  [<ffffffffbb003149>] kernel_init+0x9/0xf0
[    1.047061]  [<ffffffffbb00a69f>] ret_from_fork+0x1f/0x40
[    1.047670]  [<ffffffffbb003140>] ? rest_init+0xc0/0xc0

Elapsed time: 10





Thanks,
Kernel Test Robot

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

View attachment "job-script" of type "text/plain" (3803 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ