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]
Message-ID: <20211215154643.GE34913@xsang-OptiPlex-9020>
Date:   Wed, 15 Dec 2021 23:46:43 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Vitaly Kuznetsov <vkuznets@...hat.com>
Cc:     Paolo Bonzini <pbonzini@...hat.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com, xudong.hao@...el.com
Subject: [KVM]  feb627e8d6: kernel-selftests.kvm.vmx_pmu_msrs_test.fail



Greeting,

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

commit: feb627e8d6f69c9a319fe279710959efb3eba873 ("KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-99d09ee9-1_20211206
with following parameters:

	group: kvm
	ucode: 0xe2

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: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz with 16G memory

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 <oliver.sang@...el.com>



# selftests: kvm: vmx_pmu_msrs_test
# ==== Test Assertion Failure ====
#   lib/x86_64/processor.c:874: rc == 0
#   pid=10415 tid=10415 errno=22 - Invalid argument
#      1	0x000000000040b24f: vcpu_set_cpuid at processor.c:873
#      2	0x000000000040260a: main at vmx_pmu_msrs_test.c:115
#      3	0x00007f07e1aec09a: ?? ??:0
#      4	0x0000000000402759: _start at ??:?
#   KVM_SET_CPUID2 failed, rc: -1 errno: 22
not ok 33 selftests: kvm: vmx_pmu_msrs_test # exit=254



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

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



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.16.0-rc2-00025-gfeb627e8d6f6" of type "text/plain" (177609 bytes)

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

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

View attachment "kernel-selftests" of type "text/plain" (94897 bytes)

View attachment "job.yaml" of type "text/plain" (5041 bytes)

View attachment "reproduce" of type "text/plain" (146 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ