Memory Leak Vulnerability in iio: accel: kxcjk-1013
Summary
GSD-2021-1002522: iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove. Affects Kernel versions >= a25691c1f9674090fb66586cf4c5d60d3efdf339, < ee86d0bad80bdcd11a87e188a596727f41b62320. 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 package is a component of the Linux Kernel. It provides support for the KXCJK-1013 accelerometer sensor. The accelerometer is responsible for measuring acceleration forces and is commonly used in various applications, including motion detection and orientation sensing. The vulnerability in this package can lead to a memory leak issue.
Vulnerability Detail
The vulnerability in iio: accel: kxcjk-1013 is related to a possible memory leak in the probe and remove functions. When the probe function is called during device initialization, there is a potential for memory not being properly deallocated. Similarly, when the remove function is called during device removal, memory may also not be released correctly. This can result in a gradual depletion of available memory resources, potentially leading to system instability or denial of service. The vulnerability was introduced in version v4.2 of the Linux Kernel and has been fixed in version v5.10.85.
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 provided for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.
Conclusion
The memory leak vulnerability in iio: accel: kxcjk-1013 can have serious implications for system stability and performance. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk of memory leaks. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
iio: accel: kxcjk-1013 is a package in the Linux Kernel that provides support for the KXCJK-1013 accelerometer sensor.
The vulnerability can result in a memory leak, leading to potential system instability or denial of service.
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 alert you in real-time.
No specific workaround is provided for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.
You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2021-1002522.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.