CVE-2021-47054
bus: qcom: Put child node before return
Check your servers for CVE-2021-47054
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-2021-47054 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:
bus: qcom: Put child node before return
Put child node before return to fix potential reference count leak. Generally, the reference count of child is incremented and decremented automatically in the macro for_each_available_child_of_node() and should be decremented manually if the loop is broken in loop body.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Mar 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 335a127548081322bd2b294d715418648912f20c, before a6191e91c10e50bd51db65a00e03d02b6b0cf8c4 affected from 335a127548081322bd2b294d715418648912f20c, before 94810fc52925eb122a922df7f9966cf3f4ba7391 affected from 335a127548081322bd2b294d715418648912f20c, before a399dd80e697a02cfb23e2fc09b87849994043d9 affected from 335a127548081322bd2b294d715418648912f20c, before 3a76ec28824c01b57aa1f0927841d75e4f167cb8 affected from 335a127548081322bd2b294d715418648912f20c, before 00f6abd3509b1d70d0ab0fbe65ce5685cebed8be affected from 335a127548081322bd2b294d715418648912f20c, before 6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c affected from 335a127548081322bd2b294d715418648912f20c, before c6f8e0dc8da1cd78d640dee392071cc2326ec1b2 affected from 335a127548081322bd2b294d715418648912f20c, before ac6ad7c2a862d682bb584a4bc904d89fa7721af8
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 4.9.269 up to and including 4.9.* unaffected from 4.14.233 up to and including 4.14.* unaffected from 4.19.191 up to and including 4.19.* unaffected from 5.4.119 up to and including 5.4.* unaffected from 5.10.37 up to and including 5.10.* unaffected from 5.11.21 up to and including 5.11.* unaffected from 5.12.4 up to and including 5.12.* unaffected 5.13 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-2021-47054 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47054
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-2021-47054
trivy image --scanners vuln IMAGE | grep CVE-2021-47054
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/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4 git.kernel.org
- https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391 git.kernel.org
- https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9 git.kernel.org
- https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8 git.kernel.org
- https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be git.kernel.org
- https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c git.kernel.org
- https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2 git.kernel.org
- https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8 git.kernel.org
Source: the record CVE-2021-47054 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse