Vulnerability in Kernel: nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000734: nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect. Affects Kernel versions >= d646960f7986fefb460a2b062d5ccc8ccfeacc3a, < ffff05b9ee5c74c04bba2801c1f99b31975d74d9. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It is responsible for managing system resources, handling input/output operations, and facilitating communication between software and hardware components. The NFC (Near Field Communication) subsystem within the Kernel enables short-range wireless communication between devices. It allows devices to exchange data and establish connections by utilizing radio frequency identification (RFID) technology. However, a vulnerability has been identified in the NFC subsystem that can lead to a NULL pointer dereference in the llcp_sock_getname() function after a failed connection attempt.

Vulnerability Detail

The vulnerability arises from a NULL pointer dereference in the llcp_sock_getname() function within the NFC subsystem. When a connection attempt fails, the function fails to handle the NULL pointer properly, leading to a potential crash or system instability. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability 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

As a workaround, you can disable the NFC subsystem if it is not essential for your system's functionality. This can be achieved by modifying the Kernel configuration or disabling relevant modules. However, disabling NFC may impact any applications or functionalities that rely on NFC communication. It is recommended to consult the official documentation or seek assistance from the Kernel community for guidance on disabling the NFC subsystem.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel's NFC subsystem that can result in a NULL pointer dereference. This vulnerability can potentially lead to system crashes, instability, or even unauthorized code execution. It is crucial to update the Kernel to the fixed version and ensure proper configuration of the NFC subsystem. If the NFC subsystem is not essential, disabling it can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices.

NFC (Near Field Communication) is a technology that enables short-range wireless communication between devices using radio frequency identification (RFID).

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that points to a NULL value. This can lead to crashes or system instability.

A denial-of-service (DoS) attack is an attempt to disrupt the normal functioning of a system or network by overwhelming it with a flood of illegitimate requests or malicious activities.

To update the Linux Kernel, you can obtain the latest version from the official Linux Kernel repository and follow the installation instructions provided. It is recommended to consult the documentation or seek assistance from the Kernel community for detailed guidance.

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