In the Linux kernel, the following vulnerability has been resolved:
perf: Fix list corruption in perfcgroupswitch()
There's list corruption on cgrpcpuctxlist. This happens on the following path:
perfcgroupswitch: listforeachentry(cgrpcpuctxlist) cpuctxschedin ctxschedin ctxpinnedschedin mergeschedin perfcgroupeventdisable: remove the event from the list
Use listforeachentrysafe() to allow removing an entry during iteration.