[robertosassu:ima-evm-lsms-v4-devel-v7] [evm] ea31d8b249: Kernel_panic-not_syncing:security_add_hooks_Too_many_LSMs_registered

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Message-ID: <202310242253.12601f42-oliver.sang@xxxxxxxxx>
TO: Roberto Sassu <roberto.sassu@xxxxxxxxxx>
CC: oe-lkp@xxxxxxxxxxxxxxx, lkp@xxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-integrity@xxxxxxxxxxxxxxx, linux-security-module@xxxxxxxxxxxxxxx
BCC: 



Hello,

kernel test robot noticed "Kernel_panic-not_syncing:security_add_hooks_Too_many_LSMs_registered" on:

commit: ea31d8b2497ad757c81550037fe49a28e8fe5887 ("evm: Move to LSM infrastructure")
https://github.com/robertosassu/linux ima-evm-lsms-v4-devel-v7

in testcase: boot

compiler: gcc-12
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(please refer to attached dmesg/kmsg for entire log/backtrace)


+----------------------------------------------------------------------+------------+------------+
|                                                                      | df77cb3dab | ea31d8b249 |
+----------------------------------------------------------------------+------------+------------+
| Kernel_panic-not_syncing:security_add_hooks_Too_many_LSMs_registered | 0          | 6          |
+----------------------------------------------------------------------+------------+------------+


If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202310242253.12601f42-oliver.sang@xxxxxxxxx


[    9.120367][    T0] x86/fpu: x87 FPU will use FXSAVE
[    9.133888][    T0] Freeing SMP alternatives memory: 32K
[    9.136370][    T0] pid_max: default: 32768 minimum: 301
[    9.144589][    T0] LSM: initializing lsm=capability,landlock,safesetid,integrity,ima,evm
[    9.148867][    T0] landlock: Up and running.
[    9.152625][    T0] Kernel panic - not syncing: security_add_hooks Too many LSMs registered.
[    9.156308][    T0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.6.0-rc3-00044-gea31d8b2497a #1 0abe8f00443bfd0d07e7cec4aee08e82c1b9667d
[    9.156308][    T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[    9.156308][    T0] Call Trace:
[ 9.156308][ T0] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:107) 
[ 9.156308][ T0] dump_stack (kbuild/src/consumer/lib/dump_stack.c:114) 
[ 9.156308][ T0] panic (kbuild/src/consumer/kernel/panic.c:340) 
[ 9.156308][ T0] security_add_hooks (kbuild/src/consumer/security/security.c:559) 
[ 9.156308][ T0] init_evm_lsm (kbuild/src/consumer/security/integrity/evm/evm_main.c:1046) 


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20231024/202310242253.12601f42-oliver.sang@xxxxxxxxx



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux