~smb/ubuntu/+source/linux/+git/focal:hwe-5.8

Last commit made on 2021-08-13
Get this branch:
git clone -b hwe-5.8 https://git.launchpad.net/~smb/ubuntu/+source/linux/+git/focal
Only Stefan Bader can upload to this branch. If you are Stefan Bader please log in for upload directions.

Branch merges

Branch information

Name:
hwe-5.8
Repository:
lp:~smb/ubuntu/+source/linux/+git/focal

Recent commits

a92b2c4... by Stefan Bader

UBUNTU: Ubuntu-hwe-5.8-5.8.0-65.73

Signed-off-by: Stefan Bader <email address hidden>

1d936e4... by Stefan Bader

UBUNTU: debian/dkms-versions -- update from kernel-versions (main/2021.08.16)

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Stefan Bader <email address hidden>

69b38de... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1939805
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>

6a5acf7... by Maxim Levitsky <email address hidden>

UBUNTU: SAUCE: KVM: nSVM: always intercept VMLOAD/VMSAVE when nested

If L1 disables VMLOAD/VMSAVE intercepts, and doesn't enable
Virtual VMLOAD/VMSAVE (currently not supported for the nested hypervisor),
then VMLOAD/VMSAVE must operate on the L1 physical memory, which is only
possible by making L0 intercept these instructions.

Failure to do so allowed the nested guest to run VMLOAD/VMSAVE unintercepted,
and thus read/write portions of the host physical memory.

This fixes CVE-2021-3656, which was discovered by Maxim Levitsky and
Paolo Bonzini.

Fixes: 89c8a4984fc9 ("KVM: SVM: Enable Virtual VMLOAD VMSAVE feature")
Signed-off-by: Maxim Levitsky <email address hidden>
Signed-off-by: Paolo Bonzini <email address hidden>
CVE-2021-3656
[cascardo: applied 5.4 version considering svm.c split, adding to nested.c]
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Ben Romer <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

0ae55cb... by Maxim Levitsky <email address hidden>

UBUNTU: SAUCE: KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl

This fixes CVE-2021-3653 that allowed a malicious L1 to run L2 with
AVIC enabled, which allowed the L2 to exploit the uninitialized and enabled
AVIC to read/write the host physical memory at some offsets.

The bug was discovered by Maxim Levitsky.

Fixes: 3d6368ef580a ("KVM: SVM: Add VMRUN handler")
Signed-off-by: Maxim Levitsky <email address hidden>
Signed-off-by: Paolo Bonzini <email address hidden>
CVE-2021-3653
[cascardo: svm_clr_intercept is clr_intercept due to missing
 a284ba56a0a4b5a84733a19934196c19277b1b07]
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Ben Romer <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

78d995c... by Vitaly Kuznetsov

KVM: nSVM: introduce nested_svm_load_cr3()/nested_npt_enabled()

As a preparatory change for implementing nSVM-specific PGD switch
(following nVMX' nested_vmx_load_cr3()), introduce nested_svm_load_cr3()
instead of relying on kvm_set_cr3().

No functional change intended.

Signed-off-by: Vitaly Kuznetsov <email address hidden>
Message-Id: <email address hidden>
Signed-off-by: Paolo Bonzini <email address hidden>
(cherry picked from commit 62156f6cd15ab27cf19a97161b5f1820951a36b1)
CVE-2021-3653
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Ben Romer <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

b1ba18d... by Stefan Bader

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Stefan Bader <email address hidden>

4fcf5b9... by Stefan Bader

UBUNTU: [Packaging] update variants

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Stefan Bader <email address hidden>

0f9f499... by Stefan Bader

UBUNTU: Ubuntu-hwe-5.8-5.8.0-64.72

Signed-off-by: Stefan Bader <email address hidden>

8f3f6f2... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1937067
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>