Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2025-71064

CVE-2025-71064: Linux Kernel Privilege Escalation Flaw

CVE-2025-71064 is a privilege escalation vulnerability in the Linux kernel's HNS3 network driver that occurs due to improper resource allocation. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-71064 Overview

CVE-2025-71064 is a vulnerability in the Linux kernel's HNS3 (HiSilicon Network Subsystem 3) virtual function (VF) driver that results in uninitialized memory access. The vulnerability occurs due to an inconsistency in how resources are allocated for transmit/receive queue pairs (TQPs) between the host device (hdev->htqp) and kernel information structures (kinfo->tqp).

Critical Impact

This vulnerability can lead to uninitialized memory being accessed in the HNS3 VF driver, potentially causing system instability, kernel crashes, or unpredictable behavior in network operations on affected systems using HiSilicon network hardware.

Affected Products

  • Linux kernel with HNS3 VF driver enabled
  • Systems utilizing HiSilicon Network Subsystem 3 hardware
  • Virtual function configurations using the hclgevf driver

Discovery Timeline

  • January 13, 2026 - CVE CVE-2025-71064 published to NVD
  • January 13, 2026 - Last updated in NVD database

Technical Details for CVE-2025-71064

Vulnerability Analysis

The vulnerability exists in the HNS3 VF driver's resource allocation mechanism within the hclgevf_knic_setup() function. The core issue stems from a mismatch in array sizing between two critical data structures used for managing transmit/receive queue pairs.

In the vulnerable code path, hdev->htqp is allocated based on hdev->num_tqps, while kinfo->tqp allocation uses kinfo->num_tqps. The problem arises because kinfo->num_tqps is set to min(new_tqps, hdev->num_tqps), meaning it can be smaller than hdev->num_tqps. When this condition occurs, some elements in the hdev->htqp[] array remain uninitialized after the setup function completes.

Uninitialized memory in kernel drivers represents a serious concern as it can lead to unpredictable behavior when the driver later attempts to access these queue pair structures. The memory may contain stale or arbitrary data that could cause crashes, memory corruption, or potentially be leveraged in more sophisticated attacks.

Root Cause

The root cause is an inconsistent use of different TQP count variables when allocating related data structures. The code uses hdev->num_tqps for one allocation and kinfo->num_tqps for another, despite these structures being interdependent. Since kinfo->num_tqps can be smaller due to the min() operation, this creates a scenario where some hdev->htqp[i] entries beyond the kinfo->num_tqps index are never initialized during hclgevf_knic_setup().

Attack Vector

The attack vector for this vulnerability is currently unknown. This is a kernel-level memory initialization issue in a network driver that requires specific HiSilicon hardware to be present. Exploitation would likely require local access to a system with the affected hardware and driver configuration. The vulnerability could potentially be triggered through network operations that cause the driver to access the uninitialized queue pair structures.

Detection Methods for CVE-2025-71064

Indicators of Compromise

  • Kernel panic or oops messages referencing hclgevf or HNS3 VF driver functions
  • Unexpected behavior in network interfaces using HiSilicon Network Subsystem 3 hardware
  • Memory corruption warnings in kernel logs related to the HNS3 driver subsystem
  • System instability when configuring or using virtual function network interfaces

Detection Strategies

  • Monitor kernel logs (dmesg) for warnings or errors related to hclgevf driver operations
  • Implement kernel memory debugging tools such as KASAN (Kernel Address Sanitizer) to detect uninitialized memory access
  • Deploy runtime monitoring for unexpected kernel driver behavior on systems with HiSilicon network hardware
  • Use static analysis tools on kernel configurations to identify systems running vulnerable driver versions

Monitoring Recommendations

  • Enable kernel logging verbosity for network driver subsystems
  • Configure alerts for kernel oops or panic events on systems with HNS3 hardware
  • Monitor network interface stability metrics on affected systems
  • Track driver initialization sequences for anomalies during system boot or module loading

How to Mitigate CVE-2025-71064

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses this vulnerability
  • Review systems for HiSilicon HNS3 network hardware and prioritize patching
  • Consider disabling or unloading the hclgevf module on systems where VF functionality is not required
  • Implement defense-in-depth measures including kernel hardening options

Patch Information

The Linux kernel development team has released patches to address this vulnerability. The fix ensures that both hdev->htqp and kinfo->tqp are allocated using hdev->num_tqps, maintaining consistent array lengths and ensuring all elements are properly initialized.

Multiple kernel commits have been published to stable kernel branches:

  • Kernel Patch Update
  • Kernel Commit Change
  • Kernel Code Modification
  • Kernel Security Improvement
  • Kernel Commit Enhancements

Workarounds

  • Unload the hclgevf kernel module if HNS3 virtual function support is not required: modprobe -r hclgevf
  • Blacklist the driver module by adding blacklist hclgevf to /etc/modprobe.d/blacklist.conf
  • For systems requiring HNS3 VF functionality, restrict access to kernel module configuration
  • Apply network segmentation to limit exposure of potentially affected systems
bash
# Configuration example
# Blacklist the hclgevf module to prevent loading
echo "blacklist hclgevf" >> /etc/modprobe.d/blacklist-hns3vf.conf

# Unload the module if currently loaded
modprobe -r hclgevf

# Verify module is not loaded
lsmod | grep hclgevf

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Patch Update

  • Kernel Commit Change

  • Kernel Code Modification

  • Kernel Security Improvement

  • Kernel Commit Enhancements
  • Related CVEs
  • CVE-2026-31430: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31443: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31463: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31459: Linux Kernel Privilege Escalation Flaw
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