[linus:master] [kallsyms] 8cc32a9bbf: Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_entry

From: kernel test robot
Date: Wed Aug 23 2023 - 10:49:19 EST




Hello,

kernel test robot noticed "Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_entry" on:

commit: 8cc32a9bbf2934d90762d9de0187adcb5ad46a11 ("kallsyms: strip LTO-only suffixes from promoted global functions")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linus/master f7757129e3dea336c407551c98f50057c22bb266]
[test failed on linux-next/master 28c736b0e92e11bfe2b9997688213dc43cb22182]

in testcase: boot

compiler: clang-16
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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202308232200.1c932a90-oliver.sang@xxxxxxxxx



[ 28.923687][ T1] systemd[1]: RTC configured in localtime, applying delta of 0 minutes to system time.
[ 28.926842][ T1] systemd[1]: Failed to find module 'autofs4'

Welcome to Debian GNU/Linux 11 (bullseye)!

[ 30.135342][ T115] kallsyms_selftest: Test for 1153th symbol failed: (show_trace_log_lvl) addr=c1033b00
[ 30.135366][ T115] kallsyms_selftest: abort
[ 30.137440][ T115] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: test_entry+0x1419/0x1430
[ 30.138878][ T115] CPU: 0 PID: 115 Comm: kallsyms_test Tainted: G T 6.5.0-rc1-00002-g8cc32a9bbf29 #1
[ 30.140321][ T115] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 30.141688][ T115] Call Trace:
[ 30.142207][ T115] panic+0xf4/0x31c
[ 30.142789][ T115] __stack_chk_fail+0x10/0x10
[ 30.143470][ T115] ? test_entry+0x1419/0x1430
[ 30.144141][ T115] test_entry+0x1419/0x1430
[ 30.144802][ T115] ? __die_body+0xb0/0xb0
[ 30.145432][ T115] ? 0xc1000000
[ 30.145962][ T115] ? __die_body+0xb0/0xb0
[ 30.146642][ T115] kthread+0x203/0x220
[ 30.147262][ T115] ? sprint_backtrace_build_id+0x20/0x20
[ 30.148032][ T115] ? kthreadd+0x2f0/0x2f0
[ 30.148656][ T115] ret_from_fork+0x19/0x24
[ 30.149412][ T115] Kernel Offset: disabled



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



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