Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < 5d76ed4223403f90421782adb2f20a9ecbc93186affected
  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < 30d9f3cbe47e1018ddc8069ac5b5c9e66fbdf727affected
  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < a2ed7b29d0673ba361546e2d87dbbed149456c45affected
  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < f6b5d51976fcefef5732da3e3feb3ccff680f7c8affected
  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < 7969fe91c9830e045901970e9d755b7505881d4aaffected
  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < 2142bc1469a316fddd10012d76428f7265258f81affected
  • 058fe1c0440e68a1ba3c2270ae43e9f0298b27d8 to < 5f4e5ce638e6a490b976ade4a40017b40abb2da0affected

Linux Linux

Default version status: affected

  • 4.11affected
  • 0 to < 4.11unaffected
  • 4.14.267 to ≤ 4.14.*unaffected
  • 4.19.230 to ≤ 4.19.*unaffected
  • 5.4.180 to ≤ 5.4.*unaffected
  • 5.10.101 to ≤ 5.10.*unaffected
  • 5.15.24 to ≤ 5.15.*unaffected
  • 5.16.10 to ≤ 5.16.*unaffected
  • 5.17 to ≤ *unaffected

References