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-2020-28374

CVE-2020-28374: Linux Kernel Path Traversal Vulnerability

CVE-2020-28374 is a path traversal flaw in Linux Kernel's LIO SCSI target code that allows remote attackers to read or write files via XCOPY requests. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2020-28374 Overview

CVE-2020-28374 is a directory traversal vulnerability in the Linux kernel's LIO SCSI target code located in drivers/target/target_core_xcopy.c. The flaw stems from insufficient identifier checking in the XCOPY request handling, which allows remote attackers with access to an iSCSI LUN to read or write arbitrary files on the target system. This vulnerability affects Linux kernel versions prior to 5.10.7 and enables attackers to gain control over file access by proxying I/O operations through an attacker-selected backstore.

Critical Impact

Remote attackers with access to a single iSCSI LUN can exploit insufficient NAA identifier validation to perform unauthorized file read/write operations via directory traversal, potentially compromising data confidentiality and integrity across the storage infrastructure.

Affected Products

  • Linux Kernel (versions prior to 5.10.7)
  • Fedora 32 and 33
  • Debian Linux 9.0 and 10.0

Discovery Timeline

  • January 13, 2021 - CVE-2020-28374 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-28374

Vulnerability Analysis

The vulnerability exists in the XCOPY (Extended Copy) command implementation within the Linux kernel's LIO SCSI target subsystem. The XCOPY command is designed to allow efficient data movement between SCSI devices, but the affected implementation fails to properly validate NAA (Network Address Authority) device identifiers during lookup operations.

When processing XCOPY requests, the kernel code does not adequately verify that the source and destination device identifiers belong to devices the requesting initiator is authorized to access. This insufficient identifier checking creates a path traversal opportunity where an attacker can craft malicious XCOPY requests to access arbitrary backstores on the target system.

The attack can be executed remotely over a network if the attacker has access to even a single iSCSI LUN. By manipulating the device identifiers in the XCOPY request, an attacker can redirect I/O operations to arbitrary files on the target system, effectively bypassing storage access controls.

Root Cause

The root cause is improper validation of NAA device identifiers in the target_xcopy_locate_se_dev_e4_iter function. The original implementation used a search structure that did not properly restrict device lookups to authorized targets, allowing attackers to specify arbitrary device identifiers that would match unintended backstores. The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal).

Attack Vector

The attack exploits the network-accessible iSCSI interface. An attacker requires low privileges (authenticated access to at least one iSCSI LUN) to exploit this vulnerability. The attack flow involves:

  1. Establishing an authenticated iSCSI session with access to at least one LUN
  2. Crafting a malicious XCOPY request with manipulated NAA device identifiers
  3. Specifying attacker-controlled source or destination backstores in the request
  4. The kernel incorrectly validates the identifiers and performs I/O operations on unauthorized files

The following patch shows the security fix implemented in commit 2896c93811e39d63a4d9b63ccf12a8fbc226e5e4:

c
 	return 0;
 }
 
-struct xcopy_dev_search_info {
-	const unsigned char *dev_wwn;
-	struct se_device *found_dev;
-};
-
+/**
+ * target_xcopy_locate_se_dev_e4_iter - compare XCOPY NAA device identifiers
+ *
+ * @se_dev: device being considered for match
+ * @dev_wwn: XCOPY requested NAA dev_wwn
+ * @return: 1 on match, 0 on no-match
+ */
 static int target_xcopy_locate_se_dev_e4_iter(struct se_device *se_dev,
-					      void *data)
+					      const unsigned char *dev_wwn)
 {
-	struct xcopy_dev_search_info *info = data;
 	unsigned char tmp_dev_wwn[XCOPY_NAA_IEEE_REGEX_LEN];
 	int rc;
 
-	if (!se_dev->dev_attrib.emulate_3pc)
+	if (!se_dev->dev_attrib.emulate_3pc) {
+		pr_debug("XCOPY: emulate_3pc disabled on se_dev %p\n", se_dev);
 		return 0;
+	}
 
 	memset(&tmp_dev_wwn[0], 0, XCOPY_NAA_IEEE_REGEX_LEN);

Source: GitHub Linux Commit Reference

The fix modifies the identifier lookup function to properly validate NAA identifiers and adds reference tracking for remote LUN access:

c
 	struct se_device *dst_dev;
 	unsigned char dst_tid_wwn[XCOPY_NAA_IEEE_REGEX_LEN];
 	unsigned char local_dev_wwn[XCOPY_NAA_IEEE_REGEX_LEN];
+	struct percpu_ref *remote_lun_ref;
 
 	sector_t src_lba;
 	sector_t dst_lba;

Source: GitHub Linux Commit Reference

Detection Methods for CVE-2020-28374

Indicators of Compromise

  • Unusual XCOPY SCSI commands targeting unexpected device identifiers or backstores
  • Unexpected file access patterns on systems running iSCSI target services
  • Anomalous I/O operations directed at system files or sensitive data paths
  • iSCSI session logs showing access to LUNs not assigned to the initiator

Detection Strategies

  • Monitor iSCSI target logs for XCOPY requests with suspicious or mismatched NAA identifiers
  • Implement kernel auditing to track target_core_xcopy.c operations and file access patterns
  • Deploy file integrity monitoring on systems running LIO SCSI target services
  • Use SentinelOne Singularity Platform to detect anomalous kernel-level file access operations

Monitoring Recommendations

  • Enable detailed logging for the LIO SCSI target subsystem to capture XCOPY command details
  • Configure alerts for any XCOPY operations that reference devices outside expected LUN assignments
  • Implement network monitoring for unusual iSCSI traffic patterns or command sequences
  • Review authentication logs for iSCSI sessions and correlate with XCOPY activity

How to Mitigate CVE-2020-28374

Immediate Actions Required

  • Update the Linux kernel to version 5.10.7 or later which contains the security fix
  • Apply vendor-specific kernel patches for Debian, Fedora, or your Linux distribution
  • Restrict network access to iSCSI target services to trusted initiators only
  • Review and audit current iSCSI LUN assignments and access permissions

Patch Information

The vulnerability was fixed in Linux kernel version 5.10.7. The security patch commit 2896c93811e39d63a4d9b63ccf12a8fbc226e5e4 addresses the insufficient NAA identifier validation in the XCOPY implementation. Distribution-specific patches are available through:

  • Debian Security Advisory DSA-4843
  • Fedora Package Security Updates
  • Linux Kernel ChangeLog
  • Kernel Live Patch via Packet Storm

Workarounds

  • Disable XCOPY (Extended Copy) functionality by setting emulate_3pc=0 on all backstore devices if not required
  • Implement strict network segmentation to isolate iSCSI target services from untrusted networks
  • Use firewall rules to limit iSCSI initiator connections to known, authorized hosts only
  • Consider disabling iSCSI target services temporarily until patching is complete in high-risk environments
bash
# Disable XCOPY/3PC emulation on a targetcli backstore
# This prevents XCOPY operations but may impact legitimate data movement operations
targetcli /backstores/fileio/disk1 set attribute emulate_3pc=0

# Restrict iSCSI access via iptables (example: allow only trusted initiator IP)
iptables -A INPUT -p tcp --dport 3260 -s <trusted_initiator_ip> -j ACCEPT
iptables -A INPUT -p tcp --dport 3260 -j DROP

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.28%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Packet Storm Security Notice

  • OpenWall OSS Security Discussion

  • OpenWall OSS Security Notice

  • SUSE Bugzilla Attachment

  • Debian LTS Advisory Notification

  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Security Update

  • Fedora Package Security Notice

  • NetApp Security Advisory

  • Debian Security Advisory DSA-4843
  • Vendor Resources
  • SUSE Bugzilla Security Issue

  • Linux Kernel ChangeLog

  • Linux Git Commit Update

  • GitHub Linux Commit Reference
  • Related CVEs
  • CVE-2024-47742: Linux Kernel Path Traversal Vulnerability

  • CVE-2020-29373: Linux Kernel Path Traversal Vulnerability

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

  • CVE-2026-31443: 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