NFC: digital: Fix Possible Memory Leak in digital_in_send_sdd_req()
Summary
GSD-2021-1001855: NFC: digital: fix possible memory leak in digital_in_send_sdd_req(). Affects Kernel versions >= 2c66daecc4092e6049673c281b2e6f0d5e59a94c, < 50cb95487c265187289810addec5093d4fed8329. 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 NFC (Near Field Communication) digital module is a component of the Linux Kernel. It provides support for digital communication with NFC devices. The digital_in_send_sdd_req() function is responsible for sending a Secure Data Download (SDD) request to an NFC device. This function is vulnerable to a possible memory leak, which can lead to resource exhaustion and potential denial of service.
Vulnerability Detail
The vulnerability in digital_in_send_sdd_req() can result in a memory leak. When the function is called, it may allocate memory dynamically but fail to deallocate it properly in certain error scenarios. This can lead to a gradual depletion of available memory resources, potentially causing the system to become unresponsive or crash. An attacker could potentially exploit this vulnerability to launch a denial of service attack against a system that uses NFC functionality.
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 NFC digital module in the Linux Kernel is vulnerable to a possible memory leak in the digital_in_send_sdd_req() function. This vulnerability can lead to resource exhaustion and potential denial of service. It is recommended to update to the latest version of the Linux Kernel to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to a memory leak, potentially causing resource exhaustion and system instability. It may result in denial of service if exploited by an attacker.
You can use Vulert's 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 provide real-time alerts for open-source vulnerabilities, including this one.
No specific workaround has been provided for this vulnerability. It is recommended to update to the latest version of the Linux Kernel to apply the fix.
There is no information available regarding exploitation of this vulnerability in the wild. However, it is always advisable to apply security patches promptly to mitigate potential risks.
You can find more information about this vulnerability in the Linux Kernel's Git repository. The vulnerability ID GSD-2021-1001855 provides additional details and references.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.