Permission check bug in net/nfc/rawsock.c

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1001010: net/nfc/rawsock.c: fix a permission check bug. Affects Kernel versions < 90d0a3c76965d7a10fc87c07be3e9714e2130d5c. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback