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: <202402262159.183c2a37-lkp@intel.com>
Date: Mon, 26 Feb 2024 22:34:52 +0800
From: kernel test robot <oliver.sang@...el.com>
To: "H. Peter Anvin" <hpa@...or.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, <linux-kernel@...r.kernel.org>,
	<x86@...nel.org>, Borislav Petkov <bp@...en8.de>, Xin Li <xin3.li@...el.com>,
	Thomas Gleixner <tglx@...utronix.de>, Shan Kang <shan.kang@...el.com>,
	<oliver.sang@...el.com>
Subject: [tip:x86/fred] [x86/fred]  65c9cc9e2c: WARNING:kernel_stack



Hello,

kernel test robot noticed "WARNING:kernel_stack" on:

commit: 65c9cc9e2c14602d98f1ca61c51ac954e9529303 ("x86/fred: Reserve space for the FRED stack frame")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git x86/fred

[test failed on linux-next/master 33e1d31873f87d119e5120b88cd350efa68ef276]

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)


+-------------------------------------------------------------+------------+------------+
|                                                             | 32b09c2303 | 65c9cc9e2c |
+-------------------------------------------------------------+------------+------------+
| WARNING:kernel_stack                                        | 0          | 14         |
+-------------------------------------------------------------+------------+------------+


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/202402262159.183c2a37-lkp@intel.com


[    0.000000][    T0] WARNING: kernel stack frame pointer at (____ptrval____) in swapper:0 has bad value 0000000000000000
[    0.000000][    T0] unwind stack type:0 next_sp:0000000000000000 mask:0x2 graph_idx:0
[ 0.000000][ T0] (____ptrval____): ffffffff83e07960 init_stack+0x7960/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff81093000 arch_stack_walk (arch/x86/kernel/stacktrace.c:24) 
[ 0.000000][ T0] (____ptrval____): ffffffff83e07960 init_stack+0x7960/0x8000 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e00000 __end_rodata+0x2a000/0x2a000 
[ 0.000000][ T0] (____ptrval____): ffffffff83e08000 init_stack+0x8000/0x8000 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): 0000000000000002 (0x2)
[ 0.000000][ T0] (____ptrval____): ffffffff83e40080 cpu_loops_per_jiffy+0x9a0/0x9a0 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): 0000000000000001 (0x1)
[ 0.000000][ T0] (____ptrval____): ffffffff83e07f48 init_stack+0x7f48/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff83e078a8 init_stack+0x78a8/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff8100017d secondary_startup_64_no_verify (arch/x86/kernel/head_64.S:461) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): fffffbfff07c0f2e (0xfffffbfff07c0f2e)
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e40968 init_task+0x8e8/0x2660 
[ 0.000000][ T0] (____ptrval____): ffffffff84fac8e0 stack_trace_hash+0x20020/0x20020 
[    0.000000][    T0] (____ptrval____): 0000000000000008 (0x8)
[ 0.000000][ T0] (____ptrval____): ffffffff83e079f8 init_stack+0x79f8/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff813c0492 stack_trace_save (kernel/stacktrace.c:123) 
[    0.000000][    T0] (____ptrval____): 0000000041b58ab3 (0x41b58ab3)
[ 0.000000][ T0] (____ptrval____): ffffffff83d45f3b linux_banner+0x21565b/0x26a4f0 
[ 0.000000][ T0] (____ptrval____): ffffffff813c0400 filter_irq_stacks (kernel/stacktrace.c:114) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff84fac8f8 stack_trace+0x18/0x400020 
[    0.000000][    T0] (____ptrval____): 000000000007fffd (0x7fffd)
[    0.000000][    T0] (____ptrval____): 000000000000000a (0xa)
[    0.000000][    T0] (____ptrval____): dffffc0000000000 (0xdffffc0000000000)
[    0.000000][    T0] (____ptrval____): 0000000000001fec (0x1fec)
[ 0.000000][ T0] (____ptrval____): ffffffff85588d48 lock_classes+0x18ff48/0x190020 
[ 0.000000][ T0] (____ptrval____): ffffffff85588c80 lock_classes+0x18fe80/0x190020 
[ 0.000000][ T0] (____ptrval____): ffffffff83e07a10 init_stack+0x7a10/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff812e5001 init_data_structures_once+0x81/0x600 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff85853620 console_list+0x40/0x40 
[ 0.000000][ T0] (____ptrval____): ffffffff83e07a88 init_stack+0x7a88/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff812e7250 save_trace (kernel/locking/lockdep.c:582) 
[ 0.000000][ T0] (____ptrval____): ffffffff85853620 console_list+0x40/0x40 
[ 0.000000][ T0] (____ptrval____): ffffffff83e07af8 init_stack+0x7af8/0x8000 
[    0.000000][    T0] (____ptrval____): 0000000000000046 (0x46)
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff84334800 cgroup_mutex+0x60/0xc0 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff8369adc0 cgroup_subsys_name+0x2a0/0x720 
[ 0.000000][ T0] (____ptrval____): ffffffff84fac8f8 stack_trace+0x18/0x400020 
[ 0.000000][ T0] (____ptrval____): ffffffff85853620 console_list+0x40/0x40 
[    0.000000][    T0] (____ptrval____): 0000000000000008 (0x8)
[ 0.000000][ T0] (____ptrval____): ffffffff83e40968 init_task+0x8e8/0x2660 
[ 0.000000][ T0] (____ptrval____): ffffffff853f8e00 lock_classes_in_use+0x420/0x420 
[    0.000000][    T0] (____ptrval____): 0000000000000008 (0x8)
[ 0.000000][ T0] (____ptrval____): ffffffff83e07ad0 init_stack+0x7ad0/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff812f5d57 mark_lock (kernel/locking/lockdep.c:4673) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e40080 cpu_loops_per_jiffy+0x9a0/0x9a0 
[ 0.000000][ T0] (____ptrval____): ffffffff83e40968 init_task+0x8e8/0x2660 
[ 0.000000][ T0] (____ptrval____): ffffffff83e40080 cpu_loops_per_jiffy+0x9a0/0x9a0 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): 0000000000000004 (0x4)
[ 0.000000][ T0] (____ptrval____): ffffffff83e4094c init_task+0x8cc/0x2660 
[ 0.000000][ T0] (____ptrval____): ffffffff83e07af8 init_stack+0x7af8/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff812f729c mark_usage (kernel/locking/lockdep.c:4603) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e40080 cpu_loops_per_jiffy+0x9a0/0x9a0 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e07ba8 init_stack+0x7ba8/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff812f7b4c __lock_acquire (kernel/locking/lockdep.c:5091) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e40980 init_task+0x900/0x2660 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e40988 init_task+0x908/0x2660 
[ 0.000000][ T0] (____ptrval____): ffffffff83e40960 init_task+0x8e0/0x2660 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): 0000000000000001 (0x1)
[ 0.000000][ T0] (____ptrval____): ffffffff83e40968 init_task+0x8e8/0x2660 
[    0.000000][    T0] (____ptrval____): 1ffffffff07c0f7e (0x1ffffffff07c0f7e)
[    0.000000][    T0] (____ptrval____): 0000000000000001 (0x1)
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff84334800 cgroup_mutex+0x60/0xc0 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83e07cb8 init_stack+0x7cb8/0x8000 
[ 0.000000][ T0] (____ptrval____): ffffffff812fa85b lock_acquire (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756 kernel/locking/lockdep.c:5719) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff84b39df1 cgroup_init_subsys (include/linux/xarray.h:380 include/linux/idr.h:137 include/linux/idr.h:151 kernel/cgroup/cgroup.c:5986) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): 0000000041b58ab3 (0x41b58ab3)
[ 0.000000][ T0] (____ptrval____): ffffffff83d42ee6 linux_banner+0x212606/0x26a4f0 
[ 0.000000][ T0] (____ptrval____): ffffffff812fa6c0 lock_sync (kernel/locking/lockdep.c:5722) 
[ 0.000000][ T0] (____ptrval____): ffffffff8127aaea __might_resched (kernel/sched/core.c:10138 (discriminator 11)) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[    0.000000][    T0] (____ptrval____): 0000000041b58ab3 (0x41b58ab3)
[ 0.000000][ T0] (____ptrval____): ffffffff83d41e6f linux_banner+0x21158f/0x26a4f0 
[ 0.000000][ T0] (____ptrval____): ffffffff8127aa80 trace_raw_output_ipi_send_cpumask (kernel/sched/core.c:10131) 
[    0.000000][    T0] (____ptrval____): 0000000000000000 ...
[ 0.000000][ T0] (____ptrval____): ffffffff83665a60 sched_feat_names+0x480/0x960 
[    0.000000][    T0] (____ptrval____): 0000000000000249 (0x249)
[ 0.000000][ T0] (____ptrval____): ffffffff83e40080 cpu_loops_per_jiffy+0x9a0/0x9a0 
[ 0.000000][ T0] (____ptrval____): ffffffff84b39df1 cgroup_init_subsys (include/linux/xarray.h:380 include/linux/idr.h:137 include/linux/idr.h:151 kernel/cgroup/cgroup.c:5986) 


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240226/202402262159.183c2a37-lkp@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