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

17 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

Remediation

Information

While there is no way to disable the perf subsystem on Linux systems, reducing or removing users access to the perf events can effectively mitigate this flaw. Upstream kernel documentation has been written regarding this mechanism: https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html.

Event History

Nov 6, 2020
CVE Published
02:00 PM
Dec 3, 2020
CVE Published
via MITRE·04:43 PM
Data Sourced
via MITRE·04:43 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:40 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:20 AM
RemedyDescriptionSeverityAffected Software
May 6, 2025
Data Sourced
via Debian·04:22 AM
DescriptionAffected Software

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