What’s Vulnerable › Vulnerabilities

CVE-2022-48799: perf: Fix list corruption in perf_cgroup_switch()

Description

In the Linux kernel, the following vulnerability has been resolved: perf: Fix list corruption in perf_cgroup_switch() There's list corruption on cgrp_cpuctx_list. This happens on the following path: perf_cgroup_switch: list_for_each_entry(cgrp_cpuctx_list) cpu_ctx_sched_in ctx_sched_in ctx_pinned_sched_in merge_sched_in perf_cgroup_event_disable: remove the event from the list Use list_for_each_entry_safe() to allow removing an entry during iteration.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.267, 4.19.230, 5.10.101, 5.15.24. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48799 or the next vulnerability affects your stack