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: <20201115102531.GB7077@xsang-OptiPlex-9020>
Date:   Sun, 15 Nov 2020 18:25:31 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Arpitha Raghunandan <98.arpi@...il.com>
Cc:     brendanhiggins@...gle.com, skhan@...uxfoundation.org,
        elver@...gle.com, yzaikin@...gle.com, tytso@....edu,
        adilger.kernel@...ger.ca, Tim.Bird@...y.com, davidgow@...gle.com,
        Arpitha Raghunandan <98.arpi@...il.com>,
        linux-kselftest@...r.kernel.org, kunit-dev@...glegroups.com,
        linux-kernel@...r.kernel.org,
        linux-kernel-mentees@...ts.linuxfoundation.org,
        linux-ext4@...r.kernel.org, 0day robot <lkp@...el.com>,
        lkp@...ts.01.org
Subject: [fs] 4ffef91a3b:
 Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:kunit_run_tests


Greeting,

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

commit: 4ffef91a3b1b35b64502da85fe682897e4a123cd ("[PATCH v7 2/2] fs: ext4: Modify inode-test.c to use KUnit parameterized testing feature")
url: https://github.com/0day-ci/linux/commits/Arpitha-Raghunandan/kunit-Support-for-Parameterized-Testing/20201114-204322
base: https://git.kernel.org/cgit/linux/kernel/git/tytso/ext4.git dev

in testcase: boot

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):


+---------------------------------------------------------------------------------------+------------+------------+
|                                                                                       | 0f0922dc1c | 4ffef91a3b |
+---------------------------------------------------------------------------------------+------------+------------+
| Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:kunit_run_tests | 0          | 16         |
+---------------------------------------------------------------------------------------+------------+------------+


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


[   21.894954]     # inode_test_xtimestamp_decoding: ok 14 - 2378-04-22 Lower bound of 32bit>= timestamp. Extra sec bits 1. Max ns
[   21.896398]     # inode_test_xtimestamp_decoding: ok 15 - 2378-04-22 Lower bound of 32bit >=0 timestamp. All extra sec bits on
[   21.898125]     # inode_test_xtimestamp_decoding: ok 16 - 2446-05-10 Upper bound of 32bit >=0 timestamp. All extra sec bits on
[   21.899303]     ok 1 - inode_test_xtimestamp_decoding
[   21.900451] ok 2 - ext4_inode_test
[   21.901545] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: kunit_run_tests+0x301/0x315
[   21.905219] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.0-rc3-00098-g4ffef91a3b1b #7
[   21.906045] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[   21.906871] Call Trace:
[   21.907143]  dump_stack+0x20/0x22
[   21.907541]  panic+0x101/0x2d1
[   21.907868]  ? kunit_run_tests+0x301/0x315
[   21.908281]  __stack_chk_fail+0x14/0x20
[   21.908646]  kunit_run_tests+0x301/0x315
[   21.909026]  ? kunit_catch_run_case+0x40/0x40
[   21.909476]  ? kunit_cleanup+0x60/0x60
[   21.909912]  ? kunit_cleanup+0x41/0x60
[   21.910316]  __kunit_test_suites_init+0x27/0x50
[   21.910797]  kunit_run_all_tests.cold+0x37/0x40
[   21.911283]  kernel_init_freeable+0x8b/0xb3
[   21.911736]  ? rest_init+0x233/0x233
[   21.912115]  kernel_init+0x9/0xfd
[   21.912464]  ret_from_fork+0x22/0x30
[   21.912893] Kernel Offset: disabled

Kboot worker: lkp-worker53
Elapsed time: 60



To reproduce:

        # build kernel
	cd linux
	cp config-5.10.0-rc3-00098-g4ffef91a3b1b .config
	make HOSTCC=gcc-9 CC=gcc-9 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,
Oliver Sang


View attachment "config-5.10.0-rc3-00098-g4ffef91a3b1b" of type "text/plain" (140959 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ