NetSight
high7.8

CVE-2021-47609

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 s…

Impact

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 products

VendorProductAffected versions
LinuxLinux 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

Weakness classification

References