# CVE-2021-47609: firmware: arm_scpi: Fix string overflow in SCPI genpd driver

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-06-19T14:57:59.001Z
- Modified: 2026-06-17T04:18:09.407Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before 639901b9429a3195e0fead981ed74b51f5f31538; from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before 4694b1ec425a2d20d6f8ca3db594829fdf5f2672; from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb; from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before 802a1a8501563714a5fe8824f4ed27fec04a0719; from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before f0f484714f35d24ffa0ecb4afe3df1c5b225411d; from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before 976389cbb16cee46847e5d06250a3a0b5506781e; from 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 before 865ed67ab955428b9aa771d8b4f1e4fb7fd08945; 4.8 (not affected: before 4.8; from 4.9.294 up to 4.9.*; from 4.14.259 up to 4.14.*; from 4.19.222 up to 4.19.*; from 5.4.168 up to 5.4.*; from 5.10.88 up to 5.10.*; from 5.15.11 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 4.8 before 4.9.294; from 4.10 before 4.14.259; from 4.15 before 4.19.222; from 4.20 before 5.4.168; from 5.5 before 5.10.88; from 5.11 before 5.15.11; 5.16

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2021-47609](https://www.cve.org/CVERecord?id=CVE-2021-47609), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47609](https://nvd.nist.gov/vuln/detail/CVE-2021-47609), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47609 · Whole record: https://cve.day/CVE-2021-47609.json · Rebuilt by cve.day 2026-11-25T22:58:08.943Z
