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]
Date:   Wed, 27 Sep 2023 13:26:36 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     KP Singh <kpsingh@...nel.org>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        Casey Schaufler <casey@...aufler-ca.com>,
        Kees Cook <keescook@...omium.org>, Song Liu <song@...nel.org>,
        <linux-kernel@...r.kernel.org>,
        <linux-security-module@...r.kernel.org>, <bpf@...r.kernel.org>,
        <paul@...l-moore.com>, <daniel@...earbox.net>, <ast@...nel.org>,
        <kpsingh@...nel.org>, <renauld@...gle.com>, <oliver.sang@...el.com>
Subject: Re: [PATCH v4 3/5] security: Replace indirect LSM hook calls with
 static calls



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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ