CVE-2021-47609·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.15.11
- Published
- 2024-06-19
Affected versions
From: 5.11
Until: 5.15.11
Fixed in: 5.15.11
How to fix this CVE
Update your Linux kernel to version 5.15.11 or later to fix a buffer overflow vulnerability in the ARM SCPI generic power domain driver. This issue affects kernel versions 5.11 through 5.15.10 where dynamic memory allocation was not properly implemented for device name handling. Apply the patch immediately to prevent potential local privilege escalation.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — ensure it is at least 5.15.11 or higher
- Verify the ARM SCPI driver is loaded: lsmod | grep scpi_cpufreq — if output appears, the component is active
- Search system logs for SCPI-related errors: grep -i 'scpi\|genpd' /var/log/kern.log /var/log/syslog
- After patching, reboot and confirm the new kernel version: uname -r — should show 5.15.11 or later
FAQ
What is CVE-2021-47609?
This vulnerability is a buffer overflow in the ARM SCPI generic power domain driver where device names exceeding 30 characters could overflow a fixed-size buffer, potentially allowing local privilege escalation when the driver processes device tree node names.
Is CVE-2021-47609 being actively exploited?
No, CVE-2021-47609 is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the high CVSS score (7.8) warrants prompt patching.
What versions of Kernel are affected by CVE-2021-47609?
Linux kernel versions 5.11 through 5.15.10 are vulnerable; version 5.15.11 and later contain the fix.
How do I check if my server is vulnerable to CVE-2021-47609?
Run 'uname -r' and compare your kernel version against 5.15.11 — if your version falls between 5.11.0 and 5.15.10, you are vulnerable.
Does Defensia detect CVE-2021-47609?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47609 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672
- https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538
- https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb
- https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719
- https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47609. Free for 1 server.
Get started free