ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
Summary
GSD-2022-1004422: ARM: meson: Fix refcount leak in meson_smp_prepare_cpus. Affects Kernel versions >= d850f3e5d2966e5c9eb55f66181cee960737e04c, < 7208101ded1e9dcc52c8f0f8b16474211c871c1a. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The ARM meson package is a component of the Linux Kernel, which is responsible for supporting ARM-based systems. It provides various functionalities and drivers specific to ARM architecture. One of the key features of the meson package is the support for symmetric multiprocessing (SMP) on ARM devices.
Vulnerability Detail
The vulnerability identified in the ARM meson package is a refcount leak in the meson_smp_prepare_cpus function. This function is responsible for preparing the CPUs for SMP operation on ARM devices. The refcount leak occurs when the function fails to properly release the reference count on CPUs, leading to a resource leak. An attacker could potentially exploit this vulnerability to exhaust system resources, resulting in a denial-of-service (DoS) condition. The vulnerability was introduced in version v4.15 of the Linux Kernel and has been fixed in version v5.15.54.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The ARM meson package in the Linux Kernel is vulnerable to a refcount leak in the meson_smp_prepare_cpus function. This vulnerability can be exploited to exhaust system resources and cause a denial-of-service condition. To mitigate the risk, it is recommended to update the Linux Kernel to version v5.15.54 or later. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can be exploited by an attacker to exhaust system resources, leading to a denial-of-service (DoS) condition.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
There is no known exploit for this vulnerability at the moment. However, it is important to patch your system to prevent any potential exploitation.
The vulnerability specifically affects the ARM meson package in the Linux Kernel. However, it is always recommended to keep all packages and dependencies up to date to ensure overall system security.
You can find more information about this vulnerability, including the fix commit and affected versions, in the vulnerability database entry: GSD-2022-1004422 (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1004xxx/GSD-2022-1004422.json)
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.