CVE-2019-7221 - Use After Free

Severity

46%

Complexity

39%

Confidentiality

106%

The KVM implementation in the Linux kernel through 4.20.5 has a Use-after-Free.

The KVM implementation in the Linux kernel through 4.20.5 has a Use-after-Free.

CVSS 3.0 Base Score 7.8. CVSS Attack Vector: local. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

CVSS 2.0 Base Score 4.6. CVSS Attack Vector: local. CVSS Attack Complexity: low. CVSS Vector: (AV:L/AC:L/Au:N/C:P/I:P/A:P).

Demo Examples

Use After Free

CWE-416

The following example demonstrates the weakness.


               
}
free(buf3R2);

Use After Free

CWE-416

The following code illustrates a use after free error:


               
}
free(ptr);
logError("operation aborted before commit", ptr);

When an error occurs, the pointer is immediately freed. However, this pointer is later incorrectly used in the logError function.

Overview

First reported 5 years ago

2019-03-21 16:01:00

Last updated 5 years ago

2019-06-15 01:29:00

Affected Software

Linux Kernel

openSUSE Leap 15.0

15.0

Fedora 28

28

Fedora 29

29

Debian Linux 8.0 (Jessie)

8.0

Canonical Ubuntu Linux 14.04 LTS (Long-Term Support)

14.04

Canonical Ubuntu Linux 16.04 LTS (Long-Term Support)

16.04

Canonical Ubuntu Linux 18.04 LTS Edition

18.04

Canonical Ubuntu Linux 18.10

18.10

Red Hat OpenShift Container Platform 3.11

3.11

Red Hat Enterprise Linux (RHEL) 7.0 (7)

7.0

RedHat Enterprise Linux Desktop 7.0

7.0

RedHat Enterprise Linux Server 7.0

7.0

Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) 7.6

7.6

Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.6

7.6

Red Hat Enterprise Linux Server Telecommunications Update Service (TUS) 7.6

7.6

RedHat Enterprise Linux Workstation 7.0

7.0

Red Hat Virtualization 4.0

4.0

References

SUSE-SA-2019:0203-1

Mailing List, Third Party Advisory

http://packetstormsecurity.com/files/151713/KVM-VMX-Preemption-Timer-Use-After-Free.html

Third Party Advisory, VDB Entry

http://www.openwall.com/lists/oss-security/2019/02/18/2

Mailing List, Patch, Third Party Advisory

RHBA-2019:0959

Third Party Advisory

RHSA-2019:0818

Third Party Advisory

RHSA-2019:0833

Third Party Advisory

RHSA-2019:3967

RHSA-2019:4058

https://bugs.chromium.org/p/project-zero/issues/detail?id=1760

Exploit, Patch, Third Party Advisory

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ecec76885bcfe3294685dc363fd1273df0d5d65f

Mailing List, Patch, Vendor Advisory

https://github.com/torvalds/linux/commits/master/arch/x86/kvm

Third Party Advisory

[debian-lts-announce] 20190327 [SECURITY] [DLA 1731-1] linux security update

Mailing List, Third Party Advisory

[debian-lts-announce] 20190401 [SECURITY] [DLA 1731-2] linux regression update

Mailing List, Third Party Advisory

[debian-lts-announce] 20190503 [SECURITY] [DLA 1771-1] linux-4.9 security update

Mailing List, Third Party Advisory

FEDORA-2019-164946aa7f

Release Notes, Third Party Advisory

FEDORA-2019-3da64f3e61

Release Notes, Third Party Advisory

https://security.netapp.com/advisory/ntap-20190404-0002/

Third Party Advisory

https://support.f5.com/csp/article/K08413011

USN-3930-1

Third Party Advisory

USN-3930-2

Third Party Advisory

USN-3931-1

Third Party Advisory

USN-3931-2

Third Party Advisory

USN-3932-1

Third Party Advisory

USN-3932-2

Third Party Advisory

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.