)]}'
{
  "commit": "f6b5d51976fcefef5732da3e3feb3ccff680f7c8",
  "tree": "1324f15298a3418a32f1c12ff626d6261fc5c80f",
  "parents": [
    "ce3ca12c632a6b3db26ad6995cf6cbadc344cbb0"
  ],
  "author": {
    "name": "Song Liu",
    "email": "song@kernel.org",
    "time": "Thu Feb 03 16:40:57 2022 -0800"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Feb 16 12:54:31 2022 +0100"
  },
  "message": "perf: Fix list corruption in perf_cgroup_switch()\n\ncommit 5f4e5ce638e6a490b976ade4a40017b40abb2da0 upstream.\n\nThere\u0027s list corruption on cgrp_cpuctx_list. This happens on the\nfollowing path:\n\n  perf_cgroup_switch: list_for_each_entry(cgrp_cpuctx_list)\n      cpu_ctx_sched_in\n         ctx_sched_in\n            ctx_pinned_sched_in\n              merge_sched_in\n                  perf_cgroup_event_disable: remove the event from the list\n\nUse list_for_each_entry_safe() to allow removing an entry during\niteration.\n\nFixes: 058fe1c0440e (\"perf/core: Make cgroup switch visit only cpuctxs with cgroup events\")\nSigned-off-by: Song Liu \u003csong@kernel.org\u003e\nReviewed-by: Rik van Riel \u003criel@surriel.com\u003e\nSigned-off-by: Peter Zijlstra (Intel) \u003cpeterz@infradead.org\u003e\nLink: https://lkml.kernel.org/r/20220204004057.2961252-1-song@kernel.org\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6d3a67bef39519880846844baefd57a2275ef30f",
      "old_mode": 33188,
      "old_path": "kernel/events/core.c",
      "new_id": "c8b3f94f0dbb3f0965814e4b441ec70918ad22d2",
      "new_mode": 33188,
      "new_path": "kernel/events/core.c"
    }
  ]
}
