In the Linux kernel, the following vulnerability has been resolved: clk: imx: scu: use _safe list iterator to avoid a use after free This loop is freeing "clk" so it needs to use list_for_each_entry_safe(). Otherwise it dereferences a freed variable to get the next item on the loop.
https://git.kernel.org/stable/c/f95ff838ac39f861d1f95a0f3bbb1e01c2517d79
https://git.kernel.org/stable/c/632c60ecd25dbacee54d5581fe3aeb834b57010a
https://git.kernel.org/stable/c/3d90921f91fc6a8c801d527bb5848c99e335c1cf
https://git.kernel.org/stable/c/0a719f0e4b6f233979e219baff73923e76a96e09
https://git.kernel.org/stable/c/08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba