Public bug reported:
Issue found in Various kernels
Jammy
- linux-fips 5.15.0-199.209+fips1
- linux-ibm 5.15.0-1112.116
- linux-ibm-gt 5.15.0-1119.122
- linux-kvm 5.15.0-1110.115
- linux-lowlatency 5.15.0-196.206
Focal
- (focal)linux-hwe-5.15 5.15.0-199.209~20.04.1
- (focal)linux-lowlatency-hwe-5.15 5.15.0-196.206~20.04.1
Noble
- linux-realtime 6.8.1-1062.63
The failure happens because the KVM instruction that needs to clear some
bits, fails to do so
===================================================================================================
INFO: /dev/kvm exists
KVM acceleration can be used
07:52:07 Running 'timeout 1800s
/var/tmp/kvm-unit-tests/tests/svm_unsupported_instruction_intercept_test'
BUILD_HEAD=5215cfd3
timeout -k 1s --foreground 1800s /usr/bin/qemu-system-x86_64 --no-reboot
-nodefaults -global kvm-pit.lost_tick_policy=discard -device pc-testdev -device
isa-debug-exit,iobase=0xf4,iosize=0x4 -display none -serial stdio -device
pci-testdev -machine accel=kvm -kernel /tmp/tmp.KgGUIf2z9T -smp 1 -append
svm_unsupported_instruction_intercept_test -cpu
max,+svm,-rdtscp,-xsave,-invpcid,-skinit # -initrd /tmp/tmp.6aDsQbC6ep
enabling apic
smp: waiting for 0 APs
paging enabled
cr0 = 80010011
cr3 = 106d000
cr4 = 20
NPT detected - running all tests with NPT enabled
SVM test: svm_unsupported_instruction_intercept_test
FAIL: L1 should not intercept RDTSCP when instruction is not advertised in
guest CPUID
PASS: RDTSCP intercept bit not cleared by KVM
FAIL: L1 should not intercept SKINIT when instruction is not advertised in
guest CPUID
PASS: SKINIT intercept bit not cleared by KVM
PASS: UD Exception injected
PASS: XSETBV intercept bit not cleared by KVM
FAIL: L1 should not intercept RDPRU when instruction is not advertised in guest
CPUID
PASS: RDPRU intercept bit not cleared by KVM
FAIL: L1 should not intercept INVPCID when instruction is not advertised in
guest CPUID
PASS: INVPCID intercept bit not cleared by KVM
SUMMARY: 10 tests, 4 unexpected failures
FAIL svm_unsupported_instruction_intercept_test (10 tests, 4 unexpected
failures)
===================================================================================================
** Affects: ubuntu-kernel-tests
Importance: Medium
Status: New
** Affects: linux (Ubuntu)
Importance: Medium
Status: New
** Affects: linux (Ubuntu Focal)
Importance: Medium
Status: New
** Affects: linux (Ubuntu Jammy)
Importance: Medium
Status: New
** Affects: linux (Ubuntu Noble)
Importance: Medium
Status: New
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: ubuntu-kernel-tests
Importance: Undecided => Medium
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Focal)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Jammy)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Noble)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169690
Title:
svm_unsupported_instruction_intercept_test: KVM fails to clear bits
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2169690/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs