7.8
CWE
416
Advisory Published
CVE Published
CVE Published
Updated

CVE-2020-14351: Use After Free

First published: Mon Aug 03 2020(Updated: )

A flaw in the Linux kernels perf subsystem could allow a local attacker with permission to monitor perf events (either through CAP_SYS_ADMIN or a modification to /proc/sys/kernel/perf_event_paranoid ) 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/perf_event_paranoid 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 perf_users group as outlined in ther documentation: <a href="https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html">https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
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
Linux Linux kernel<5.8.17
Redhat Enterprise Linux=7.0
Redhat Enterprise Linux=8.0
Debian Debian Linux=9.0
redhat/kernel<5.8.17
5.8.17
debian/linux
5.10.223-1
5.10.226-1
6.1.115-1
6.1.119-1
6.11.10-1
6.12.5-1

Remedy

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.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203