What’s Vulnerable › Vulnerabilities
CVE-2022-48776: mtd: parsers: qcom: Fix missing free for pparts in cleanup
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-16 · updated 2026-06-17
- Weakness: CWE-401
Description
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.
Affected products
- Linux kernel: from 5.12.17 before 5.13; from 5.13.2 before 5.15.25; from 5.16 before 5.16.11; 5.17-rc1, 5.17-rc2, 5.17-rc3, 5.17-rc4 — fixed in 5.13, 5.15.25, 5.16.11
How to fix
Upgrade to a fixed version: Linux kernel 5.13, 5.15.25, 5.16.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24
- https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70
- https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345
- https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24
- https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70
- https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345
Get alerted when CVE-2022-48776 or the next vulnerability affects your stack