NFC: Reorder Logic in nfc_{un,}register_device - Linux Kernel

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002313: NFC: reorder the logic in nfc_{un,}register_device. Affects Kernel versions >= be055b2f89b5842f41363b5655a33dffb51a8294, < 8a9c61c3ef187d8891225f9b932390670a43a0d3. 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 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 hardware abstraction, process management, memory management, and device drivers. The NFC (Near Field Communication) subsystem in the Linux Kernel enables communication between devices in close proximity, allowing for contactless data transfer and interaction. This vulnerability specifically affects the logic in the nfc_{un,}register_device functions, which are responsible for registering and unregistering NFC devices in the system.

Vulnerability Detail

The vulnerability arises from a logic flaw in the nfc_{un,}register_device functions in the Linux Kernel. By reordering the logic in these functions, an attacker could potentially exploit the vulnerability to manipulate the registration and unregistration process of NFC devices. The impact and attack plausibility of this vulnerability have not been proven yet. However, if successfully exploited, it could lead to unauthorized access, data leakage, or denial-of-service conditions. The vulnerability was introduced in version v3.10 of the Linux Kernel and has been fixed in version v5.15.5.

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. However, users can consider implementing general security measures such as restricting access to NFC functionality, ensuring the use of trusted NFC devices, and regularly updating the Linux Kernel to the latest stable version.

Conclusion

The vulnerability in the NFC subsystem of the Linux Kernel, specifically in the nfc_{un,}register_device functions, can be mitigated by updating the kernel to version v5.15.5 or later. This update includes the necessary fix for the logic flaw. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that provides essential functionality for various Linux distributions.

NFC (Near Field Communication) is a technology that enables contactless communication and data transfer between devices in close proximity.

The impact of this vulnerability could potentially lead to unauthorized access, data leakage, or denial-of-service conditions.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.5 or later.

While no specific workaround is mentioned, general security measures such as restricting access to NFC functionality and using trusted NFC devices can be considered.

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