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-next>] [day] [month] [year] [list]
Date:   Sun, 8 Dec 2019 23:39:23 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Christoph Hellwig <hch@....de>
Cc:     Jens Axboe <axboe@...nel.dk>,
        Javier González <javier@...igon.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        lkp@...ts.01.org
Subject: [block] f216fdd77b: BUG:kernel_reboot-without-warning_in_boot_stage

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

commit: f216fdd77b5654f8c4f6fac6020d6aabc58878ef ("block: replace seq_zones_bitmap with conv_zones_bitmap")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: kernel_selftests
with following parameters:

	group: kselftests-x86

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt


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

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


+-------------------------------------------------------------------------+------------+------------+
|                                                                         | 9b38bb4b1e | f216fdd77b |
+-------------------------------------------------------------------------+------------+------------+
| boot_successes                                                          | 0          | 0          |
| boot_failures                                                           | 4          | 4          |
| WARNING:at_drivers/base/core.c:#device_links_supplier_sync_state_resume | 4          |            |
| RIP:device_links_supplier_sync_state_resume                             | 4          |            |
| BUG:kernel_reboot-without-warning_in_boot_stage                         | 0          | 4          |
+-------------------------------------------------------------------------+------------+------------+


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


needed_size: 0x0000000006800000
trampoline_32bit: 0x000000000009d000

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
BUG: kernel reboot-without-warning in boot stage
Linux version 5.4.0-10082-gf216fdd77b565 #1
Command line: ip=::::vm-snb-f9eef226434d::dhcp root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-snb-f9eef226434d/kernel_selftests-kselftests-x86-debian-x86_64-2019-11-14.cgz-f216fdd77-20191206-11813-1cb6s7n-3.yaml ARCH=x86_64 kconfig=x86_64-randconfig-h002-20191205 branch=block/for-linus commit=f216fdd77b5654f8c4f6fac6020d6aabc58878ef BOOT_IMAGE=/pkg/linux/x86_64-randconfig-h002-20191205/gcc-7/f216fdd77b5654f8c4f6fac6020d6aabc58878ef/vmlinuz-5.4.0-10082-gf216fdd77b565 erst_disable max_uptime=3600 RESULT_ROOT=/result/kernel_selftests/kselftests-x86/vm-snb/debian-x86_64-2019-11-14.cgz/x86_64-randconfig-h002-20191205/gcc-7/f216fdd77b5654f8c4f6fac6020d6aabc58878ef/3 LKP_SERVER=inn 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=60

Elapsed time: 60



To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-10082-gf216fdd77b565 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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,
Rong Chen


View attachment "config-5.4.0-10082-gf216fdd77b565" of type "text/plain" (145051 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ