CVE-2021-47609

firmware: arm_scpi: Fix string overflow in SCPI genpd driver

published June 19, 2024

CVSS
—
EPSS
0%
Percentile
16.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00260 · 16.8th percentile
Published
2024-06-19T14:57Z
EPSS history
Timeline
  • 19 JUN 14:57Z
    firmware: arm_scpi: Fix string overflow in SCPI genpd driver
    cvelistv5