CVE-2022-50703

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c97c4090ff72297a878a37715bd301624b71c885 to before 1bbe75d466e5118b7d49ef4a346c3ce5742da4e8Affected
  • c97c4090ff72297a878a37715bd301624b71c885 to before bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43Affected
  • c97c4090ff72297a878a37715bd301624b71c885 to before 42df28994eba7b56c762f7bbe7efd5611a1cd15bAffected
  • c97c4090ff72297a878a37715bd301624b71c885 to before 1e3ed59370c712df436791efed120f0c082aa9bcAffected
  • c97c4090ff72297a878a37715bd301624b71c885 to before 39781c98ad46b4e85053345dff797240c1ed7935Affected
  • c97c4090ff72297a878a37715bd301624b71c885 to before 96e0028debdd07a6d582f0dfadf9a3ec2b5fffffAffected
  • c97c4090ff72297a878a37715bd301624b71c885 to before 8fb6112bd49c0e49f2cf51604231d85ff00284bbAffected
  • c97c4090ff72297a878a37715bd301624b71c885 to before ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861dAffected
  • c97c4090ff72297a878a37715bd301624b71c885 to before af8f6f39b8afd772fda4f8e61823ef8c021bf382Affected
LinuxLinux
  • 4.5Affected
  • before 4.5Not affected
  • 4.9.331 through 4.9.*Not affected
  • 4.14.296 through 4.14.*Not affected
  • 4.19.262 through 4.19.*Not affected
  • 5.4.220 through 5.4.*Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.