NFC: digital: Fix Possible Memory Leak in digital_in_send_sdd_req()
Summary
GSD-2021-1002087: NFC: digital: fix possible memory leak in digital_in_send_sdd_req(). Affects Kernel versions >= 2c66daecc4092e6049673c281b2e6f0d5e59a94c, < 6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86. 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 Digital Device (SDD) request. However, a vulnerability has been identified in this function that could lead to a memory leak.
Vulnerability Detail
The vulnerability in digital_in_send_sdd_req() function can result in a memory leak. This means that memory allocated during the execution of the function may not be properly released, leading to a gradual depletion of available memory resources. If this vulnerability is exploited, it could potentially cause system instability or denial of service.
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 mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The NFC digital module in the Linux Kernel is vulnerable to a memory leak issue in the digital_in_send_sdd_req() function. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.14.14 or later. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can result in a memory leak, potentially leading to system instability or denial of service.
You can use 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 if the vulnerability is present.
No specific workaround is mentioned for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
The vulnerability was introduced in version v3.13 of the Linux Kernel by commit 2c66daecc4092e6049673c281b2e6f0d5e59a94c. It is fixed in version v5.14.14 and later.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002087.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.