# CVE-2021-47609: firmware: arm\_scpi: Fix string overflow in SCPI genpd driver

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-120
- **Published:** 2024-06-19T14:57:59.001Z
- **Modified:** 2026-06-17T04:18:09.407Z

## Who should check

- Anyone running Linux \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 639901b9429a3195e0fead981ed74b51f5f31538; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 4694b1ec425a2d20d6f8ca3db594829fdf5f2672; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 802a1a8501563714a5fe8824f4ed27fec04a0719; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< f0f484714f35d24ffa0ecb4afe3df1c5b225411d; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 976389cbb16cee46847e5d06250a3a0b5506781e; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 865ed67ab955428b9aa771d8b4f1e4fb7fd08945
- Anyone running Linux 4.8

## 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.

## Affected and fixed versions

- Linux: \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 639901b9429a3195e0fead981ed74b51f5f31538; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 4694b1ec425a2d20d6f8ca3db594829fdf5f2672; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 802a1a8501563714a5fe8824f4ed27fec04a0719; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< f0f484714f35d24ffa0ecb4afe3df1c5b225411d; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 976389cbb16cee46847e5d06250a3a0b5506781e; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 865ed67ab955428b9aa771d8b4f1e4fb7fd08945 (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- Upgrade Linux to 865ed67ab955428b9aa771d8b4f1e4fb7fd08945 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47609. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47609.md
Affected: Linux >= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, < 639901b9429a3195e0fead981ed74b51f5f31538; >= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, < 4694b1ec425a2d20d6f8ca3db594829fdf5f2672; >= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, < 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb; >= 8bec4337ad4023b26de35d3…
Fixed in: Linux 639901b9429a3195e0fead981ed74b51f5f31538, Linux 4694b1ec425a2d20d6f8ca3db594829fdf5f2672, Linux 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb, Linux 802a1a8501563714a5fe8824f4ed27fec04a0719, Linux 976389cbb16cee46847e5d06250a3a0b5506781e, Linux 865ed67ab955428b9aa771d8b4f1e4fb7fd08945

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47609 being exploited?

There is no confirmed exploitation: CVE-2021-47609 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47609?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47609?

Linux \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 639901b9429a3195e0fead981ed74b51f5f31538; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 4694b1ec425a2d20d6f8ca3db594829fdf5f2672; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 802a1a8501563714a5fe8824f4ed27fec04a0719; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< f0f484714f35d24ffa0ecb4afe3df1c5b225411d; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 976389cbb16cee46847e5d06250a3a0b5506781e; \>= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, \< 865ed67ab955428b9aa771d8b4f1e4fb7fd08945; Linux 4.8.

### Is there a fix for CVE-2021-47609?

Yes. Fixed in Linux 639901b9429a3195e0fead981ed74b51f5f31538, Linux 4694b1ec425a2d20d6f8ca3db594829fdf5f2672, Linux 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb, Linux 802a1a8501563714a5fe8824f4ed27fec04a0719, Linux 976389cbb16cee46847e5d06250a3a0b5506781e, Linux 865ed67ab955428b9aa771d8b4f1e4fb7fd08945. Upgrade Linux to 865ed67ab955428b9aa771d8b4f1e4fb7fd08945 or later.

### How do I check if I'm affected by CVE-2021-47609?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538>
- patch: <https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672>
- patch: <https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb>
- patch: <https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719>
- patch: <https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d>
- patch: <https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e>
- patch: <https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47609>

HTML: <https://flawdb.com/CVE-2021-47609> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47609>
