Ubuntu update for linux-hwe-5.4



Published: 2021-09-16
Risk Low
Patch available YES
Number of vulnerabilities 5
CVE-ID CVE-2020-36311
CVE-2021-22543
CVE-2021-3612
CVE-2021-3653
CVE-2021-3656
CWE-ID CWE-264
CWE-119
CWE-787
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

linux-image-virtual-hwe-18.04 (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-snapdragon-hwe-18.04 (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-oem-osp1 (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-oem (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-lowlatency-hwe-18.04 (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-generic-lpae-hwe-18.04 (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-generic-hwe-18.04 (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-5.4.0-84-lowlatency (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-5.4.0-84-generic-lpae (Ubuntu package)
Operating systems & Components / Operating system package or component

linux-image-5.4.0-84-generic (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU55262

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-36311

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service attack.

The vulnerability exists due to an error in arch/x86/kvm/svm/sev.c in Linux kernel, which allows soft lockup by triggering destruction of a large SEV VM (which requires unregistering many encrypted regions).

Mitigation

Update the affected package linux-hwe-5.4 to the latest version.

Vulnerable software versions

Ubuntu: 18.04

linux-image-virtual-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-snapdragon-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem-osp1 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-lowlatency-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-lpae-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-5.4.0-84-lowlatency (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic-lpae (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic (Ubuntu package): before 5.4.0-84.94~18.04.1

External links

http://ubuntu.com/security/notices/USN-5071-2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Buffer overflow

EUVDB-ID: #VU56018

Risk: Low

CVSSv3.1: 7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2021-22543

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in Linux kernel when handling VM_IO|VM_PFNMAP vmas in KVM. A local user can  can bypass RO checks and cause the pages to get freed while still accessible by the VMM and guest. As a result, an attacker with the ability to start and control a VM to read/write random pages of memory, can trigger memory corruption and execute arbitrary code with elevated privileges.


Mitigation

Update the affected package linux-hwe-5.4 to the latest version.

Vulnerable software versions

Ubuntu: 18.04

linux-image-virtual-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-snapdragon-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem-osp1 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-lowlatency-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-lpae-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-5.4.0-84-lowlatency (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic-lpae (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic (Ubuntu package): before 5.4.0-84.94~18.04.1

External links

http://ubuntu.com/security/notices/USN-5071-2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

3) Out-of-bounds write

EUVDB-ID: #VU55231

Risk: Low

CVSSv3.1: 6.1 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3612

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in joystick devices subsystem in Linux kernel. A local user can make a specially crafted JSIOCSBTNMAP IOCTL call, trigger out-of-bounds write and execute arbitrary code with escalated privileges.

Mitigation

Update the affected package linux-hwe-5.4 to the latest version.

Vulnerable software versions

Ubuntu: 18.04

linux-image-virtual-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-snapdragon-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem-osp1 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-lowlatency-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-lpae-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-5.4.0-84-lowlatency (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic-lpae (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic (Ubuntu package): before 5.4.0-84.94~18.04.1

External links

http://ubuntu.com/security/notices/USN-5071-2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Security restrictions bypass

EUVDB-ID: #VU56904

Risk: Low

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3653

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a malicious guest to escalate privileges on the system.

The vulnerability exists due to improperly imposed security restrictions within the KVM's AMD code for supporting SVM nested virtualization. The flaw occurs when processing the VMCB (virtual machine control block) provided by the L1 guest to spawn/handle a nested guest (L2). Due to improper validation of the "int_ctl" field, this issue could allow a malicious L1 to enable AVIC support (Advanced Virtual Interrupt Controller) for the L2 guest.

As a result, the L2 guest would be allowed to read/write physical pages of the host, resulting in a crash of the entire system, leak of sensitive data or potential guest-to-host escape.

Mitigation

Update the affected package linux-hwe-5.4 to the latest version.

Vulnerable software versions

Ubuntu: 18.04

linux-image-virtual-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-snapdragon-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem-osp1 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-lowlatency-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-lpae-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-5.4.0-84-lowlatency (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic-lpae (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic (Ubuntu package): before 5.4.0-84.94~18.04.1

External links

http://ubuntu.com/security/notices/USN-5071-2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Security restrictions bypass

EUVDB-ID: #VU56929

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3656

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a malicious guest to escalate privileges on the system.

The vulnerability exists due to improperly imposed security restrictions within the KVM's AMD code for supporting SVM nested virtualization. The flaw occurs when processing the VMCB (virtual machine control block) provided by the L1 guest to spawn/handle a nested guest (L2). Due to improper validation of the "virt_ext" field, this issue could allow a malicious L1 to disable both VMLOAD/VMSAVE intercepts and VLS (Virtual VMLOAD/VMSAVE) for the L2 guest.

The vulnerability allows the L2 guest to read/write physical pages of the host, resulting in a crash of the entire system, leak of sensitive data or potential guest-to-host escape.

Mitigation

Update the affected package linux-hwe-5.4 to the latest version.

Vulnerable software versions

Ubuntu: 18.04

linux-image-virtual-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-snapdragon-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem-osp1 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-oem (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-lowlatency-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-lpae-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-generic-hwe-18.04 (Ubuntu package): before 5.4.0.84.94~18.04.75

linux-image-5.4.0-84-lowlatency (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic-lpae (Ubuntu package): before 5.4.0-84.94~18.04.1

linux-image-5.4.0-84-generic (Ubuntu package): before 5.4.0-84.94~18.04.1

External links

http://ubuntu.com/security/notices/USN-5071-2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###