{"id":"CVE-2022-50703","aliases":["CVE-2022-50703"],"related":[],"kind":"vulnerability","state":"published","title":"soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()\n\nThere are two refcount leak bugs in qcom_smsm_probe():\n\n(1) The 'local_node' is escaped out from for_each_child_of_node() as\nthe break of iteration, we should call of_node_put() for it in error\npath or when it is not used anymore.\n(2) The 'node' is escaped out from for_each_available_child_of_node()\nas the 'goto', we should call of_node_put() for it in goto target.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()\n\nThere are two refcount leak bugs in qcom_smsm_probe():\n\n(1) The 'local_node' is escaped out from for_each_child_of_node() as\nthe break of iteration, we should call of_node_put() for it in error\npath or when it is not used anymore.\n(2) The 'node' is escaped out from for_each_available_child_of_node()\nas the 'goto', we should call of_node_put() for it in goto target.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha corregido la siguiente vulnerabilidad:\\n\\nsoc: qcom: smsm: Corrige errores de fuga de refcount en qcom_smsm_probe()\\n\\nHay dos errores de fuga de refcount en qcom_smsm_probe():\\n\\n(1) El ’local_node’ se escapa de for_each_child_of_node() como la interrupción de la iteración; debemos llamar a of_node_put() para él en la ruta de error o cuando ya no se use.\\n\\n(2) El ’node’ se escapa de for_each_available_child_of_node() como el ’goto’; debemos llamar a of_node_put() para él en el objetivo del goto.","source":"nvd"}],"published":"2025-12-24T10:55:18.548Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"1bbe75d466e5118b7d49ef4a346c3ce5742da4e8","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"42df28994eba7b56c762f7bbe7efd5611a1cd15b","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"1e3ed59370c712df436791efed120f0c082aa9bc","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"39781c98ad46b4e85053345dff797240c1ed7935","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"96e0028debdd07a6d582f0dfadf9a3ec2b5fffff","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"8fb6112bd49c0e49f2cf51604231d85ff00284bb","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d","status":"affected"},{"type":"git","introduced":"c97c4090ff72297a878a37715bd301624b71c885","fixed":"af8f6f39b8afd772fda4f8e61823ef8c021bf382","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.5","status":"unaffected"},{"type":"semver","introduced":"4.9.331","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.296","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1bbe75d466e5118b7d49ef4a346c3ce5742da4e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42df28994eba7b56c762f7bbe7efd5611a1cd15b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e3ed59370c712df436791efed120f0c082aa9bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39781c98ad46b4e85053345dff797240c1ed7935","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96e0028debdd07a6d582f0dfadf9a3ec2b5fffff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fb6112bd49c0e49f2cf51604231d85ff00284bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af8f6f39b8afd772fda4f8e61823ef8c021bf382","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50703","url":"https://www.cve.org/CVERecord?id=CVE-2022-50703","licence":"CVE Terms of Use","modified":"2026-05-11T19:23:51.817Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50703","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50703","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.326Z","epss":{"score":0.00249,"percentile":0.17424,"date":"2026-12-01T12:00:22.000Z"}}