CVE-2022-1729: Race Condition

Published May 16, 2022
·
Updated

A race condition in perfeventopen() which can be exploited by an unprivileged user to gain root privileges. The bug allows to build several exploit primitives such as kernel address information leak, arbitrary execution, etc.

Other sources

A race condition was found the Linux kernel in perfeventopen() which can be exploited by an unprivileged user to gain root privileges. The bug allows to build several exploit primitives such as kernel address information leak, arbitrary execution, etc.

A use-after-free flaw was found in the Linux kernel’s performance events functionality. A user triggers a race condition in setting up performance monitoring between the leading PERFTYPETRACEPOINT and sub PERFEVENTHARDWARE plus the PERFEVENTSOFTWARE using the perfeventopen() function with these three types. This flaw allows a local user to crash the system.

Affected Software

31 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.71.1.rt56.1212.el7
0:3.10.0-1160.71.1.rt56.1212.el7
redhat/kernel<0:3.10.0-1160.71.1.el7
0:3.10.0-1160.71.1.el7
redhat/kernel<0:3.10.0-514.104.1.el7
0:3.10.0-514.104.1.el7
redhat/kernel<0:3.10.0-693.103.1.el7
0:3.10.0-693.103.1.el7
redhat/kernel<0:3.10.0-957.97.1.el7
0:3.10.0-957.97.1.el7
redhat/kernel<0:3.10.0-1062.70.1.el7
0:3.10.0-1062.70.1.el7
redhat/kernel-rt<0:4.18.0-372.16.1.rt7.173.el8_6
0:4.18.0-372.16.1.rt7.173.el8_6
redhat/kernel<0:4.18.0-372.16.1.el8_6
0:4.18.0-372.16.1.el8_6
redhat/kernel<0:4.18.0-147.70.1.el8_1
0:4.18.0-147.70.1.el8_1
redhat/kernel-rt<0:4.18.0-193.87.1.rt13.137.el8_2
0:4.18.0-193.87.1.rt13.137.el8_2
redhat/kernel<0:4.18.0-193.87.1.el8_2
0:4.18.0-193.87.1.el8_2
redhat/kernel-rt<0:4.18.0-305.57.1.rt7.129.el8_4
0:4.18.0-305.57.1.rt7.129.el8_4
redhat/kernel<0:4.18.0-305.57.1.el8_4
0:4.18.0-305.57.1.el8_4
redhat/kernel<0:5.14.0-70.17.1.el9_0
0:5.14.0-70.17.1.el9_0
redhat/kernel-rt<0:5.14.0-70.17.1.rt21.89.el9_0
0:5.14.0-70.17.1.rt21.89.el9_0
Linux Linux kernel>=3.2.85<3.3
Linux Linux kernel>=3.16.40<3.17
Linux Linux kernel>=3.18.54<3.19
Linux Linux kernel>=4.0.0<4.9.316
Linux Linux kernel>=4.10<4.14.281
Linux Linux kernel>=4.15<4.19.245
Linux Linux kernel>=4.20<5.4.196
Linux Linux kernel>=5.5.0<5.10.118
Linux Linux kernel>=5.11<5.15.42
Linux Linux kernel>=5.16<5.17.10
NetApp Hci Baseboard Management Controller=h300s
NetApp Hci Baseboard Management Controller=h410s
NetApp Hci Baseboard Management Controller=h500s
NetApp Hci Baseboard Management Controller=h700s
redhat/kernel<5.18
5.18
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

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.71.1.rt56.1212.el7
  2. Upgrade

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

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

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

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

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

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

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

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

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

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

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

    Fixed in 0:4.18.0-372.16.1.rt7.173.el8_6
  8. Upgrade

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

    Fixed in 0:4.18.0-372.16.1.el8_6
  9. Upgrade

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

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

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

    Fixed in 0:4.18.0-193.87.1.rt13.137.el8_2
  11. Upgrade

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

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

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

    Fixed in 0:4.18.0-305.57.1.rt7.129.el8_4
  13. Upgrade

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

    Fixed in 0:4.18.0-305.57.1.el8_4
  14. Upgrade

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

    Fixed in 0:5.14.0-70.17.1.el9_0
  15. Upgrade

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

    Fixed in 0:5.14.0-70.17.1.rt21.89.el9_0
  16. Upgrade

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

    Fixed in 5.18
  17. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1

Event History

May 16, 2022
Data Sourced
via Red Hat·02:32 PM
DescriptionSeverityAffected Software
May 20, 2022
CVE Published
12:00 AM
Sep 1, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:05 AM
Description
Aug 12, 2026
Data Sourced
via Debian·12:27 PM
DescriptionAffected Software
Aug 15, 2026
Data Sourced
via Ubuntu·12:29 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-1729?

CVE-2022-1729 is categorized as a critical severity vulnerability that allows unprivileged users to gain root privileges.

2

How do I fix CVE-2022-1729?

To fix CVE-2022-1729, upgrade to the specific kernel versions that have addressed this vulnerability.

3

Which Linux kernel versions are affected by CVE-2022-1729?

CVE-2022-1729 affects multiple Linux kernel versions, including 3.10.x, 4.18.x, and several others as specified in the remediation section.

4

Can CVE-2022-1729 lead to arbitrary code execution?

Yes, CVE-2022-1729 can be exploited to execute arbitrary code due to the race condition present in the perf_event_open() function.

5

Is CVE-2022-1729 specific to certain Linux distributions?

CVE-2022-1729 affects various Linux distributions that utilize the vulnerable kernel versions, including Red Hat and Debian.

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