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-2026-23178

CVE-2026-23178: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-23178 is a buffer overflow flaw in the Linux kernel's i2c-hid driver that could allow unauthorized memory access. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 20, 2026

CVE-2026-23178 Overview

A buffer overflow vulnerability has been identified in the Linux kernel's HID (Human Interface Device) subsystem, specifically within the i2c_hid_get_report() function of the i2c-hid driver. The vulnerability occurs when the i2c_hid_xfer function reads data into the ihid->rawbuf buffer without proper bounds checking. The recv_len parameter, which can originate from userspace via the hidraw driver, is bounded only by HID_MAX_BUFFER_SIZE (16384 bytes) by default. However, the destination buffer ihid->rawbuf has its size determined at runtime based on the maximum report size for the specific device, which can be significantly smaller than the maximum allowed input length.

Critical Impact

Potential buffer overflow in the Linux kernel i2c-hid driver could allow privileged local attackers with root access to hidraw devices to corrupt kernel memory, potentially leading to denial of service or privilege escalation.

Affected Products

  • Linux kernel with i2c-hid driver enabled
  • Systems using HID over I2C devices (common in laptops and embedded systems)
  • Devices utilizing the hidraw interface

Discovery Timeline

  • 2026-02-14 - CVE CVE-2026-23178 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-23178

Vulnerability Analysis

The vulnerability resides in the i2c_hid_get_report() function within the Linux kernel's i2c-hid driver. When processing HID reports, the function utilizes i2c_hid_xfer to read recv_len + sizeof(__le16) bytes of data into the internal buffer ihid->rawbuf. The critical issue is a mismatch between the maximum allowed input size and the actual buffer capacity.

The recv_len parameter can be controlled through userspace via the hidraw driver interface. While this value is constrained by HID_MAX_BUFFER_SIZE (16384 bytes) by default, the i2c-hid driver does not set the optional max_buffer_size field in the struct hid_ll_driver that would further limit this value. Meanwhile, the destination buffer ihid->bufsize is dynamically allocated based on the maximum report size advertised by the specific HID device, which can be substantially smaller than 16384 bytes.

This size discrepancy creates a classic buffer overflow scenario where an attacker with access to the hidraw device can supply a recv_len value that exceeds the actual buffer capacity, causing memory corruption beyond the allocated buffer boundaries.

Root Cause

The root cause is insufficient bounds validation of the recv_len parameter before performing the I2C transfer operation. The driver fails to verify that the requested read length does not exceed the actual allocated buffer size (ihid->bufsize). The fix implements proper truncation of recv_len to ihid->bufsize - sizeof(__le16) to ensure the read operation cannot exceed the buffer boundaries.

Attack Vector

Exploitation of this vulnerability requires local access with root privileges to interact with hidraw devices. An attacker with such access could craft malicious HID report requests with oversized recv_len values through the hidraw interface. While the impact is limited by the requirement for root access, successful exploitation could lead to kernel memory corruption, potentially enabling denial of service or further privilege escalation within the kernel context.

The vulnerability mechanism involves manipulating the report request size through the hidraw interface to trigger the buffer overflow condition. Detailed technical information can be found in the Linux Kernel Patch 2124279f.

Detection Methods for CVE-2026-23178

Indicators of Compromise

  • Kernel crash or panic events related to the i2c-hid driver or HID subsystem
  • Unusual memory corruption signatures in kernel logs associated with HID devices
  • Suspicious access patterns to /dev/hidraw* devices by unexpected processes

Detection Strategies

  • Monitor kernel logs for oops or panic messages referencing i2c_hid_get_report, i2c_hid_xfer, or related HID subsystem functions
  • Implement file integrity monitoring on critical kernel modules, particularly i2c-hid.ko
  • Use kernel auditing to track access to hidraw device nodes by non-standard applications

Monitoring Recommendations

  • Enable kernel crash dump collection (kdump) to capture memory state during any exploitation attempts
  • Implement alerting on kernel ring buffer messages containing references to buffer overflow or memory corruption in HID-related code paths
  • Monitor for unusual patterns of hidraw device access, especially large report requests

How to Mitigate CVE-2026-23178

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the buffer overflow fix
  • Restrict access to /dev/hidraw* devices to only necessary users and applications
  • Review and audit any custom applications that interact with hidraw interfaces

Patch Information

The Linux kernel development team has released patches across multiple stable kernel branches to address this vulnerability. The fix implements proper truncation of recv_len to ensure it does not exceed the allocated buffer size. The following patches are available:

  • Linux Kernel Patch 2124279f
  • Linux Kernel Patch 2497ff3
  • Linux Kernel Patch 786ec17
  • Linux Kernel Patch cff3f61
  • Linux Kernel Patch f9c9ad8

Workarounds

  • Restrict access to hidraw devices using udev rules to limit which users can interact with these devices
  • Consider disabling the i2c-hid driver (i2c_hid) via kernel module blacklisting if HID over I2C functionality is not required
  • Implement SELinux or AppArmor policies to control access to hidraw device nodes
bash
# Restrict hidraw device access via udev rules
# Create /etc/udev/rules.d/99-hidraw-restrict.rules
KERNEL=="hidraw*", MODE="0600", OWNER="root", GROUP="root"

# Blacklist i2c-hid module if not needed
# Add to /etc/modprobe.d/blacklist-i2c-hid.conf
echo "blacklist i2c_hid" >> /etc/modprobe.d/blacklist-i2c-hid.conf
echo "blacklist i2c_hid_acpi" >> /etc/modprobe.d/blacklist-i2c-hid.conf

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Patch 2124279f

  • Linux Kernel Patch 2497ff3

  • Linux Kernel Patch 786ec17

  • Linux Kernel Patch cff3f61

  • Linux Kernel Patch f9c9ad8
  • Related CVEs
  • CVE-2026-23448: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-23447: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31395: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31402: Linux Kernel Buffer Overflow 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