FYI, we noticed the following commit (built with gcc-7): commit: e858ef1cd4bc1bdfcd18114a8195236e336cee42 ("selftests: Add l2tp tests") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: kernel_selftests with following parameters: group: kselftests-02 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): If you fix the issue, kindly add following tag Reported-by: kernel test robot # selftests: net: l2tp.sh # Warning: file l2tp.sh is not executable, correct this. not ok 32 selftests: net: l2tp.sh To reproduce: # build kernel cd linux cp config-5.3.0-rc3-00696-ge858ef1cd4bc1 .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 job-script # job-script is attached in this email Thanks, Rong Chen