The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-25671

CVE-2020-25671: Linux Kernel Use-After-Free Vulnerability

CVE-2020-25671 is a use-after-free flaw in Linux Kernel caused by a refcount leak in llcp_sock_connect() that may lead to privilege escalation. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2020-25671 Overview

A use-after-free vulnerability was discovered in the Linux Kernel's NFC (Near Field Communication) subsystem, specifically within the llcp_sock_connect() function. This flaw stems from a reference count leak that occurs during LLCP (Logical Link Control Protocol) socket connection handling. When exploited, this vulnerability can lead to privilege escalation, allowing a local attacker with limited privileges to potentially gain elevated access on the affected system.

Critical Impact

Local privilege escalation vulnerability in the Linux Kernel NFC subsystem that could allow attackers to gain root-level access through improper memory management in LLCP socket connections.

Affected Products

  • Linux Kernel (multiple versions)
  • Fedora 32, 33, and 34
  • Debian Linux 9.0
  • NetApp Active IQ Unified Manager for vSphere
  • NetApp Cloud Backup
  • NetApp SolidFire Baseboard Management Controller Firmware
  • NetApp H-Series (H410C, H300S, H500S, H700S, H300E, H500E, H700E, H410S) Firmware

Discovery Timeline

  • 2020-11-01 - Vulnerability disclosed on Openwall security mailing list
  • 2021-05-26 - CVE-2020-25671 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-25671

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption issue that occurs when a program continues to use a memory pointer after it has been freed. In this specific case, the flaw exists in the Linux Kernel's NFC LLCP implementation within the llcp_sock_connect() function.

The vulnerability requires local access to exploit, meaning an attacker must have some level of user access to the target system. Once exploited successfully, the attacker can potentially achieve complete compromise of confidentiality, integrity, and availability of the affected system. This makes it particularly dangerous in multi-user environments or systems where untrusted users have local access.

Root Cause

The root cause of this vulnerability is a reference count (refcount) leak in the llcp_sock_connect() function within the NFC LLCP subsystem. Reference counting is a memory management technique used in the Linux Kernel to track how many references exist to a particular object. When the reference count is not properly decremented upon connection failure or during certain error paths, the kernel loses track of the object's lifecycle.

This refcount leak creates a condition where memory can be freed while still being referenced, or conversely, where an object is accessed after its memory has been reclaimed by the system. The inconsistency between the actual memory state and the kernel's reference tracking enables the use-after-free condition.

Attack Vector

The attack vector for CVE-2020-25671 is local, requiring an attacker to have authenticated access to the vulnerable system. The exploitation scenario involves manipulating NFC LLCP socket connections to trigger the reference count leak. The attack does not require user interaction beyond the attacker's own actions.

An attacker would typically:

  1. Create an LLCP socket connection through the NFC subsystem
  2. Manipulate the connection state to trigger the refcount leak condition
  3. Force the kernel to free the memory while maintaining a dangling reference
  4. Reallocate the freed memory with attacker-controlled content
  5. Trigger use of the dangling reference to achieve code execution or privilege escalation

The vulnerability is particularly concerning on systems where NFC functionality is enabled and local users have access to NFC-related system calls.

Detection Methods for CVE-2020-25671

Indicators of Compromise

  • Unexpected kernel panics or crashes related to NFC or LLCP subsystems
  • Suspicious processes attempting to access NFC socket interfaces
  • Unusual privilege escalation events from low-privileged user accounts
  • Memory corruption warnings in kernel logs referencing llcp_sock_connect or related functions

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for LLCP-related errors or use-after-free warnings
  • Implement system call auditing for NFC socket operations using auditd
  • Deploy kernel-level monitoring tools to detect abnormal memory access patterns in the NFC subsystem
  • Use SentinelOne's behavioral AI to detect privilege escalation attempts following NFC socket manipulation

Monitoring Recommendations

  • Enable kernel address sanitizer (KASAN) on development and test systems to detect memory corruption
  • Configure system logging to capture NFC subsystem events at debug level during security investigations
  • Implement file integrity monitoring on critical system binaries to detect post-exploitation modifications
  • Monitor for processes attempting to load NFC-related kernel modules unexpectedly

How to Mitigate CVE-2020-25671

Immediate Actions Required

  • Update the Linux Kernel to a patched version as provided by your distribution vendor
  • Review and apply relevant security advisories from Debian, Fedora, and NetApp
  • Audit systems for signs of exploitation if NFC functionality has been enabled
  • Restrict local access to systems where possible to reduce attack surface

Patch Information

Security patches addressing this vulnerability have been released by multiple vendors. Organizations should consult their Linux distribution's security advisory channels for specific patch versions:

  • Debian: Security updates available via Debian LTS Advisory
  • Fedora: Patches released for Fedora 32, 33, and 34 via standard package updates
  • NetApp: Advisory NTAP-20210702-0008 provides guidance for affected NetApp products

For the upstream Linux Kernel, patches have been merged to fix the refcount handling in the LLCP socket connection code. Users building custom kernels should ensure they include all relevant NFC subsystem fixes.

Workarounds

  • Disable NFC functionality in the kernel if not required by blacklisting the relevant modules (nfc, llcp)
  • Restrict access to NFC-related device nodes using appropriate file permissions
  • Implement mandatory access control (SELinux, AppArmor) policies to limit which processes can interact with NFC subsystems
  • Consider removing NFC kernel modules entirely on systems where this functionality is not needed
bash
# Disable NFC kernel modules as a temporary workaround
echo "blacklist nfc" | sudo tee /etc/modprobe.d/disable-nfc.conf
echo "blacklist llcp" | sudo tee -a /etc/modprobe.d/disable-nfc.conf
sudo update-initramfs -u
# Reboot required for changes to take effect

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Debian LTS Advisory #00019

  • Debian LTS Advisory #00020

  • Fedora Package Announcement #1

  • Fedora Package Announcement #2

  • Fedora Package Announcement #3

  • NetApp Security Advisory NTAP-20210702-0008
  • Vendor Resources
  • Openwall Security Discussion

  • Openwall Security Discussion
  • Related CVEs
  • CVE-2026-23462: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23458: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23435: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23456: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English