Vulnerability in Kernel: binder: fix async_free_space accounting for empty parcels
Summary
GSD-2022-1000038: binder: fix async_free_space accounting for empty parcels. Affects Kernel versions >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4. 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 Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The binder subsystem within the Kernel enables inter-process communication (IPC) between different components of the system. It allows processes to exchange data and invoke methods across process boundaries. However, a vulnerability has been identified in the binder subsystem that affects the accounting of free space for empty parcels.
Vulnerability Detail
The vulnerability in the binder subsystem relates to the incorrect accounting of free space for empty parcels. When a parcel (a unit of data exchange) is created but remains empty, the binder subsystem fails to properly account for the space it occupies. This can lead to memory leaks and potential resource exhaustion. An attacker could potentially exploit this vulnerability to exhaust system resources, causing denial-of-service conditions or other unexpected behavior. The vulnerability was introduced in version v4.14 of the Linux Kernel and has been fixed in version v5.10.90.
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
As a workaround, users can apply patches provided by the Linux Kernel community to address the vulnerability. These patches modify the affected code in the binder subsystem to ensure proper accounting of free space for empty parcels. The specific patches can be obtained from the official Linux Kernel repository and applied to the Kernel source code before compilation.
Conclusion
The vulnerability in the binder subsystem of the Linux Kernel, which affects the accounting of free space for empty parcels, can lead to memory leaks and resource exhaustion. It is recommended to update the Kernel to version v5.10.90 or later to mitigate this vulnerability. Alternatively, users can apply patches provided by the Linux Kernel community. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to memory leaks and potential resource exhaustion. It may allow an attacker to exhaust system resources, causing denial-of-service conditions or other unexpected behavior.
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 to the playground, and it will analyze the dependencies and alert you if any known vulnerabilities, including this one, are found.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fixes to ensure the security and stability of your system.
The recommended mitigation is to update the Linux Kernel to the fixed version. Applying the provided patches can also address the vulnerability until the Kernel update is applied.
This vulnerability requires local access to the system. It cannot be exploited remotely over a network.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.