# CVE-2022-48776: mtd: parsers: qcom: Fix missing free for pparts in cleanup

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-07-16T11:13:15.197Z
- Modified: 2026-06-17T05:16:10.083Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 10f3b4d79958d6f9f71588c6fa862159c83fa80f before 3eb5185896a68373714dc7d0009111744adc3345; from 10f3b4d79958d6f9f71588c6fa862159c83fa80f before 1b37889f9a151d26a3fb0d3870f6e1046dee2e24; from 10f3b4d79958d6f9f71588c6fa862159c83fa80f before 3dd8ba961b9356c4113b96541c752c73d98fef70; af86e36c583300e10a52e3b3348c88a69fc0c552; 765beb5ef9da4fecb50210decd55dd24187a0698; from 5.12.17 before 5.13; from 5.13.2 before 5.14; 5.14 (not affected: before 5.14; from 5.15.25 up to 5.15.*; from 5.16.11 up to 5.16.*; from 5.17 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345> (patch)
- <https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24> (patch)
- <https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70> (patch)

## Sources

- CVE List: [CVE-2022-48776](https://www.cve.org/CVERecord?id=CVE-2022-48776), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2022-48776](https://nvd.nist.gov/vuln/detail/CVE-2022-48776), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48776 · Whole record: https://cve.day/CVE-2022-48776.json · Rebuilt by cve.day 2026-11-25T22:58:19.875Z
