firmware: arm_scpi: Fix string overflow in SCPI genpd driver
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4694b1ec425a2d20d6f8ca3db594829fdf5f2672, Kernel 639901b9429a3195e0fead981ed74b51f5f31538, Kernel 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.8, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <4694b1ec425a2d20d6f8ca3db594829fdf5f2672, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <639901b9429a3195e0fead981ed74b51f5f31538, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <802a1a8501563714a5fe8824f4ed27fec04a0719, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <865ed67ab955428b9aa771d8b4f1e4fb7fd08945, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <976389cbb16cee46847e5d06250a3a0b5506781e, >=8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 <f0f484714f35d24ffa0ecb4afe3df1c5b225411d | 4694b1ec425a2d20d6f8ca3db594829fdf5f2672, 639901b9429a3195e0fead981ed74b51f5f31538, 7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb, 802a1a8501563714a5fe8824f4ed27fec04a0719, 865ed67ab955428b9aa771d8b4f1e4fb7fd08945, 976389cbb16cee46847e5d06250a3a0b5506781e, f0f484714f35d24ffa0ecb4afe3df1c5b225411d |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket