vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))

Bug #1956315 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Medium
Po-Hsu Lin
Focal
Fix Released
Medium
Po-Hsu Lin
Impish
Fix Released
Medium
Po-Hsu Lin
Jammy
Fix Released
Undecided
Unassigned
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Po-Hsu Lin
Impish
Invalid
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned

Bug Description

[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
    FAIL: Expected 0 for L1 LDTR selector (got 50)

It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"

According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.

[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"

We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But some
straightforward backport work is required for Bionic, as the code
snippet for nested KVM haven't been split out to vmx/nested.c
(55d2375e KVM: nVMX: Move nested code to dedicated files).

[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/

Tested with:
 * B (bare-metal / KVM instance)
 * F (KVM instance)
 * I (bare-metal / KVM instance)

With this patched kernel, this test will pass:
    PASS: Expected 0 for L1 LDTR selector (got 0)

Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.

[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.

[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo

 Running 'kvm-ok'
 INFO: /dev/kvm exists
 KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
 BUILD_HEAD=8a30588c
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 filter = vmx_ldtr_test, test = test_vmx_feature_control
 filter = vmx_ldtr_test, test = test_vmxon
 filter = vmx_ldtr_test, test = test_vmptrld
 filter = vmx_ldtr_test, test = test_vmclear
 filter = vmx_ldtr_test, test = test_vmptrst
 filter = vmx_ldtr_test, test = test_vmwrite_vmread
 filter = vmx_ldtr_test, test = test_vmcs_high
 filter = vmx_ldtr_test, test = test_vmcs_lifecycle
 filter = vmx_ldtr_test, test = test_vmx_caps
 filter = vmx_ldtr_test, test = test_vmread_flags_touch
 filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
 filter = vmx_ldtr_test, test = null
 filter = vmx_ldtr_test, test = vmenter
 filter = vmx_ldtr_test, test = preemption timer
 filter = vmx_ldtr_test, test = control field PAT
 filter = vmx_ldtr_test, test = control field EFER
 filter = vmx_ldtr_test, test = CR shadowing
 filter = vmx_ldtr_test, test = I/O bitmap
 filter = vmx_ldtr_test, test = instruction intercept
 filter = vmx_ldtr_test, test = EPT A/D disabled
 filter = vmx_ldtr_test, test = EPT A/D enabled
 filter = vmx_ldtr_test, test = PML
 filter = vmx_ldtr_test, test = interrupt
 filter = vmx_ldtr_test, test = nmi_hlt
 filter = vmx_ldtr_test, test = debug controls
 filter = vmx_ldtr_test, test = MSR switch
 filter = vmx_ldtr_test, test = vmmcall
 filter = vmx_ldtr_test, test = disable RDTSCP
 filter = vmx_ldtr_test, test = int3
 filter = vmx_ldtr_test, test = into
 filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
 filter = vmx_ldtr_test, test = invalid_msr
 filter = vmx_ldtr_test, test = v2_null_test
 filter = vmx_ldtr_test, test = v2_multiple_entries_test
 filter = vmx_ldtr_test, test = fixture_test_case1
 filter = vmx_ldtr_test, test = fixture_test_case2
 filter = vmx_ldtr_test, test = invvpid_test
 filter = vmx_ldtr_test, test = vmx_controls_test
 filter = vmx_ldtr_test, test = vmx_host_state_area_test
 filter = vmx_ldtr_test, test = vmx_guest_state_area_test
 filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
 filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
 filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
 filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
 filter = vmx_ldtr_test, test = apic_reg_virt_test
 filter = vmx_ldtr_test, test = virt_x2apic_mode_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
 filter = vmx_ldtr_test, test = vmx_init_signal_test
 filter = vmx_ldtr_test, test = vmx_sipi_signal_test
 filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
 filter = vmx_ldtr_test, test = vmx_ldtr_test

 Test suite: vmx_ldtr_test
 PASS: Expected 18 for L2 LDTR selector (got 18)
 FAIL: Expected 0 for L1 LDTR selector (got 50)
 filter = vmx_ldtr_test, test = vmx_cr_load_test
 filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
 filter = vmx_ldtr_test, test = vmx_nm_test
 filter = vmx_ldtr_test, test = vmx_db_test
 filter = vmx_ldtr_test, test = vmx_nmi_window_test
 filter = vmx_ldtr_test, test = vmx_intr_window_test
 filter = vmx_ldtr_test, test = vmx_pending_event_test
 filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
 filter = vmx_ldtr_test, test = vmx_store_tsc_test
 filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
 filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
 filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
 filter = vmx_ldtr_test, test = ept_access_test_not_present
 filter = vmx_ldtr_test, test = ept_access_test_read_only
 filter = vmx_ldtr_test, test = ept_access_test_write_only
 filter = vmx_ldtr_test, test = ept_access_test_read_write
 filter = vmx_ldtr_test, test = ept_access_test_execute_only
 filter = vmx_ldtr_test, test = ept_access_test_read_execute
 filter = vmx_ldtr_test, test = ept_access_test_write_execute
 filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
 filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
 filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
 filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
 filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
 filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
 filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
 filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
 filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
 filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
 filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
 filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
 filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
 filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
 filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
 filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
 filter = vmx_ldtr_test, test = vmx_mtf_test
 filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
 filter = vmx_ldtr_test, test = vmx_pf_exception_test
 filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
 filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
 filter = vmx_ldtr_test, test = vmx_pf_vpid_test
 SUMMARY: 5 tests, 1 unexpected failures
 FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)

This is a new test added into vmx (and split out for debug purpose), so it's not a regression.

Po-Hsu Lin (cypressyew)
description: updated
tags: added: 4.15 bionic sru-20211129 ubuntu-kvm-unit-tests
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found also on 2022.01.03/impish/linux-oracle/5.13.0-1016.20

tags: added: 5.13 hinted impish oracle
Revision history for this message
Zachary Tahenakos (ztahenakos) wrote :

Found as well on 2201.01.03/focal/linux-fips/5.4.0-1041.47 on lagalla.

tags: added: 5.4 focal sru-20220103
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Impish):
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1956315

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Bionic):
status: New → Incomplete
Changed in linux (Ubuntu Focal):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Jammy):
status: Incomplete → Fix Released
Po-Hsu Lin (cypressyew)
description: updated
Changed in linux (Ubuntu Focal):
status: Incomplete → In Progress
Changed in linux (Ubuntu Bionic):
status: Incomplete → In Progress
Changed in ubuntu-kernel-tests:
status: New → In Progress
Changed in linux (Ubuntu Bionic):
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Focal):
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux-oem-5.14 (Ubuntu Bionic):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → In Progress
Changed in linux-oem-5.14 (Ubuntu Impish):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Jammy):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Focal):
assignee: nobody → Po-Hsu Lin (cypressyew)
Po-Hsu Lin (cypressyew)
description: updated
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Stefan Bader (smb)
Changed in linux (Ubuntu Impish):
importance: Undecided → Medium
status: In Progress → Fix Committed
Changed in linux (Ubuntu Focal):
importance: Undecided → Medium
status: In Progress → Fix Committed
Changed in linux (Ubuntu Bionic):
importance: Undecided → Medium
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.13.0-41.46 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-impish' to 'verification-done-impish'. If the problem still exists, change the tag 'verification-needed-impish' to 'verification-failed-impish'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-impish
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.4.0-110.124 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (5.7 KiB)

Impish 5.13 with node vought:
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
 BUILD_HEAD=16647354
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.WvqHvN1Mpk -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.gTntUdwZWg
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 filter = vmx_ldtr_test, test = test_vmx_feature_control
 filter = vmx_ldtr_test, test = test_vmxon
 filter = vmx_ldtr_test, test = test_vmptrld
 filter = vmx_ldtr_test, test = test_vmclear
 filter = vmx_ldtr_test, test = test_vmptrst
 filter = vmx_ldtr_test, test = test_vmwrite_vmread
 filter = vmx_ldtr_test, test = test_vmcs_high
 filter = vmx_ldtr_test, test = test_vmcs_lifecycle
 filter = vmx_ldtr_test, test = test_vmx_caps
 filter = vmx_ldtr_test, test = test_vmread_flags_touch
 filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
 filter = vmx_ldtr_test, test = null
 filter = vmx_ldtr_test, test = vmenter
 filter = vmx_ldtr_test, test = preemption timer
 filter = vmx_ldtr_test, test = control field PAT
 filter = vmx_ldtr_test, test = control field EFER
 filter = vmx_ldtr_test, test = CR shadowing
 filter = vmx_ldtr_test, test = I/O bitmap
 filter = vmx_ldtr_test, test = instruction intercept
 filter = vmx_ldtr_test, test = EPT A/D disabled
 filter = vmx_ldtr_test, test = EPT A/D enabled
 filter = vmx_ldtr_test, test = PML
 filter = vmx_ldtr_test, test = interrupt
 filter = vmx_ldtr_test, test = nmi_hlt
 filter = vmx_ldtr_test, test = debug controls
 filter = vmx_ldtr_test, test = MSR switch
 filter = vmx_ldtr_test, test = vmmcall
 filter = vmx_ldtr_test, test = disable RDTSCP
 filter = vmx_ldtr_test, test = int3
 filter = vmx_ldtr_test, test = into
 filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
 filter = vmx_ldtr_test, test = invalid_msr
 filter = vmx_ldtr_test, test = v2_null_test
 filter = vmx_ldtr_test, test = v2_multiple_entries_test
 filter = vmx_ldtr_test, test = fixture_test_case1
 filter = vmx_ldtr_test, test = fixture_test_case2
 filter = vmx_ldtr_test, test = invvpid_test
 filter = vmx_ldtr_test, test = vmx_controls_test
 filter = vmx_ldtr_test, test = vmx_host_state_area_test
 filter = vmx_ldtr_test, test = vmx_guest_state_area_test
 filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
 filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
 filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
 filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
 filter = vmx_ldtr_test, test = apic_reg_virt_test
 filter = vmx_ldtr_test, test = virt_x2apic_mode_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
 filter = vmx_ldtr_test, test = vmx_init_signal_test
 filter = vmx_ldtr_test, test = vmx_sipi_signal_test
 filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
 filter = vmx_ldtr_test, test = vmx_ldtr_test

 Test suite: vmx...

Read more...

tags: added: verification-done-impish
removed: verification-needed-impish
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (5.7 KiB)

Focal 5.4.0-110.124 with node spitfire:

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
 BUILD_HEAD=16647354
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.8hYc1dgvp4 -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.VW7zzXkBfL
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 filter = vmx_ldtr_test, test = test_vmx_feature_control
 filter = vmx_ldtr_test, test = test_vmxon
 filter = vmx_ldtr_test, test = test_vmptrld
 filter = vmx_ldtr_test, test = test_vmclear
 filter = vmx_ldtr_test, test = test_vmptrst
 filter = vmx_ldtr_test, test = test_vmwrite_vmread
 filter = vmx_ldtr_test, test = test_vmcs_high
 filter = vmx_ldtr_test, test = test_vmcs_lifecycle
 filter = vmx_ldtr_test, test = test_vmx_caps
 filter = vmx_ldtr_test, test = test_vmread_flags_touch
 filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
 filter = vmx_ldtr_test, test = null
 filter = vmx_ldtr_test, test = vmenter
 filter = vmx_ldtr_test, test = preemption timer
 filter = vmx_ldtr_test, test = control field PAT
 filter = vmx_ldtr_test, test = control field EFER
 filter = vmx_ldtr_test, test = CR shadowing
 filter = vmx_ldtr_test, test = I/O bitmap
 filter = vmx_ldtr_test, test = instruction intercept
 filter = vmx_ldtr_test, test = EPT A/D disabled
 filter = vmx_ldtr_test, test = EPT A/D enabled
 filter = vmx_ldtr_test, test = PML
 filter = vmx_ldtr_test, test = interrupt
 filter = vmx_ldtr_test, test = nmi_hlt
 filter = vmx_ldtr_test, test = debug controls
 filter = vmx_ldtr_test, test = MSR switch
 filter = vmx_ldtr_test, test = vmmcall
 filter = vmx_ldtr_test, test = disable RDTSCP
 filter = vmx_ldtr_test, test = int3
 filter = vmx_ldtr_test, test = into
 filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
 filter = vmx_ldtr_test, test = invalid_msr
 filter = vmx_ldtr_test, test = v2_null_test
 filter = vmx_ldtr_test, test = v2_multiple_entries_test
 filter = vmx_ldtr_test, test = fixture_test_case1
 filter = vmx_ldtr_test, test = fixture_test_case2
 filter = vmx_ldtr_test, test = invvpid_test
 filter = vmx_ldtr_test, test = vmx_controls_test
 filter = vmx_ldtr_test, test = vmx_host_state_area_test
 filter = vmx_ldtr_test, test = vmx_guest_state_area_test
 filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
 filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
 filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
 filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
 filter = vmx_ldtr_test, test = apic_reg_virt_test
 filter = vmx_ldtr_test, test = virt_x2apic_mode_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
 filter = vmx_ldtr_test, test = vmx_init_signal_test
 filter = vmx_ldtr_test, test = vmx_sipi_signal_test
 filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
 filter = vmx_ldtr_test, test = vmx_ldtr_test

 Test...

Read more...

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/4.15.0-177.186 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-bionic
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (5.7 KiB)

Bionic 4.15.0-177.186 with node exotic-skunk.amd64

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
 BUILD_HEAD=16647354
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.3qPxgV32ap -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.cCbvsNzbhI
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 filter = vmx_ldtr_test, test = test_vmx_feature_control
 filter = vmx_ldtr_test, test = test_vmxon
 filter = vmx_ldtr_test, test = test_vmptrld
 filter = vmx_ldtr_test, test = test_vmclear
 filter = vmx_ldtr_test, test = test_vmptrst
 filter = vmx_ldtr_test, test = test_vmwrite_vmread
 filter = vmx_ldtr_test, test = test_vmcs_high
 filter = vmx_ldtr_test, test = test_vmcs_lifecycle
 filter = vmx_ldtr_test, test = test_vmx_caps
 filter = vmx_ldtr_test, test = test_vmread_flags_touch
 filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
 filter = vmx_ldtr_test, test = null
 filter = vmx_ldtr_test, test = vmenter
 filter = vmx_ldtr_test, test = preemption timer
 filter = vmx_ldtr_test, test = control field PAT
 filter = vmx_ldtr_test, test = control field EFER
 filter = vmx_ldtr_test, test = CR shadowing
 filter = vmx_ldtr_test, test = I/O bitmap
 filter = vmx_ldtr_test, test = instruction intercept
 filter = vmx_ldtr_test, test = EPT A/D disabled
 filter = vmx_ldtr_test, test = EPT A/D enabled
 filter = vmx_ldtr_test, test = PML
 filter = vmx_ldtr_test, test = interrupt
 filter = vmx_ldtr_test, test = nmi_hlt
 filter = vmx_ldtr_test, test = debug controls
 filter = vmx_ldtr_test, test = MSR switch
 filter = vmx_ldtr_test, test = vmmcall
 filter = vmx_ldtr_test, test = disable RDTSCP
 filter = vmx_ldtr_test, test = int3
 filter = vmx_ldtr_test, test = into
 filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
 filter = vmx_ldtr_test, test = invalid_msr
 filter = vmx_ldtr_test, test = v2_null_test
 filter = vmx_ldtr_test, test = v2_multiple_entries_test
 filter = vmx_ldtr_test, test = fixture_test_case1
 filter = vmx_ldtr_test, test = fixture_test_case2
 filter = vmx_ldtr_test, test = invvpid_test
 filter = vmx_ldtr_test, test = vmx_controls_test
 filter = vmx_ldtr_test, test = vmx_host_state_area_test
 filter = vmx_ldtr_test, test = vmx_guest_state_area_test
 filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
 filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
 filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
 filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
 filter = vmx_ldtr_test, test = apic_reg_virt_test
 filter = vmx_ldtr_test, test = virt_x2apic_mode_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
 filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
 filter = vmx_ldtr_test, test = vmx_init_signal_test
 filter = vmx_ldtr_test, test = vmx_sipi_signal_test
 filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
 filter = vmx_ldtr_test, test = vmx_ldtr_t...

Read more...

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (11.1 KiB)

This bug was fixed in the package linux - 5.4.0-110.124

---------------
linux (5.4.0-110.124) focal; urgency=medium

  * focal/linux: 5.4.0-110.124 -proposed tracker (LP: #1969053)

  * net/mlx5e: Fix page DMA map/unmap attributes (LP: #1967292)
    - net/mlx5e: Fix page DMA map/unmap attributes

  * xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()
    (LP: #1966803)
    - xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()

  * LRMv6: add multi-architecture support (LP: #1968774)
    - [Packaging] resync dkms-build{,--nvidia-N}

  * xfrm interface cannot be changed anymore (LP: #1968591)
    - xfrm: fix the if_id check in changelink

  * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016)
    - [Debian] Use kernel-testing repo from launchpad

  * vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR
    selector (got 50)) (LP: #1956315)
    - KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit

  * [SRU][Regression] Revert "PM: ACPI: reboot: Use S5 for reboot" which causes
    Bus Fatal Error when rebooting system with BCM5720 NIC (LP: #1917471)
    - Revert "PM: ACPI: reboot: Use S5 for reboot"

  * Focal update: v5.4.181 upstream stable release (LP: #1967582)
    - Makefile.extrawarn: Move -Wunaligned-access to W=1
    - HID:Add support for UGTABLET WP5540
    - Revert "svm: Add warning message for AVIC IPI invalid target"
    - serial: parisc: GSC: fix build when IOSAPIC is not set
    - parisc: Drop __init from map_pages declaration
    - parisc: Fix data TLB miss in sba_unmap_sg
    - parisc: Fix sglist access in ccio-dma.c
    - btrfs: send: in case of IO error log it
    - platform/x86: ISST: Fix possible circular locking dependency detected
    - selftests: rtc: Increase test timeout so that all tests run
    - net: ieee802154: at86rf230: Stop leaking skb's
    - selftests/zram: Skip max_comp_streams interface on newer kernel
    - selftests/zram01.sh: Fix compression ratio calculation
    - selftests/zram: Adapt the situation that /dev/zram0 is being used
    - ax25: improve the incomplete fix to avoid UAF and NPD bugs
    - vfs: make freeze_super abort when sync_filesystem returns error
    - quota: make dquot_quota_sync return errors from ->sync_fs
    - nvme: fix a possible use-after-free in controller reset during load
    - nvme-tcp: fix possible use-after-free in transport error_recovery work
    - nvme-rdma: fix possible use-after-free in transport error_recovery work
    - drm/amdgpu: fix logic inversion in check
    - Revert "module, async: async_synchronize_full() on module init iff async is
      used"
    - ftrace: add ftrace_init_nop()
    - module/ftrace: handle patchable-function-entry
    - arm64: module: rework special section handling
    - arm64: module/ftrace: intialize PLT at load time
    - iwlwifi: fix use-after-free
    - drm/radeon: Fix backlight control on iMac 12,1
    - ext4: check for out-of-order index extents in ext4_valid_extent_entries()
    - ext4: check for inconsistent extents between index and leaf block
    - ext4: prevent partial update of the extent blocks
    - taskstats: Cleanup t...

Changed in linux (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (33.7 KiB)

This bug was fixed in the package linux - 5.13.0-41.46

---------------
linux (5.13.0-41.46) impish; urgency=medium

  * impish/linux: 5.13.0-41.46 -proposed tracker (LP: #1969014)

  * NVMe devices fail to probe due to ACPI power state change (LP: #1942624)
    - ACPI: power: Rework turning off unused power resources
    - ACPI: PM: Do not turn off power resources in unknown state

  * Recent 5.13 kernel has broken KVM support (LP: #1966499)
    - KVM: Add infrastructure and macro to mark VM as bugged
    - KVM: x86: Use KVM_BUG/KVM_BUG_ON to handle bugs that are fatal to the VM
    - KVM: VMX: prepare sync_pir_to_irr for running with APICv disabled

  * LRMv6: add multi-architecture support (LP: #1968774)
    - [Packaging] resync dkms-build{,--nvidia-N}

  * io_uring regression - lost write request (LP: #1952222)
    - io-wq: split bounded and unbounded work into separate lists

  * xfrm interface cannot be changed anymore (LP: #1968591)
    - xfrm: fix the if_id check in changelink

  * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016)
    - [Debian] Use kernel-testing repo from launchpad

  * vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR
    selector (got 50)) (LP: #1956315)
    - KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit

  * audio from external sound card is distorted (LP: #1966066)
    - ALSA: usb-audio: Fix packet size calculation regression

  * Impish update: upstream stable patchset 2022-04-12 (LP: #1968771)
    - cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    - btrfs: tree-checker: check item_size for inode_item
    - btrfs: tree-checker: check item_size for dev_item
    - clk: jz4725b: fix mmc0 clock gating
    - vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    - parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    - parisc/unaligned: Fix ldw() and stw() unalignment handlers
    - KVM: x86/mmu: make apf token non-zero to fix bug
    - drm/amdgpu: disable MMHUB PG for Picasso
    - drm/i915: Correctly populate use_sagv_wm for all pipes
    - sr9700: sanity check for packet length
    - USB: zaurus: support another broken Zaurus
    - CDC-NCM: avoid overflow in sanity checking
    - x86/fpu: Correct pkru/xstate inconsistency
    - tee: export teedev_open() and teedev_close_context()
    - optee: use driver internal tee_context for some rpc
    - ping: remove pr_err from ping_lookup
    - perf data: Fix double free in perf_session__delete()
    - bnx2x: fix driver load from initrd
    - bnxt_en: Fix active FEC reporting to ethtool
    - hwmon: Handle failure to register sensor with thermal zone correctly
    - bpf: Do not try bpf_msg_push_data with len 0
    - selftests: bpf: Check bpf_msg_push_data return value
    - bpf: Add schedule points in batch ops
    - io_uring: add a schedule point in io_add_buffers()
    - net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    - tipc: Fix end of loop tests for list_for_each_entry()
    - gso: do not skip outer ip header in case of ipip and net_failover
    - openvswitch: Fix setting ipv6 fields causing hw csum failure
   ...

Changed in linux (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (78.4 KiB)

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1036.40

---------------
linux-oem-5.14 (5.14.0-1036.40) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1036.40 -proposed tracker (LP: #1971982)

  * AMD APU s2idle is broken after the ASIC reset fix (LP: #1972134)
    - drm/amdgpu: unify BO evicting method in amdgpu_ttm
    - drm/amdgpu: explicitly check for s0ix when evicting resources

  * amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
    (LP: #1971597)
    - gpio: Request interrupts after IRQ is initialized

linux-oem-5.14 (5.14.0-1035.38) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1035.38 -proposed tracker (LP: #1969056)

  * Packaging resync (LP: #1786013)
    - [Packaging] resync getabis

  * Mute/mic LEDs no function on EliteBook G9 platfroms (LP: #1970552)
    - ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops

  * Mute/mic LEDs no function on HP EliteBook 845/865 G9 (LP: #1970178)
    - ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook
      845/865 G9

  * Focal update: upstream stable patchset 2022-04-22 (LP: #1969892)
    - Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    - USB: serial: pl2303: add IBM device IDs
    - dt-bindings: usb: hcd: correct usb-device path
    - USB: serial: pl2303: fix GS type detection
    - USB: serial: simple: add Nokia phone driver
    - mm: kfence: fix missing objcg housekeeping for SLAB
    - HID: logitech-dj: add new lightspeed receiver id
    - HID: Add support for open wheel and no attachment to T300
    - xfrm: fix tunnel model fragmentation behavior
    - ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    - virtio_console: break out of buf poll on remove
    - vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    - tools/virtio: fix virtio_test execution
    - ethernet: sun: Free the coherent when failing in probing
    - gpio: Revert regression in sysfs-gpio (gpiolib.c)
    - spi: Fix invalid sgs value
    - net:mcf8390: Use platform_get_irq() to get the interrupt
    - Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    - spi: Fix erroneous sgs value with min_t()
    - Input: zinitix - do not report shadow fingers
    - af_key: add __GFP_ZERO flag for compose_sadb_supported in function
      pfkey_register
    - net: dsa: microchip: add spi_device_id tables
    - selftests: vm: fix clang build error multiple output files
    - locking/lockdep: Avoid potential access of invalid memory in lock_class
    - drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    - drm/amdgpu: only check for _PR3 on dGPUs
    - iommu/iova: Improve 32-bit free space estimate
    - tpm: fix reference counting for struct tpm_chip
    - usb: typec: tipd: Forward plug orientation to typec subsystem
    - USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    - xhci: fix garbage USBSTS being logged in some cases
    - xhci: fix runtime PM imbalance in USB2 resume
    - xhci: make xhci_handshake timeout for xhci_reset() adjustable
    - xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    - mei: me: disable driver on the ign firmware
    - mei: ...

Changed in linux-oem-5.14 (Ubuntu Focal):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (12.6 KiB)

This bug was fixed in the package linux - 4.15.0-177.186

---------------
linux (4.15.0-177.186) bionic; urgency=medium

  * bionic/linux: 4.15.0-177.186 -proposed tracker (LP: #1969083)

  * Bionic update: upstream stable patchset 2022-04-13 (LP: #1968932)
    - cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    - vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    - parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    - parisc/unaligned: Fix ldw() and stw() unalignment handlers
    - sr9700: sanity check for packet length
    - USB: zaurus: support another broken Zaurus
    - ping: remove pr_err from ping_lookup
    - net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    - gso: do not skip outer ip header in case of ipip and net_failover
    - openvswitch: Fix setting ipv6 fields causing hw csum failure
    - drm/edid: Always set RGB444
    - net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    - configfs: fix a race in configfs_{,un}register_subsystem()
    - RDMA/ib_srp: Fix a deadlock
    - iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    - ata: pata_hpt37x: disable primary channel on HPT371
    - Revert "USB: serial: ch341: add new Product ID for CH341A"
    - usb: gadget: rndis: add spinlock for rndis response list
    - tracefs: Set the group ownership in apply_options() not parse_options()
    - USB: serial: option: add support for DW5829e
    - USB: serial: option: add Telit LE910R1 compositions
    - usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    - xhci: re-initialize the HC during resume if HCE was set
    - xhci: Prevent futile URB re-submissions due to incorrect return value.
    - tty: n_gsm: fix encoding of control signal octet bit DV
    - tty: n_gsm: fix proper link termination after failed open
    - Revert "drm/nouveau/pmu/gm200-: avoid touching PMU outside of
      DEVINIT/PREOS/ACR"
    - memblock: use kfree() to release kmalloced memblock regions
    - fget: clarify and improve __fget_files() implementation
    - gpio: tegra186: Fix chip_data type confusion
    - tracing: Have traceon and traceoff trigger honor the instance
    - mac80211_hwsim: report NOACK frames in tx_status
    - mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    - i2c: bcm2835: Avoid clock stretching timeouts
    - Input: clear BTN_RIGHT/MIDDLE on buttonpads
    - cifs: fix double free race when mount fails in cifs_get_root()
    - dmaengine: shdma: Fix runtime PM imbalance on error
    - i2c: cadence: allow COMPILE_TEST
    - i2c: qup: allow COMPILE_TEST
    - net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    - usb: gadget: don't release an existing dev->buf
    - usb: gadget: clear related members when goto fail
    - ata: pata_hpt37x: fix PCI clock detection
    - ALSA: intel_hdmi: Fix reference to PCM buffer address
    - ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    - xfrm: fix MTU regression
    - netfilter: fix use-after-free in __nf_register_net_hook()
    - xfrm: enforce validity of offload input flags
    - netfilter: nf_queue: don't assume sk ...

Changed in linux (Ubuntu Bionic):
status: Fix Committed → Fix Released
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.