{"id":"CVE-2022-48776","summary":"mtd: parsers: qcom: Fix missing free for pparts in cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: parsers: qcom: Fix missing free for pparts in cleanup\n\nMtdpart doesn't free pparts when a cleanup function is declared.\nAdd missing free for pparts in cleanup function for smem to fix the\nleak.","modified":"2026-04-11T12:41:18.199134Z","published":"2024-07-16T11:13:15.197Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48776.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b37889f9a151d26a3fb0d3870f6e1046dee2e24"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3dd8ba961b9356c4113b96541c752c73d98fef70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3eb5185896a68373714dc7d0009111744adc3345"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48776.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48776"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"10f3b4d79958d6f9f71588c6fa862159c83fa80f"},{"fixed":"3eb5185896a68373714dc7d0009111744adc3345"},{"fixed":"1b37889f9a151d26a3fb0d3870f6e1046dee2e24"},{"fixed":"3dd8ba961b9356c4113b96541c752c73d98fef70"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"af86e36c583300e10a52e3b3348c88a69fc0c552"},{"last_affected":"765beb5ef9da4fecb50210decd55dd24187a0698"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48776.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"5.15.25"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48776.json"}}],"schema_version":"1.7.5"}