NFC: digital: Fix Possible Memory Leak in digital_in_send_sdd_req()
Summary
GSD-2021-1002156: NFC: digital: fix possible memory leak in digital_in_send_sdd_req(). Affects Kernel versions >= 2c66daecc4092e6049673c281b2e6f0d5e59a94c, < 291c932fc3692e4d211a445ba8aa35663831bac7. 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 Data (SDD) request. However, a possible memory leak has been identified in this function.
Vulnerability Detail
The vulnerability arises from a potential memory leak in the digital_in_send_sdd_req() function of the NFC digital module. If the memory leak occurs, it can lead to the exhaustion of system resources, resulting in degraded performance or even a denial of service condition. The vulnerability was introduced in version v3.13 of the Linux Kernel and has been fixed in version v5.15 by commit 291c932fc3692e4d211a445ba8aa35663831bac7.
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
No specific workaround has been provided for this vulnerability.
Conclusion
In 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 degraded system performance. It is recommended to update the Linux Kernel to version v5.15 or later to mitigate this issue. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can result in a memory leak, potentially leading to resource exhaustion and degraded system performance.
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 and the Vulert Playground will analyze it for open-source vulnerabilities, including this one.
No known exploit has been reported for this vulnerability at the time of this report.
The recommended mitigation is to update the Linux Kernel to version v5.15 or later, which includes the fix for this vulnerability.
You can find more information about this vulnerability in the GSD-2021-1002156 JSON file available on the Cloud Security Alliance's GitHub repository: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002156.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.