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: <20201112071145.GC17067@xsang-OptiPlex-9020>
Date:   Thu, 12 Nov 2020 15:11:45 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Rob Landley <rob@...dley.net>
Cc:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        ", 0day robot" <lkp@...el.com>, lkp@...ts.01.org
Subject: ac0e958a00:
 Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:run_init_process


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: ac0e958a00eabda16984e87d64cc2dc38e59b10e ("[PATCH] Collate "run init" message to one line with prefixed var assignments")
url: https://github.com/0day-ci/linux/commits/Rob-Landley/Collate-run-init-message-to-one-line-with-prefixed-var-assignments/20201111-234005
base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git eccc876724927ff3b9ff91f36f7b6b159e948f0c

in testcase: trinity
version: trinity-static-i386-x86_64-f93256fb_2019-08-28
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+----------------------------------------------------------------------------------------+------------+------------+
|                                                                                        | eccc876724 | ac0e958a00 |
+----------------------------------------------------------------------------------------+------------+------------+
| Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:run_init_process | 0          | 8          |
+----------------------------------------------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>



[   18.936653] Freeing unused kernel image (initmem) memory: 1028K
[   18.937375] Write protecting kernel text and read-only data: 28964k
[   18.938014] rodata_test: all tests were successful
[   18.939555] Failed to set sysctl parameter 'kernel.softlockup_panic=1': parameter not found
[   18.940519] Run init: HOME=/ TERM=linux user=lkp job=/lkp/jobs/scheduled/vm-snb-i386-113/trinity-300s-openwrt-i386-generic-20190428.cgz-ac0e958a00eabda16984e87d64cc2dc38e59b10e-20201112-21005-197i8k2-2.yaml ARCH=i386 kconfig=i386-randconfig-r016-20201111 branch=linux-review/Rob-Landley/Collate-run-init-message-to-one-line-with-prefixed-var-assignments/20201111-234005 commit=ac0e958a00eabda16984e87d64cc2dc38e59b10e BOOT_IMAGE=/pkg/linux/i386-randconfig-r016-20201111/gcc-9/ac0e958a00eabda16984e87d64cc2dc38e59b10e/vmlinuz-5.10.0-rc           
[   18.945937] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: run_init_process+0x129/0x131
[   18.946930] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.0-rc3-00105-gac0e958a00ea #1
[   18.947639] Call Trace:
[   18.947884]  ? dump_stack+0x45/0x63
[   18.948212]  ? panic+0x196/0x5c1
[   18.948512]  ? __stack_chk_fail+0x2d/0x30
[   18.948878]  ? run_init_process+0x129/0x131
[   18.949273]  ? run_init_process+0x129/0x131
[   18.949663]  ? try_to_run_init_process+0x1a/0x66
[   18.950094]  ? rest_init+0x259/0x259
[   18.950428]  ? kernel_init+0x1ab/0x267
[   18.950775]  ? ret_from_fork+0x1c/0x30
[   18.951183] Kernel Offset: disabled

Kboot worker: lkp-server01
Elapsed time: 60



To reproduce:

        # build kernel
	cd linux
	cp config-5.10.0-rc3-00105-gac0e958a00ea .config
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc3-00105-gac0e958a00ea" of type "text/plain" (136410 bytes)

View attachment "job-script" of type "text/plain" (4546 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (13388 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ