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-1000835: net/nfc/rawsock.c: fix a permission check bug. Affects Kernel versions < d6a21a3fb03300fbaa9fc3ed99f8b0962ce28362. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is an open-source monolithic Unix-like computer operating system kernel. It provides the essential services to enable the execution of software on a computer. The net/nfc/rawsock.c file in the Kernel is responsible for handling raw socket operations for Near Field Communication (NFC) devices. NFC is a set of communication protocols that enable two electronic devices, one of which is usually a portable device such as a smartphone, to establish communication by bringing them within a few centimeters of each other. This vulnerability in net/nfc/rawsock.c allows for a permission check bypass, potentially leading to unauthorized access or privilege escalation.

Vulnerability Detail

The vulnerability in net/nfc/rawsock.c is due to a permission check bug. The code fails to properly validate permissions, allowing an attacker to bypass the intended access restrictions. This could enable an unauthorized user to perform privileged operations or gain elevated privileges. The impact of this vulnerability depends on the specific actions that can be performed through the bypassed permission check. It is important to note that the actual impact and attack plausibility have not been proven yet.

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 permission check bug in net/nfc/rawsock.c of the Linux Kernel can potentially lead to unauthorized access or privilege escalation. It is recommended to update the Kernel to version v4.9.273 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability depends on the specific actions that can be performed through the bypassed permission check. It could potentially lead to unauthorized access or privilege escalation.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

Yes, a patch is available in the Linux Kernel version v4.9.273. It is recommended to update to this version or later to fix the vulnerability.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the recommended fix to mitigate the risk.

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