Memory leaks in EVT_TRANSACTION handling in nfc: st21nfca
Summary
GSD-2022-1002931: nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling. Affects Kernel versions >= 26fc6c7f02cb26c39c4733de3dbc3c0646fc1074, < db836b97464d44340b568e041fd24602858713f7. 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 package is a component of the Linux Kernel, which is responsible for handling Near Field Communication (NFC) functionality. NFC allows for short-range communication between devices, enabling various applications such as contactless payments and data transfer. The st21nfca module specifically provides support for STMicroelectronics ST21NFCA NFC controllers. This vulnerability affects versions of the Linux Kernel from v4.0 to v5.17.14.
Vulnerability Detail
The vulnerability in nfc: st21nfca is related to memory leaks in the EVT_TRANSACTION handling. When processing certain NFC transactions, the module fails to release allocated memory, leading to memory leaks. An attacker could potentially exploit this vulnerability to exhaust system memory resources, resulting in a denial-of-service condition or other unpredictable behavior. The vulnerability was introduced in version v4.0 of the Linux Kernel and has been fixed in version v5.17.15.
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.
Conclusion
In conclusion, the nfc: st21nfca package in the Linux Kernel is vulnerable to memory leaks in EVT_TRANSACTION handling. This vulnerability can be mitigated by updating to Linux Kernel version v5.17.15 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
nfc: st21nfca is a component of the Linux Kernel that provides support for STMicroelectronics ST21NFCA NFC controllers.
This vulnerability can lead to memory leaks, potentially causing a denial-of-service condition or other unpredictable behavior.
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 alert you in real-time.
Yes, the vulnerability has been fixed in Linux Kernel version v5.17.15. It is recommended to update to this version or later.
You can find more information about this vulnerability in the GSD-2022-1002931 JSON file available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002931.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.