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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202308241323.ABBE0B09B@keescook>
Date:   Thu, 24 Aug 2023 13:25:33 -0700
From:   Kees Cook <keescook@...omium.org>
To:     Yonghong Song <yhs@...com>
Cc:     kernel test robot <oliver.sang@...el.com>, oe-lkp@...ts.linux.dev,
        lkp@...el.com, linux-kernel@...r.kernel.org,
        Song Liu <song@...nel.org>,
        Zhen Lei <thunder.leizhen@...wei.com>,
        Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [linus:master] [kallsyms]  8cc32a9bbf:
 Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_entry

I was able to reproduce this failure. Yonghong, any ideas what's going
on here? I'm still trying to figure out what part of the
kallsyms_selftest actually failed (there are about 4 places that all
lead to this error message).

-Kees

On Wed, Aug 23, 2023 at 10:48:58PM +0800, kernel test robot wrote:
> 
> 
> 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@...el.com>
> | Closes: https://lore.kernel.org/oe-lkp/202308232200.1c932a90-oliver.sang@intel.com
> 
> 
> 
> [   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@intel.com
> 
> 
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
> 

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ