In the Linux kernel, the following vulnerability has been resolved: cpuidle: dt_idle_genpd: kfree() the original name allocation dt_idle_pd_alloc() kasprintf()s the full node path, then points pd->name at kbasename() of that string. dt_idle_pd_free() kfree()s pd->name, which is no longer the start of the allocation. Copy the basename instead.
https://git.kernel.org/stable/c/b519dfce1998c323e54a56f911cf708d9ba0e076
https://git.kernel.org/stable/c/a38caa9ed0d5c61c17d88393b14b292199289c1f
https://git.kernel.org/stable/c/3394c7ba23336bdb7ece29127130fd01731d42d8
https://git.kernel.org/stable/c/2b0ac85512b7f67479127b2713254490662eb13d
https://git.kernel.org/stable/c/1312ae33b91430ec99e69cd3d47f0e50a4ebf54b
https://git.kernel.org/stable/c/09d002c8fb0261d35ce9d8a705de5db034ee90b8