Wiz Agents & Workflows are here

CVE-2022-1729
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability (CVE-2022-1729) was discovered in the Linux kernel's perf_event_open() function. The vulnerability was reported in May 2022 and affects kernel versions from 4.0-rc1 onwards. This security flaw allows an unprivileged user to gain root privileges through exploitation of the perf subsystem (Openwall List, NVD).

Technical details

The vulnerability stems from a race condition in the perf subsystem where concurrent perf_event_open() calls can lead to events being attached to multiple contexts simultaneously. The issue occurs when one thread creates a PERF_TYPE_HARDWARE event in a PERF_TYPE_TRACEPOINT group while another thread creates a PERF_TYPE_SOFTWARE event, resulting in context migration conflicts. This can lead to dangling pointers and use-after-free conditions when events are closed in a specific sequence (Openwall List). The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (HIGH) with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability allows an unprivileged user to gain root privileges on affected systems. The bug enables several exploit primitives including kernel address information leaks and arbitrary code execution. However, the impact can be mitigated if the system has the kernel.perf_event_paranoid sysctl variable set to >= 3, which restricts perf usage for unprivileged users (Openwall List).

Mitigation and workarounds

A patch was developed and committed to the Linux kernel to address this vulnerability. The fix involves re-checking the context after acquiring locks to prevent the race condition (Kernel Commit). As a workaround, systems can be protected by setting the kernel.perf_event_paranoid sysctl variable to >= 3, which prevents unprivileged users from using the perf subsystem (Openwall List).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23417N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-core
NoNoApr 02, 2026
CVE-2026-23415N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoApr 02, 2026
CVE-2026-23414N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoYesApr 02, 2026
CVE-2026-23413N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesApr 02, 2026
CVE-2026-23412N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management