* [linus:master] [tomoyo] c5e3cdbf2a: Kernel_panic-not_syncing:STOP
@ 2024-11-22 10:11 kernel test robot
2024-11-22 14:53 ` Tetsuo Handa
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2024-11-22 10:11 UTC (permalink / raw)
To: Paul Moore
Cc: oe-lkp, lkp, linux-kernel, John Johansen, tomoyo-dev-en,
tomoyo-users-en, tomoyo-dev, tomoyo-users, oliver.sang
Hello,
kernel test robot noticed "Kernel_panic-not_syncing:STOP" on:
commit: c5e3cdbf2afedef77b64229fd0aed693abf0a0c4 ("tomoyo: revert CONFIG_SECURITY_TOMOYO_LKM support")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linus/master bf9aa14fc523d2763fc9a10672a709224e8fcaf4]
[test failed on linux-next/master ac24e26aa08fe026804f678599f805eb13374a5d]
in testcase: boot
config: i386-randconfig-005-20241118
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)
+-------------------------------+-----------+------------+
| | v6.12-rc1 | c5e3cdbf2a |
+-------------------------------+-----------+------------+
| boot_successes | 27 | 0 |
| boot_failures | 0 | 18 |
| Kernel_panic-not_syncing:STOP | 0 | 18 |
+-------------------------------+-----------+------------+
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@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202411221744.1a298e1e-lkp@intel.com
[ 4.932564][ T1] netfs: FS-Cache loaded
[ 4.934326][ T1] TOMOYO: 2.6.0
[ 4.935572][ T1] Profile 0 (used by '<kernel>') is not defined.
[ 4.937654][ T1] Userland tools for TOMOYO 2.6 must be installed and policy must be initialized.
[ 4.940603][ T1] Please see https://tomoyo.sourceforge.net/2.6/ for more information.
[ 4.943192][ T1] Kernel panic - not syncing: STOP!
[ 4.944582][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper Tainted: G T 6.12.0-rc1-00001-gc5e3cdbf2afe #1
[ 4.944582][ T1] Tainted: [T]=RANDSTRUCT
[ 4.944582][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 4.944582][ T1] Call Trace:
[ 4.944582][ T1] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:124)
[ 4.944582][ T1] dump_stack (kbuild/src/consumer/lib/dump_stack.c:130)
[ 4.944582][ T1] panic (kbuild/src/consumer/kernel/panic.c:354)
[ 4.944582][ T1] tomoyo_check_profile (kbuild/src/consumer/security/tomoyo/common.c:2785 (discriminator 1))
[ 4.944582][ T1] ? lock_release (kbuild/src/consumer/kernel/locking/lockdep.c:467 kbuild/src/consumer/kernel/locking/lockdep.c:5848)
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20241122/202411221744.1a298e1e-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linus:master] [tomoyo] c5e3cdbf2a: Kernel_panic-not_syncing:STOP
2024-11-22 10:11 [linus:master] [tomoyo] c5e3cdbf2a: Kernel_panic-not_syncing:STOP kernel test robot
@ 2024-11-22 14:53 ` Tetsuo Handa
2024-11-23 11:34 ` Philip Li
0 siblings, 1 reply; 3+ messages in thread
From: Tetsuo Handa @ 2024-11-22 14:53 UTC (permalink / raw)
To: kernel test robot, oe-lkp, lkp; +Cc: linux-kernel, John Johansen, Paul Moore
That commit is not bad.
Kernel config says
CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
# CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING is not set
which is a combination that cannot boot without doing one of choices listed below.
Change CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING to y.
Change CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER to n and
install tomoyo-tools package and initialize on-disk policy.
Modify built-in policy to include a complete set of on-disk policy.
On 2024/11/22 19:11, kernel test robot wrote:
> config: i386-randconfig-005-20241118
Please correct kernel config if random config selection hit this combination.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linus:master] [tomoyo] c5e3cdbf2a: Kernel_panic-not_syncing:STOP
2024-11-22 14:53 ` Tetsuo Handa
@ 2024-11-23 11:34 ` Philip Li
0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2024-11-23 11:34 UTC (permalink / raw)
To: Tetsuo Handa
Cc: kernel test robot, oe-lkp, lkp, linux-kernel, John Johansen, Paul Moore
On Fri, Nov 22, 2024 at 11:53:47PM +0900, Tetsuo Handa wrote:
> That commit is not bad.
>
> Kernel config says
>
> CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
> # CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING is not set
>
> which is a combination that cannot boot without doing one of choices listed below.
>
> Change CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING to y.
>
> Change CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER to n and
> install tomoyo-tools package and initialize on-disk policy.
>
> Modify built-in policy to include a complete set of on-disk policy.
>
> On 2024/11/22 19:11, kernel test robot wrote:
> > config: i386-randconfig-005-20241118
>
> Please correct kernel config if random config selection hit this combination.
Got it, thanks a lot for the info, the bot side will correct the config to avoid
false report.
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-23 11:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-22 10:11 [linus:master] [tomoyo] c5e3cdbf2a: Kernel_panic-not_syncing:STOP kernel test robot
2024-11-22 14:53 ` Tetsuo Handa
2024-11-23 11:34 ` Philip Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®