Use-after-free vulnerability in net/nfc package
Summary
GSD-2021-1000403: net/nfc: fix use-after-free llcp_sock_bind/connect. Affects Kernel versions >= 6fb003e5ae18d8cda4c8a1175d9dd8db12bec049, < 6b7021ed36dabf29e56842e3408781cd3b82ef6e. 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 net/nfc package is a part of the Linux Kernel ecosystem and is responsible for handling Near Field Communication (NFC) functionality. NFC enables communication between devices in close proximity, allowing for contactless data transfer. The package provides various features and protocols for NFC communication, including the Logical Link Control Protocol (LLCP).
Vulnerability Detail
The use-after-free vulnerability in the net/nfc package specifically affects the LLCP socket binding and connecting functionality. This vulnerability allows an attacker to exploit a use-after-free condition, where a reference to a memory object is used after it has been freed. By manipulating this vulnerability, an attacker may be able to execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in Linux Kernel version v5.10.30 and was fixed in version v5.10.37.
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
The use-after-free vulnerability in the net/nfc package's LLCP socket binding and connecting functionality can pose a significant security risk. It is crucial to update the Linux Kernel to version v5.10.37 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net/nfc package is a component of the Linux Kernel ecosystem that handles Near Field Communication (NFC) functionality.
A use-after-free vulnerability occurs when a program continues to use a memory object after it has been freed. This can lead to various security issues, including code execution or denial-of-service (DoS) attacks.
An attacker can exploit this vulnerability by manipulating the use-after-free condition in the net/nfc package's LLCP socket binding and connecting functionality. This can potentially allow them to execute arbitrary code or cause a DoS condition.
The vulnerability was introduced in Linux Kernel version v5.10.30 and was fixed in version v5.10.37. Therefore, versions between v5.10.30 and v5.10.36 are affected.
The fix for this vulnerability can be found in the Linux Kernel version v5.10.37 or later. Users can obtain the updated kernel from the official Linux Kernel repository.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.