Memory Leak Vulnerability in iio: accel: kxcjk-1013
Summary
GSD-2021-1002368: iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove. Affects Kernel versions >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc. 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 iio: accel: kxcjk-1013 is a driver module in the Linux Kernel that provides support for the KXCJK-1013 accelerometer. This module allows applications to access and utilize the accelerometer's data for various purposes, such as motion detection and orientation sensing. However, a vulnerability has been discovered in the module that can lead to a memory leak issue.
Vulnerability Detail
The vulnerability in the iio: accel: kxcjk-1013 module can result in a memory leak during the probe and remove operations. When the module is initialized or removed, there is a possibility of not properly releasing allocated memory, leading to a gradual depletion of available memory resources. This can eventually cause system instability, performance degradation, or even denial of service if the memory leak is severe. The vulnerability was introduced in Linux Kernel version v4.2 and has been fixed in version v4.4.295.
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 →
Conclusion
The memory leak vulnerability in the iio: accel: kxcjk-1013 module of the Linux Kernel can lead to system instability and performance degradation. It is crucial to update the kernel to version v4.4.295 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a memory leak, causing gradual depletion of available memory resources. This can result in system instability, performance degradation, or denial of service if the memory leak is severe.
The vulnerability was introduced in Linux Kernel version v4.2 and affects all versions up to v4.4.294.
You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
You can refer to the commit 8c1d43f3a3fc7184c42d7398bdf59a2a2903e4fc in the Linux Kernel repository for more details about the fix.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.