# CVE-2022-50703: soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:18.548Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()

There are two refcount leak bugs in qcom_smsm_probe():

(1) The 'local_node' is escaped out from for_each_child_of_node() as
the break of iteration, we should call of_node_put() for it in error
path or when it is not used anymore.
(2) The 'node' is escaped out from for_each_available_child_of_node()
as the 'goto', we should call of_node_put() for it in goto target.

(As written by CVE List.)

## Affected

- Linux Linux: from c97c4090ff72297a878a37715bd301624b71c885 before 1bbe75d466e5118b7d49ef4a346c3ce5742da4e8; from c97c4090ff72297a878a37715bd301624b71c885 before bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43; from c97c4090ff72297a878a37715bd301624b71c885 before 42df28994eba7b56c762f7bbe7efd5611a1cd15b; from c97c4090ff72297a878a37715bd301624b71c885 before 1e3ed59370c712df436791efed120f0c082aa9bc; from c97c4090ff72297a878a37715bd301624b71c885 before 39781c98ad46b4e85053345dff797240c1ed7935; from c97c4090ff72297a878a37715bd301624b71c885 before 96e0028debdd07a6d582f0dfadf9a3ec2b5fffff; from c97c4090ff72297a878a37715bd301624b71c885 before 8fb6112bd49c0e49f2cf51604231d85ff00284bb; from c97c4090ff72297a878a37715bd301624b71c885 before ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d; from c97c4090ff72297a878a37715bd301624b71c885 before af8f6f39b8afd772fda4f8e61823ef8c021bf382; 4.5 (not affected: before 4.5; from 4.9.331 up to 4.9.*; from 4.14.296 up to 4.14.*; from 4.19.262 up to 4.19.*; from 5.4.220 up to 5.4.*; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)

## References

- <https://git.kernel.org/stable/c/1bbe75d466e5118b7d49ef4a346c3ce5742da4e8>
- <https://git.kernel.org/stable/c/bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43>
- <https://git.kernel.org/stable/c/42df28994eba7b56c762f7bbe7efd5611a1cd15b>
- <https://git.kernel.org/stable/c/1e3ed59370c712df436791efed120f0c082aa9bc>
- <https://git.kernel.org/stable/c/39781c98ad46b4e85053345dff797240c1ed7935>
- <https://git.kernel.org/stable/c/96e0028debdd07a6d582f0dfadf9a3ec2b5fffff>
- <https://git.kernel.org/stable/c/8fb6112bd49c0e49f2cf51604231d85ff00284bb>
- <https://git.kernel.org/stable/c/ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d>
- <https://git.kernel.org/stable/c/af8f6f39b8afd772fda4f8e61823ef8c021bf382>

## Sources

- CVE List: [CVE-2022-50703](https://www.cve.org/CVERecord?id=CVE-2022-50703), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50703](https://nvd.nist.gov/vuln/detail/CVE-2022-50703), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50703 · Whole record: https://cve.day/CVE-2022-50703.json · Rebuilt by cve.day 2026-11-25T22:58:21.326Z
