NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
Summary
GSD-2021-1001955: NFC: digital: fix possible memory leak in digital_in_send_sdd_req(). Affects Kernel versions >= 2c66daecc4092e6049673c281b2e6f0d5e59a94c, < fcce6e5255474ca33c27dda0cdf9bf5087278873. 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 vulnerability affects the digital module and can lead to a memory leak.
Vulnerability Detail
The vulnerability in digital_in_send_sdd_req() function can result in a memory leak. When the function is called, it may allocate memory but fail to deallocate it properly, leading to a memory leak. This can cause the system to run out of memory over time, potentially impacting its performance and stability. The vulnerability was introduced in version v3.13 of the Linux Kernel and has been fixed in version v4.14.252.
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 memory leak issue in the digital_in_send_sdd_req() function. This vulnerability can impact the system's performance and stability over time. To mitigate the issue, it is recommended to update the Linux Kernel to version v4.14.252 or later. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can result in a memory leak, which can cause the system to run out of memory over time. This can impact the performance and stability of the system.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the Vulert Playground will analyze it for open-source vulnerabilities in real-time.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version to mitigate the issue.
The vulnerability was introduced in version v3.13 of the Linux Kernel. All versions between v3.13 and v4.14.251 (inclusive) are affected. The vulnerability has been fixed in version v4.14.252.
You can find more information about this vulnerability in the GSD-2021-1001955 JSON file available on the GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001955.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.