CVEvulnerability
CVE-2022-48776
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-07-16
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 5.12.17 < 5.13)
• linux linux kernel (>= 5.13.2 < 5.15.25)
• linux linux kernel (>= 5.16 < 5.16.11)
• linux linux kernel 5.17
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24 Patch
- https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70 Patch
- https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345 Patch
- https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24 Patch
- https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70 Patch
- https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345 Patch