Memory Leak in NFC: nci_allocate_device
Summary
UVI-2021-1000614: NFC: nci: fix memory leak in nci_allocate_device. Affects Kernel versions >= 11f54f228643d0248ec00ce8c9fb8d872f87e7b8, < b34cb7ac32cc8e5471dc773180ea9ae676b1a745. 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) functionality in the Linux Kernel allows devices to communicate wirelessly over short distances. The nci_allocate_device function is responsible for allocating memory for an NFC device. However, a memory leak vulnerability has been identified in this function, which could lead to the exhaustion of system resources over time.
Vulnerability Detail
The memory leak vulnerability in nci_allocate_device arises from a failure to release allocated memory when an error condition occurs. This can result in a gradual depletion of available memory, potentially leading to system instability or denial of service. The vulnerability was introduced in version v4.0 of the Linux Kernel and has been fixed in version v5.10.41.
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 workaround has been provided for this vulnerability.
Conclusion
The memory leak vulnerability in nci_allocate_device can have serious consequences for system stability and availability. It is crucial to update the Linux Kernel to version v5.10.41 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The memory leak vulnerability in nci_allocate_device can result in the gradual depletion of system resources, potentially leading to system instability or denial of service.
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 if the vulnerability is present.
Yes, the vulnerability has been fixed in version v5.10.41 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the risk.
The details regarding the exploitability of this vulnerability have not been provided. However, it is always recommended to apply security patches and updates to protect against potential remote exploitation.
You can find more information about this vulnerability in the Open Source Vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/UVI-2021-1000614.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.