[PATCH v4 3/5] security: Replace indirect LSM hook calls with static calls

kernel test robot oliver.sang at intel.com
Wed Sep 27 05:26:36 UTC 2023



Hello,

kernel test robot noticed "Kernel_panic-not_syncing:lsm_static_call_init-Ran_out_of_static_slots" on:

commit: e75df0d5718c3d39cd53e2459b04806ed8789253 ("[PATCH v4 3/5] security: Replace indirect LSM hook calls with static calls")
url: https://github.com/intel-lab-lkp/linux/commits/KP-Singh/kernel-Add-helper-macros-for-loop-unrolling/20230922-225925
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/all/20230922145505.4044003-4-kpsingh@kernel.org/
patch subject: [PATCH v4 3/5] security: Replace indirect LSM hook calls with static calls

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)



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 at intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202309271206.d7fb60f9-oliver.sang@intel.com


[    1.002757][    T0] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    1.006940][    T0] MMIO Stale Data: Unknown: No mitigations
[    1.010166][    T0] x86/fpu: x87 FPU will use FXSAVE
[    1.012429][    T0] pid_max: default: 32768 minimum: 301
[    1.014553][    T0] LSM: initializing lsm=capability,integrity
[    1.016244][    T0] Kernel panic - not syncing: lsm_static_call_init - Ran out of static slots.
[    1.018151][    T0] CPU: 0 PID: 0 Comm: swapper Not tainted 6.6.0-rc2-00661-ge75df0d5718c-dirty #1
[    1.018151][    T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[    1.018151][    T0] Call Trace:
[ 1.018151][ T0] dump_stack_lvl (??:?) 
[ 1.018151][ T0] dump_stack (??:?) 
[ 1.018151][ T0] panic (??:?) 
[ 1.018151][ T0] security_add_hooks (??:?) 
[ 1.018151][ T0] capability_init (commoncap.c:?) 


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20230927/202309271206.d7fb60f9-oliver.sang@intel.com



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



More information about the Linux-security-module-archive mailing list