Memory Leaks in EVT_TRANSACTION Handling in nfc: st21nfca
Summary
GSD-2022-1003509: nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling. Affects Kernel versions >= 26fc6c7f02cb26c39c4733de3dbc3c0646fc1074, < 54423649bc0ed464b75807a7cf2857a5871f738f. 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: st21nfca is a component of the Linux Kernel that provides support for Near Field Communication (NFC) functionality. NFC allows for short-range communication between devices, enabling features such as contactless payments and data transfer. The st21nfca driver is responsible for managing the STMicroelectronics ST21NFCA NFC controller. This vulnerability specifically affects the EVT_TRANSACTION handling in the st21nfca driver.
Vulnerability Detail
The vulnerability in the EVT_TRANSACTION handling of the st21nfca driver leads to memory leaks. When processing certain NFC transactions, the driver fails to release allocated memory, resulting in a gradual depletion of system resources. An attacker could potentially exploit this vulnerability by repeatedly triggering the EVT_TRANSACTION event, causing a denial-of-service condition or system instability. The vulnerability was introduced in version v4.0 of the Linux Kernel and has been fixed in version v5.10.122.
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 available for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel to the patched version.
Conclusion
The memory leaks in EVT_TRANSACTION handling of the nfc: st21nfca driver can lead to system resource depletion and potential denial-of-service conditions. It is crucial to update the Linux Kernel to version v5.10.122 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to memory leaks, which can gradually deplete system resources and potentially cause a denial-of-service condition or system instability.
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 provide real-time alerts for open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is still important to apply the recommended fix to mitigate any potential risks.
This vulnerability can potentially be exploited remotely if the affected system is exposed to malicious NFC transactions triggered by an attacker.
There are no reported incidents related to this vulnerability at the time of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.