CVE-2021-47609

firmware: arm_scpi: Fix string overflow in SCPI genpd driver

HIGH
7.8
CVSS Score
Published: June 19, 2024 at 02:57 PM UTC
Updated: June 17, 2026 at 04:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.2594.15 ≤ v < 4.19.2224.20 ≤ v < 5.4.1684.8 ≤ v < 4.14.2594.8 ≤ v < 4.19.2224.8 ≤ v < 4.9.2944.8 ≤ v < 5.10.884.8 ≤ v < 5.15.114.8 ≤ v < 5.164.8 ≤ v < 5.4.1685.11 ≤ v < 5.15.115.5 ≤ v < 5.10.885.16 rc15.16 rc25.16 rc35.16 rc45.16 rc58bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Vendor states this is fixed in 4694b1ec425a2d20d6f8ca3db594829fdf5f2672 (fixed)
Vendor states this is fixed in 639901b9429a3195e0fead981ed74b51f5f31538 (fixed)
Vendor states this is fixed in 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb (fixed)
Vendor states this is fixed in 802a1a8501563714a5fe8824f4ed27fec04a0719 (fixed)
Vendor states this is fixed in 865ed67ab955428b9aa771d8b4f1e4fb7fd08945 (fixed)
Vendor states this is fixed in 976389cbb16cee46847e5d06250a3a0b5506781e (fixed)
Vendor states this is fixed in f0f484714f35d24ffa0ecb4afe3df1c5b225411d (fixed)
Vendor states this is fixed in 4.14.259 (unaffected)
Vendor states this is fixed in 4.19.222 (unaffected)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 4.9.294 (unaffected)
Vendor states this is fixed in 5.10.88 (unaffected)
Vendor states this is fixed in 5.15.11 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.168 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card