{"id":"CVE-2022-50836","summary":"remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()\n\nThe kfree() should be called when of_irq_get_byname() fails or\ndevm_request_threaded_irq() fails in qcom_add_sysmon_subdev(),\notherwise there will be a memory leak, so add kfree() to fix it.","modified":"2026-04-02T08:28:47.205496Z","published":"2025-12-30T12:10:56.394Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50836.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/131c0a3ead78d45f0f39ddb42cf1bd9be26239b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a62bebe0705556d37cfa8409ddc759b11d404f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/27441fab2651cd909d8a5440ca079bc50245f427"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e01ce676aaef3b13d02343d7e70f9637d93a3367"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4539eb5c0c342567183fe386d0699c8dab49490"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec97e9a5c2f25d2f9f9d7005e9ac67f23cc751cd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50836.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50836"},{"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":"027045a6e2b7cd81216e8a559534a30fb0782702"},{"fixed":"27441fab2651cd909d8a5440ca079bc50245f427"},{"fixed":"e4539eb5c0c342567183fe386d0699c8dab49490"},{"fixed":"131c0a3ead78d45f0f39ddb42cf1bd9be26239b0"},{"fixed":"1a62bebe0705556d37cfa8409ddc759b11d404f6"},{"fixed":"ec97e9a5c2f25d2f9f9d7005e9ac67f23cc751cd"},{"fixed":"e01ce676aaef3b13d02343d7e70f9637d93a3367"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50836.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50836.json"}}],"schema_version":"1.7.5"}