Permission check bug in net/nfc/rawsock.c
Summary
GSD-2021-1001010: net/nfc/rawsock.c: fix a permission check bug. Affects Kernel versions < 90d0a3c76965d7a10fc87c07be3e9714e2130d5c. 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 package under scrutiny is the Linux Kernel, which is the core component of the Linux operating system. It provides essential functionality and acts as an interface between the hardware and software layers. The net/nfc/rawsock.c file is responsible for handling raw socket operations for Near Field Communication (NFC) devices. NFC allows for short-range communication between devices, enabling contactless transactions and data exchange. However, a permission check bug has been identified in this file, which could potentially lead to security vulnerabilities.
Vulnerability Detail
The identified vulnerability in net/nfc/rawsock.c is related to a permission check bug. The bug allows an attacker to bypass certain permission checks, potentially leading to unauthorized access or privilege escalation. The impact and attack plausibility of this vulnerability have not been proven yet. However, if successfully exploited, it could result in unauthorized control over NFC devices or the compromise of sensitive data transmitted through NFC. The vulnerability has been fixed in Linux Kernel version v5.12.11 by commit 90d0a3c76965d7a10fc87c07be3e9714e2130d5c.
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
As a workaround, users can disable NFC functionality on their systems until the updated kernel is installed. This can be done by modifying the system configuration or disabling relevant kernel modules. However, this workaround may not be feasible for systems that rely heavily on NFC functionality.
Conclusion
In conclusion, a permission check bug has been identified in the net/nfc/rawsock.c file of the Linux Kernel. This vulnerability could potentially allow unauthorized access or privilege escalation. It is crucial to update the Linux Kernel to version v5.12.11 or later to mitigate this vulnerability. Users can also use Vulert's playground (https://vulert.com/scanner) to check if their systems are affected. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
If successfully exploited, this vulnerability could allow an attacker to bypass permission checks and gain unauthorized access to NFC devices or sensitive data transmitted through NFC.
The impact and attack plausibility of this vulnerability have not been proven yet. However, it is still important to apply the fix to ensure the security of the system.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, you can disable NFC functionality on your system until the updated kernel is installed. However, this may not be feasible for systems that heavily rely on NFC.
You can refer to the commit 90d0a3c76965d7a10fc87c07be3e9714e2130d5c in the Linux Kernel repository for more details about the fix.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.