CVE-2022-50703
soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
Check your servers for CVE-2022-50703
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50703 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c97c4090ff72297a878a37715bd301624b71c885, before 1bbe75d466e5118b7d49ef4a346c3ce5742da4e8 affected from c97c4090ff72297a878a37715bd301624b71c885, before bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43 affected from c97c4090ff72297a878a37715bd301624b71c885, before 42df28994eba7b56c762f7bbe7efd5611a1cd15b affected from c97c4090ff72297a878a37715bd301624b71c885, before 1e3ed59370c712df436791efed120f0c082aa9bc affected from c97c4090ff72297a878a37715bd301624b71c885, before 39781c98ad46b4e85053345dff797240c1ed7935 affected from c97c4090ff72297a878a37715bd301624b71c885, before 96e0028debdd07a6d582f0dfadf9a3ec2b5fffff affected from c97c4090ff72297a878a37715bd301624b71c885, before 8fb6112bd49c0e49f2cf51604231d85ff00284bb affected from c97c4090ff72297a878a37715bd301624b71c885, before ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d affected from c97c4090ff72297a878a37715bd301624b71c885, before af8f6f39b8afd772fda4f8e61823ef8c021bf382
Other versions: unaffected
|
| Linux |
affected 4.5 unaffected before 4.5 unaffected from 4.9.331 up to and including 4.9.* unaffected from 4.14.296 up to and including 4.14.* unaffected from 4.19.262 up to and including 4.19.* unaffected from 5.4.220 up to and including 5.4.* unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50703 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50703
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50703
trivy image --scanners vuln IMAGE | grep CVE-2022-50703
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1bbe75d466e5118b7d49ef4a346c3ce5742da4e8 git.kernel.org
- https://git.kernel.org/stable/c/bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43 git.kernel.org
- https://git.kernel.org/stable/c/42df28994eba7b56c762f7bbe7efd5611a1cd15b git.kernel.org
- https://git.kernel.org/stable/c/1e3ed59370c712df436791efed120f0c082aa9bc git.kernel.org
- https://git.kernel.org/stable/c/39781c98ad46b4e85053345dff797240c1ed7935 git.kernel.org
- https://git.kernel.org/stable/c/96e0028debdd07a6d582f0dfadf9a3ec2b5fffff git.kernel.org
- https://git.kernel.org/stable/c/8fb6112bd49c0e49f2cf51604231d85ff00284bb git.kernel.org
- https://git.kernel.org/stable/c/ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d git.kernel.org
- https://git.kernel.org/stable/c/af8f6f39b8afd772fda4f8e61823ef8c021bf382 git.kernel.org
Source: the record CVE-2022-50703 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse