Null Pointer Dereference in llcp_sock_getname() after Failed Connect in Linux Kernel
Summary
GSD-2021-1000726: nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect. Affects Kernel versions >= d646960f7986fefb460a2b062d5ccc8ccfeacc3a, < 39c15bd2e5d11bcf7f4c3dba2aad9e1e110a5d94. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for the operating system, including device drivers, process management, memory management, and file system support. The vulnerability in focus affects the NFC (Near Field Communication) subsystem of the Linux Kernel.
Vulnerability Detail
The vulnerability identified as GSD-2021-1000726 involves a null pointer dereference in the llcp_sock_getname() function within the NFC subsystem. This issue occurs after a failed connection attempt. An attacker could potentially exploit this vulnerability to cause a denial-of-service condition or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v3.3 of the Linux Kernel and has been fixed in version v4.9.272.
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 null pointer dereference vulnerability in llcp_sock_getname() within the NFC subsystem of the Linux Kernel can be mitigated by updating to version v4.9.272 or later. It is crucial to promptly apply the necessary patches to ensure the security and stability of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could potentially lead to a denial-of-service condition or enable an attacker to execute arbitrary code with kernel privileges.
You can check your Linux Kernel version by running the 'uname -r' command in a terminal. If the version is earlier than v4.9.272, it is recommended to update to a patched version.
There are no known instances of this vulnerability being exploited in the wild at the time of this report.
No, the vulnerability requires a code fix in the Linux Kernel to be fully resolved.
You can find more information about this vulnerability in the GSD-2021-1000726 entry of the GSD database maintained by the Cloud Security Alliance. The link to the specific entry is provided in the 'source' field of the 'database_specific' section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.