CVE-2023-53428
MediumIn the Linux kernel, the following vulnerability has been resolved: powercap: arm_scmi: Remove recursion while parsing zones Powercap zones can be defined as arranged in a hierarchy of trees and when registering a zone with powercap_register_zone(), the kernel powercap subsystem expects this to happen starting from the root zones down to the leaves; on the other side, de-registration by powercap_deregister_zone() must begin from the leaf zones. Available SCMI powercap zones are retrieved dynamically from the platform at probe time and, while any defined hierarchy between the zones is described properly in the zones descriptor, the platform returns the availables zones with no particular well-defined order: as a consequence, the trees possibly composing the hierarchy of zones have to be somehow walked properly to register the retrieved zones from the root. Currently the ARM SCMI Powercap driver walks the zones using a recursive algorithm; this approach, even though correct and tested can lead to kernel stack overflow when processing a returned hierarchy of zones composed by particularly high trees. Avoid possible kernel stack overflow by substituting the recursive approach with an iterative one supported by a dynamically allocated stack-like data structure.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-674CVE-2023-53428 is a Uncontrolled Recursion vulnerability
What is Uncontrolled Recursion?
The product does not properly control the amount of recursion which triggers resource consumption. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.2
and later are affected. Fixed in
6.4.16,
6.5.3,
6.6
and their respective stable series.
References
The following references provide additional information about CVE-2023-53428 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3e767d6850f867cc33ac16ca097350a1d2417982
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8022b64fb7daa6135d9f7b0e2f7b5b8e9e5179c9
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b427c23cebc5c926516f20304bf1acc05a33d147
Frequently asked questions
-
What is CVE-2023-53428?
CVE-2023-53428 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Uncontrolled Recursion flaw (CWE-674) . It affects Linux kernel versions from 6.2 onward and has been patched in 6.4.16, 6.5.3 and 6.6. CVE-2023-53428 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-53428?
CVE-2023-53428 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2023-53428?
Yes — CVE-2023-53428 has been patched. Fixed versions include 6.4.16, 6.5.3 and 6.6. If you are running Linux kernel 6.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53428 actively exploited?
No — CVE-2023-53428 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Uncontrolled Recursion (CWE-674)?
The product does not properly control the amount of recursion which triggers resource consumption. View CWE-674 on MITRE CWE →