{"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-11-13T04:00:29.382871471Z","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":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48776.json","cna_assigner":"Linux"},"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":"af86e36c583300e10a52e3b3348c88a69fc0c552"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"765beb5ef9da4fecb50210decd55dd24187a0698"}]}],"versions":["v5.12.19","v5.12.18","v5.12.17","v5.13.19","v5.13.18","v5.13.17","v5.13.16","v5.13.15","v5.13.14","v5.13.13","v5.13.12","v5.13.11","v5.13.10","v5.13.9","v5.13.8","v5.13.7","v5.13.6","v5.13.5","v5.13.4","v5.13.3","v5.13.2"],"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.12.17"},{"fixed":"5.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.13.2"},{"fixed":"5.14"}]},{"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.9.2"}