Memory Leak Vulnerability in NFC Digital Component of Linux Kernel
Summary
UVI-2021-1001807: NFC: digital: fix possible memory leak in digital_in_send_sdd_req(). Affects Kernel versions >= 2c66daecc4092e6049673c281b2e6f0d5e59a94c, < 071bdef36391958c89af5fa2172f691b31baa212. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The NFC (Near Field Communication) subsystem within the Linux Kernel enables communication between devices in close proximity, facilitating contactless data exchange. The digital component of the NFC subsystem is responsible for handling digital communication protocols. However, a vulnerability has been identified in the digital_in_send_sdd_req() function, which could lead to a memory leak.
Vulnerability Detail
The digital_in_send_sdd_req() function in the NFC digital component of the Linux Kernel is susceptible to a memory leak. This vulnerability could allow an attacker to repeatedly trigger the function, causing memory resources to be allocated but not properly deallocated, leading to a gradual depletion of available memory. If exploited successfully, this memory leak could result in system instability, performance degradation, or even denial of service. The vulnerability was introduced in version v3.13 of the Linux Kernel and has been fixed in version v4.19.213.
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 temporary workaround, users can mitigate the risk of memory depletion by avoiding scenarios that trigger the digital_in_send_sdd_req() function excessively. This may involve limiting the usage of NFC functionality or disabling it altogether if not essential. However, applying the official fix by updating the Linux Kernel is strongly recommended.
Conclusion
The memory leak vulnerability in the digital component of the NFC subsystem in the Linux Kernel can lead to memory depletion and potential system instability. It is crucial to update the Linux Kernel to version v4.19.213 or later to mitigate this vulnerability. Users can refer to the official Linux Kernel documentation for detailed instructions on updating the kernel. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
If exploited, this vulnerability could lead to memory depletion, resulting in system instability, performance degradation, or denial of service.
You can use the Vulert Playground at Vulert 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 vulnerabilities, including this memory leak, are present.
At the time of this report, there is no known public exploit for this vulnerability. However, it is crucial to apply the fix promptly to prevent potential exploitation.
While there is a temporary workaround available, it is highly recommended to update the Linux Kernel to the fixed version. Applying the official fix ensures comprehensive resolution of the vulnerability.
This vulnerability specifically affects the digital component of the NFC subsystem in the Linux Kernel. It is advisable to update the kernel to the fixed version rather than relying on alternative libraries or components.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.