Memory Leak in NFC: st21nfca
Summary
GSD-2022-1000050: NFC: st21nfca: Fix memory leak in device probe and remove. Affects Kernel versions >= 68957303f44a501af5cf37913208a2acaa6bcdf1, < 238920381b8925d070d32d73cd9ce52ab29896fe. 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) package, st21nfca, is a component of the Linux Kernel. It provides support for NFC devices based on the STMicroelectronics ST21NFC chipset. NFC technology enables short-range communication between devices, allowing for contactless data transfer and payment transactions. The st21nfca package is vulnerable to a memory leak issue.
Vulnerability Detail
The memory leak vulnerability in the st21nfca package occurs during device probe and removal. When a device is probed or removed, memory resources are not properly released, leading to a gradual depletion of available memory. This can result in system instability, performance degradation, and potential denial-of-service attacks. The vulnerability was introduced in Linux Kernel version v3.16 and has been fixed in version v5.15.13.
How To Fix
No fixed version is published for this vulnerability.
To fix the memory leak vulnerability in the st21nfca package, it is recommended to update the Linux Kernel to version v5.15.13 or later. This can be done by fetching the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated kernel package.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to the recommended version.
Conclusion
The st21nfca package in the Linux Kernel is vulnerable to a memory leak issue. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.15.13 or later. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The st21nfca package is a component of the Linux Kernel that provides support for NFC devices based on the STMicroelectronics ST21NFC chipset.
NFC (Near Field Communication) is a technology that enables short-range communication between devices, allowing for contactless data transfer and payment transactions.
A memory leak is a software defect where allocated memory is not properly released, leading to a gradual depletion of available memory resources.
The memory leak vulnerability in the st21nfca package can result in system instability, performance degradation, and potential denial-of-service attacks.
To fix the memory leak vulnerability, it is recommended to update the Linux Kernel to version v5.15.13 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.