In the Linux kernel, the following vulnerability has been resolved: mtd: parsers: qcom: Fix missing free for pparts in cleanup Mtdpart doesn't free pparts when a cleanup function is declared. Add missing free for pparts in cleanup function for smem to fix the leak.
https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345
https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70
https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24