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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 31 Mar 2022 21:56:25 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc:     lkp@...ts.01.org, lkp@...el.com,
        LKML <linux-kernel@...r.kernel.org>
Subject: [lib]  66f83a960c:
 BUG:kernel_failed_in_early-boot_stage,last_printk:Decompressing_Linux



Greeting,

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

commit: 66f83a960c53a371d0cf4dda0e02005cd4d6ddda ("lib: zstd: Fix Wstringop-overflow warning")
https://git.kernel.org/cgit/linux/kernel/git/gustavoars/linux.git testing/kspp-stringop-overflow

in testcase: boot

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

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


+-----------------------------------------------------------------------+------------+------------+
|                                                                       | d3becb16bb | 66f83a960c |
+-----------------------------------------------------------------------+------------+------------+
| boot_successes                                                        | 50         | 0          |
| boot_failures                                                         | 0          | 10         |
| BUG:kernel_failed_in_early-boot_stage,last_printk:Decompressing_Linux | 0          | 10         |
+-----------------------------------------------------------------------+------------+------------+


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


output_len: 0x01674fcc
kernel_total_size: 0x01f1a000
needed_size: 0x01f1a000

Decompressing Linux... convert early boot stage from hang to failed
BUG: kernel failed in early-boot stage, last printk: Decompressing Linux...
Linux version 5.17.0-10758-g66f83a960c53 #1
Command line: ip=::::vm-snb-i386-70::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/1/vm-snb-i386/quantal-i386-core-20190426.cgz/i386-randconfig-a004-20220328/gcc-9/66f83a960c53a371d0cf4dda0e02005cd4d6ddda/3 BOOT_IMAGE=/pkg/linux/i386-randconfig-a004-20220328/gcc-9/66f83a960c53a371d0cf4dda0e02005cd4d6ddda/vmlinuz-5.17.0-10758-g66f83a960c53 branch=gustavoars/testing/kspp-stringop-overflow job=/lkp/jobs/scheduled/vm-snb-i386-70/boot-1-quantal-i386-core-20190426.cgz-66f83a960c53a371d0cf4dda0e02005cd4d6ddda-20220330-52737-16gsfnn-3.yaml user=lkp ARCH=i386 kconfig=i386-randconfig-a004-20220328 commit=66f83a960c53a371d0cf4dda0e02005cd4d6ddda vmalloc=128M initramfs_async=0 page_owner=on max_uptime=600 LKP_SERVER=internal-lkp-server selinux=0 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw rcuperf.shutdown=0 watchdog_thresh=240

Kboot worker: lkp-worker34
Elapsed time: 480


To reproduce:

        # build kernel
	cd linux
	cp config-5.17.0-10758-g66f83a960c53 .config
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


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

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.17.0-10758-g66f83a960c53" of type "text/plain" (61026 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ