CVE-2020-14351: Use After Free

Published Aug 3, 2020
·
Updated

A flaw in the Linux kernels perf subsystem could allow a local attacker with permission to monitor perf events (either through CAPSYSADMIN or a modification to /proc/sys/kernel/perfeventparanoid ) to create an environment where a use-after-free flaw could take place allowing them to corrupt memory and possibly escalate privileges.

The Red Hat Enterprise Linux 7.2 and later kernels default to a safe /proc/sys/kernel/perfeventparanoid setting, however local administrators may have reason to change the setting to allow non privileged users to monitor performance statistics.

Upstream kernel documentation recommends not modifying this value and instead creating a perfusers group as outlined in ther documentation:

https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html

Other sources

A flaw was found in the Linux kernel. A use-after-free memory flaw was found in the perf subsystem allowing a local attacker with permission to monitor perf events to corrupt memory and possibly escalate privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Affected Software

93 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.21.1.rt56.1158.el7
0:3.10.0-1160.21.1.rt56.1158.el7
redhat/kernel<0:3.10.0-1160.21.1.el7
0:3.10.0-1160.21.1.el7
redhat/kernel<0:3.10.0-514.86.1.el7
0:3.10.0-514.86.1.el7
redhat/kernel<0:3.10.0-693.84.1.el7
0:3.10.0-693.84.1.el7
redhat/kernel<0:3.10.0-957.70.1.el7
0:3.10.0-957.70.1.el7
redhat/kernel<0:3.10.0-1062.46.1.el7
0:3.10.0-1062.46.1.el7
redhat/kernel-rt<0:4.18.0-240.15.1.rt7.69.el8_3
0:4.18.0-240.15.1.rt7.69.el8_3
redhat/kernel<0:4.18.0-240.15.1.el8_3
0:4.18.0-240.15.1.el8_3
redhat/kernel<0:4.18.0-147.43.1.el8_1
0:4.18.0-147.43.1.el8_1
redhat/kernel-rt<0:4.18.0-193.46.1.rt13.96.el8_2
0:4.18.0-193.46.1.rt13.96.el8_2
redhat/kernel<0:4.18.0-193.46.1.el8_2
0:4.18.0-193.46.1.el8_2
redhat/kernel<5.8.17
5.8.17
Linux Linux kernel<5.8.17
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
ubuntu/linux-aws<4.4.0-1082.86
4.4.0-1082.86
ubuntu/linux-azure<4.15.0-1100.111~14.04.1
4.15.0-1100.111~14.04.1
ubuntu/linux-lts-xenial<4.4.0-197.229~14.04.1
4.4.0-197.229~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-197.229
4.4.0-197.229
ubuntu/linux-aws<4.4.0-1118.132
4.4.0-1118.132
ubuntu/linux-aws-hwe<4.15.0-1088.93~16.04.1
4.15.0-1088.93~16.04.1
ubuntu/linux-azure<4.15.0-1100.111~16.04.1
4.15.0-1100.111~16.04.1
ubuntu/linux-gcp<4.15.0-1088.101~16.04.1
4.15.0-1088.101~16.04.1
ubuntu/linux-hwe<4.15.0-126.129~16.04.1
4.15.0-126.129~16.04.1
ubuntu/linux-kvm<4.4.0-1084.93
4.4.0-1084.93
ubuntu/linux-oracle<4.15.0-1059.65~16.04.1
4.15.0-1059.65~16.04.1
ubuntu/linux-raspi2<4.4.0-1142.152
4.4.0-1142.152
ubuntu/linux-snapdragon<4.4.0-1146.156
4.4.0-1146.156
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1051.57
4.4.0-1051.57
ubuntu/linux-fips*
ubuntu/linux<4.15.0-126.129
4.15.0-126.129
ubuntu/linux-aws<4.15.0-1088.93
4.15.0-1088.93
ubuntu/linux-aws-5.4<5.4.0-1030.31~18.04.1
5.4.0-1030.31~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1100.111
4.15.0-1100.111
ubuntu/linux-azure-5.4<5.4.0-1032.33~18.04.1
5.4.0-1032.33~18.04.1
ubuntu/linux-dell300x<4.15.0-1007.11
4.15.0-1007.11
ubuntu/linux-gcp-4.15<4.15.0-1088.101
4.15.0-1088.101
ubuntu/linux-gcp-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1074.79
4.15.0-1074.79
ubuntu/linux-gke-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1005.6
5.4.0-1005.6
ubuntu/linux-hwe-5.4<5.4.0-56.62~18.04.1
5.4.0-56.62~18.04.1
ubuntu/linux-kvm<4.15.0-1079.81
4.15.0-1079.81
ubuntu/linux-oem<4.15.0-1103.114
4.15.0-1103.114
ubuntu/linux-oracle<4.15.0-1059.65
4.15.0-1059.65
ubuntu/linux-oracle-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1023.26~18.04.1
5.4.0-1023.26~18.04.1
ubuntu/linux-raspi2<4.15.0-1074.79
4.15.0-1074.79
ubuntu/linux-snapdragon<4.15.0-1091.100
4.15.0-1091.100
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2031.32
4.15.0-2031.32
ubuntu/linux-azure-fips<4.15.0-2013.15
4.15.0-2013.15
ubuntu/linux-fips<4.15.0-1046.53
4.15.0-1046.53
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-56.62
5.4.0-56.62
ubuntu/linux-aws<5.4.0-1030.31
5.4.0-1030.31
ubuntu/linux-azure<5.4.0-1032.33
5.4.0-1032.33
ubuntu/linux-gcp<5.4.0-1030.32
5.4.0-1030.32
ubuntu/linux-hwe-5.8<5.8.0-31.33~20.04.1
5.8.0-31.33~20.04.1
ubuntu/linux-kvm<5.4.0-1028.29
5.4.0-1028.29
ubuntu/linux-oem-5.6<5.6.0-1053.57
5.6.0-1053.57
ubuntu/linux-oracle<5.4.0-1030.32
5.4.0-1030.32
ubuntu/linux-raspi<5.4.0-1023.26
5.4.0-1023.26
ubuntu/linux-riscv<5.4.0-37.42
5.4.0-37.42
ubuntu/linux-raspi2*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.21.1.rt56.1158.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.21.1.el7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-514.86.1.el7
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.84.1.el7
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-957.70.1.el7
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1062.46.1.el7
  7. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.15.1.rt7.69.el8_3
  8. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.15.1.el8_3
  9. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-147.43.1.el8_1
  10. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.46.1.rt13.96.el8_2
  11. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.46.1.el8_2
  12. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.8.17
  13. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  14. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1082.86
  15. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1100.111~14.04.1
  16. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-197.229~14.04.1
  17. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-197.229
  18. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1118.132
  19. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1088.93~16.04.1
  20. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1100.111~16.04.1
  21. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1088.101~16.04.1
  22. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-126.129~16.04.1
  23. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1084.93
  24. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1059.65~16.04.1
  25. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1142.152
  26. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1146.156
  27. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1051.57
  28. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-126.129
  29. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1088.93
  30. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.31~18.04.1
  31. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1100.111
  32. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1032.33~18.04.1
  33. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1007.11
  34. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1088.101
  35. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32~18.04.1
  36. Upgrade

    Upgrade ubuntu/linux-gke-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1074.79
  37. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32~18.04.1
  38. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1005.6
  39. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-56.62~18.04.1
  40. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1079.81
  41. Upgrade

    Upgrade ubuntu/linux-oem to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.114
  42. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1059.65
  43. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32~18.04.1
  44. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.26~18.04.1
  45. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1074.79
  46. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1091.100
  47. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2031.32
  48. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2013.15
  49. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1046.53
  50. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-56.62
  51. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.31
  52. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1032.33
  53. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32
  54. Upgrade

    Upgrade ubuntu/linux-hwe-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-31.33~20.04.1
  55. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1028.29
  56. Upgrade

    Upgrade ubuntu/linux-oem-5.6 to a version that resolves this vulnerability.

    Fixed in 5.6.0-1053.57
  57. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32
  58. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.26
  59. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 5.4.0-37.42
  60. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  61. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  62. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  63. Compensating control

    Create a perf_users group as described in the upstream perf security documentation and restrict or remove users' access to perf events; do not modify /proc/sys/kernel/perf_event_paranoid.

Event History

Sep 25, 2020
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Dec 3, 2020
CVE Published
via MITRE·04:43 PM
Data Sourced
via MITRE·04:43 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2020-14351?

CVE-2020-14351 is considered a medium severity vulnerability due to its potential to allow local attackers to exploit use-after-free conditions.

2

How do I fix CVE-2020-14351?

To fix CVE-2020-14351, update to the patched kernel versions specified in the remediation for your operating system.

3

Who is affected by CVE-2020-14351?

CVE-2020-14351 affects local users with permission to monitor perf events on Linux systems.

4

What type of vulnerability is CVE-2020-14351?

CVE-2020-14351 is a use-after-free vulnerability in the Linux kernel's perf subsystem.

5

Can CVE-2020-14351 be exploited remotely?

No, CVE-2020-14351 requires local access and specific permissions to be exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203