CVE-2021-47609
firmware: arm_scpi: Fix string overflow in SCPI genpd driver
Check your servers for CVE-2021-47609
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-47609 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:
firmware: arm_scpi: Fix string overflow in SCPI genpd driver
Without the bound checks for scpi_pd->name, it could result in the buffer overflow when copying the SCPI device name from the corresponding device tree node as the name string is set at maximum size of 30.
Let us fix it by using devm_kasprintf so that the string buffer is allocated dynamically.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before 639901b9429a3195e0fead981ed74b51f5f31538 affected from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before 4694b1ec425a2d20d6f8ca3db594829fdf5f2672 affected from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb affected from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before 802a1a8501563714a5fe8824f4ed27fec04a0719 affected from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before f0f484714f35d24ffa0ecb4afe3df1c5b225411d affected from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before 976389cbb16cee46847e5d06250a3a0b5506781e affected from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, before 865ed67ab955428b9aa771d8b4f1e4fb7fd08945
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 4.9.294 up to and including 4.9.* unaffected from 4.14.259 up to and including 4.14.* unaffected from 4.19.222 up to and including 4.19.* unaffected from 5.4.168 up to and including 5.4.* unaffected from 5.10.88 up to and including 5.10.* unaffected from 5.15.11 up to and including 5.15.* unaffected 5.16 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-47609 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47609
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-47609
trivy image --scanners vuln IMAGE | grep CVE-2021-47609
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/639901b9429a3195e0fead981ed74b51f5f31538 git.kernel.org
- https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672 git.kernel.org
- https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb git.kernel.org
- https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719 git.kernel.org
- https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d git.kernel.org
- https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e git.kernel.org
- https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945 git.kernel.org
Source: the record CVE-2021-47609 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