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
    • 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-2022-41974

CVE-2022-41974: Multipath-tools Privilege Escalation Flaw

CVE-2022-41974 is a privilege escalation vulnerability in Opensvc multipath-tools that allows local attackers to gain root access. This article covers the technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-41974 Overview

CVE-2022-41974 is a local privilege escalation vulnerability in multipath-tools versions 0.7.0 through 0.9.x before 0.9.2. This vulnerability allows local users to obtain root access by exploiting improper access control mechanisms in the multipathd daemon. The flaw can be exploited alone or in conjunction with CVE-2022-41973 to achieve full system compromise.

Local users with the ability to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. The root cause stems from a programming error where arithmetic ADD is used instead of bitwise OR when processing repeated keywords, leading to improper permission handling that attackers can leverage for local privilege escalation to root.

Critical Impact

Local attackers can escalate privileges to root by bypassing access controls in multipathd, potentially leading to complete system compromise on affected Linux systems.

Affected Products

  • opensvc multipath-tools (versions 0.7.0 through 0.9.x before 0.9.2)
  • fedoraproject fedora (version 36)
  • debian debian_linux (versions 10.0 and 11.0)

Discovery Timeline

  • 2022-10-29 - CVE-2022-41974 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-41974

Vulnerability Analysis

The vulnerability exists in the multipath-tools daemon (multipathd), which is responsible for managing multipath device mappings in Linux systems. The multipathd daemon uses UNIX domain sockets for inter-process communication and implements access control checks to restrict which users can send commands to the daemon.

The core issue lies in how the daemon processes command keywords. When parsing configuration or command keywords, the code uses arithmetic addition (+) instead of bitwise OR (|) when combining permission flags. This seemingly minor programming error has significant security implications.

An attacker can exploit this by repeating specific keywords in their input. Each repetition causes the permission flags to be added numerically rather than being combined with OR operations. By carefully crafting input with repeated keywords, an attacker can cause integer overflow or manipulation of the permission bits in a way that bypasses the intended access control checks.

This vulnerability is particularly dangerous because multipathd typically runs with root privileges to manage block devices. Successfully bypassing the access controls allows an unprivileged local user to send privileged commands to the daemon, ultimately achieving arbitrary code execution as root.

Root Cause

The vulnerability originates from improper use of arithmetic operators for permission flag handling. The code incorrectly uses arithmetic ADD operations instead of bitwise OR when combining keyword flags. This allows attackers to manipulate permission values by repeating keywords, causing the accumulated value to exceed expected bounds or wrap around, effectively bypassing authorization checks.

The specific CWE classification is CWE-269 (Improper Privilege Management), reflecting the fundamental failure to properly restrict privileged operations to authorized users.

Attack Vector

The attack requires local access to the system with the ability to write to UNIX domain sockets used by multipathd. An attacker proceeds by:

  1. Identifying the UNIX domain socket used by multipathd (typically /run/multipathd.sock)
  2. Crafting a malicious payload that repeats specific keywords to exploit the arithmetic ADD bug
  3. Sending the crafted payload to the socket to bypass access control checks
  4. Executing privileged commands through the now-compromised daemon
  5. Achieving root-level access to the system

The vulnerability requires no user interaction and can be exploited by any local user with socket write access. When combined with CVE-2022-41973 (a symlink attack vulnerability), the exploitation chain becomes even more reliable.

For detailed technical analysis of the exploitation technique, refer to the Qualys Analysis on Leeloo Multipath.

Detection Methods for CVE-2022-41974

Indicators of Compromise

  • Unexpected connections to the multipathd UNIX domain socket from non-root processes
  • Suspicious process spawning with root privileges following multipathd socket activity
  • Anomalous multipath configuration changes not initiated by system administrators
  • Audit logs showing repeated keyword patterns in multipathd communications

Detection Strategies

  • Monitor UNIX domain socket activity to /run/multipathd.sock for connections from unprivileged users
  • Implement auditd rules to track socket operations on multipathd endpoints using auditctl -a always,exit -F arch=b64 -S connect -F path=/run/multipathd.sock
  • Deploy SentinelOne Singularity to detect privilege escalation attempts and unauthorized root process creation
  • Review system logs for unusual multipathd activity patterns or error messages indicating parsing anomalies

Monitoring Recommendations

  • Enable verbose logging for multipathd to capture command parsing events and socket connections
  • Configure SIEM alerts for privilege escalation indicators, particularly processes transitioning from low to high privilege levels
  • Implement file integrity monitoring on multipath configuration files to detect unauthorized modifications
  • Use SentinelOne's behavioral AI engine to detect anomalous system call patterns associated with local privilege escalation

How to Mitigate CVE-2022-41974

Immediate Actions Required

  • Update multipath-tools to version 0.9.2 or later immediately on all affected systems
  • Restrict access to the multipathd UNIX domain socket using filesystem permissions where possible
  • Audit systems for signs of prior exploitation, particularly unauthorized root access or configuration changes
  • Consider temporarily disabling multipathd on non-critical systems until patches can be applied

Patch Information

The vulnerability has been addressed in multipath-tools version 0.9.2. The patch corrects the arithmetic operation bug by replacing ADD with bitwise OR when processing keyword flags, ensuring proper permission bit handling.

Security updates are available from multiple sources:

  • GitHub Release for Multipath Tools 0.9.2 - Official upstream fix
  • Debian Security Advisory DSA-5366 - Debian stable updates
  • Debian LTS Announcement - Long-term support updates
  • Fedora Package Announcement - Fedora updates
  • Gentoo GLSA 202311-06 - Gentoo advisory

Workarounds

  • Restrict socket permissions on /run/multipathd.sock to allow access only from trusted root processes
  • Implement mandatory access control (SELinux/AppArmor) policies to limit which processes can communicate with multipathd
  • Temporarily disable multipathd service on systems where multipath storage is not required using systemctl stop multipathd && systemctl disable multipathd
  • Deploy network segmentation to limit the impact of potential system compromise
bash
# Verify current multipath-tools version
multipathd -k"show version"

# Check for vulnerable versions and update on Debian/Ubuntu
apt update && apt install --only-upgrade multipath-tools

# Check for vulnerable versions and update on RHEL/CentOS/Fedora
dnf update device-mapper-multipath

# Restrict socket permissions as temporary mitigation
chmod 600 /run/multipathd.sock

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechOpensvc

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.03%

  • 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-269
  • Technical References
  • Packet Storm Exploit Analysis

  • Packet Storm Race Condition Exploit

  • Full Disclosure Announcement December 2022

  • Full Disclosure Announcement October 2022

  • OpenWall OSS-Security Discussion October 2022

  • OpenWall OSS-Security Discussion November 2022

  • SUSE Bug Report #1202739

  • GitHub Release for Multipath Tools 0.9.2

  • Debian LTS Announcement December 2022

  • Fedora Package Announcement

  • Gentoo GLSA 202311-06

  • Debian Security Advisory DSA-5366

  • Qualys Analysis on Leeloo Multipath
  • Related CVEs
  • CVE-2022-41973: Multipath-tools Privilege Escalation Bug
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