CVE-2021-47609

firmware: arm_scpi: Fix string overflow in SCPI genpd driver

State
Published
Severity
Not scored
Published
Jun 19, 2024
Updated
May 11, 2026
Reserved
Jun 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before 639901b9429a3195e0fead981ed74b51f5f31538Affected
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before 4694b1ec425a2d20d6f8ca3db594829fdf5f2672Affected
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedbAffected
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before 802a1a8501563714a5fe8824f4ed27fec04a0719Affected
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before f0f484714f35d24ffa0ecb4afe3df1c5b225411dAffected
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before 976389cbb16cee46847e5d06250a3a0b5506781eAffected
  • 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 to before 865ed67ab955428b9aa771d8b4f1e4fb7fd08945Affected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 4.9.294 through 4.9.*Not affected
  • 4.14.259 through 4.14.*Not affected
  • 4.19.222 through 4.19.*Not affected
  • 5.4.168 through 5.4.*Not affected
  • 5.10.88 through 5.10.*Not affected
  • 5.15.11 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.