In the Linux kernel, the following vulnerability has been resolved: mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy() mtd_concat_destroy() frees item->concat so calling mtd_virt_concat_put_mtd_devices(item->concat) after that leads to a use-after-free. Fix it by moving mtd_virt_concat_put_mtd_devices() before mtd_concat_destroy().
https://git.kernel.org/stable/c/d36520e5da8bf87265b334def0daaadf3603cc62
https://git.kernel.org/stable/c/4b45d7836b9526b8776af5f29219615be9417230