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-2025-68777

CVE-2025-68777: Linux Kernel Buffer Overflow Vulnerability

CVE-2025-68777 is a buffer overflow flaw in the Linux kernel's ti_am335x_tsc input driver caused by an off-by-one validation error. This post covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-68777 Overview

An off-by-one error vulnerability has been identified in the Linux kernel's ti_am335x_tsc touchscreen driver. The flaw exists in the wire_order validation logic, where an improper boundary check allows array indices to equal the array size rather than being strictly less than it. This results in potential out-of-bounds memory access when the wire_order value is used as an index into the config_pins array.

Critical Impact

Systems running affected Linux kernel versions with the ti_am335x_tsc touchscreen controller driver may be vulnerable to out-of-bounds memory access, potentially leading to kernel memory corruption or system instability.

Affected Products

  • Linux kernel with ti_am335x_tsc touchscreen driver enabled
  • Texas Instruments AM335x platform-based devices
  • Embedded systems utilizing the AM335x touchscreen controller

Discovery Timeline

  • 2026-01-13 - CVE CVE-2025-68777 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-68777

Vulnerability Analysis

The vulnerability resides in the input validation logic within the ti_am335x_tsc touchscreen controller driver. The config_pins array contains 4 elements, making valid indices 0 through 3. However, the original validation check used a greater-than comparison (wire_order[i] > ARRAY_SIZE(config_pins)) instead of a greater-than-or-equal comparison. This subtle logic error allows wire_order[i] to have a value of 4, which when used as an array index, accesses memory beyond the bounds of the config_pins array.

This type of off-by-one error is a classic boundary condition vulnerability that can lead to reading or writing kernel memory at unintended locations. In the context of a kernel driver, such out-of-bounds access could potentially expose sensitive kernel data or corrupt adjacent memory structures.

Root Cause

The root cause is an improper boundary validation using the wrong comparison operator. The validation logic wire_order[i] > ARRAY_SIZE(config_pins) should have been wire_order[i] >= ARRAY_SIZE(config_pins) to properly restrict array index values to the valid range of 0 to 3. This is a common programming error when dealing with zero-indexed arrays where the maximum valid index is one less than the array size.

Attack Vector

The attack vector for this vulnerability involves providing malformed device tree configuration or input data that sets wire_order values equal to the array size (4). When the driver processes this configuration, it attempts to access config_pins[4], reading memory past the end of the array. While exploitation may require local access or specific device configurations, the vulnerability could potentially be triggered through malicious device tree overlays or specially crafted input on affected embedded systems.

The vulnerability manifests in the wire_order validation function where boundary checking fails to account for zero-indexed array access. When wire_order[i] equals ARRAY_SIZE(config_pins), the subsequent array access config_pins[wire_order[i]] reads memory beyond the allocated array bounds. The fix involves changing the comparison operator from > to >= to ensure all array accesses remain within valid bounds. See the kernel commit history for technical implementation details.

Detection Methods for CVE-2025-68777

Indicators of Compromise

  • Kernel panic or oops messages referencing ti_am335x_tsc driver functions
  • Unexpected system crashes on AM335x-based embedded devices
  • Memory corruption artifacts in kernel logs related to touchscreen subsystem
  • Unusual kernel memory access patterns in the input driver subsystem

Detection Strategies

  • Monitor kernel logs for out-of-bounds access warnings or KASAN (Kernel Address Sanitizer) reports
  • Audit device tree configurations for wire_order values greater than or equal to 4
  • Deploy kernel debugging tools to track memory access violations in the input subsystem
  • Use static analysis tools to identify similar off-by-one boundary conditions in kernel drivers

Monitoring Recommendations

  • Enable kernel memory debugging options such as KASAN to detect out-of-bounds access attempts
  • Implement system monitoring for unexpected driver crashes or kernel panics on affected platforms
  • Review embedded device firmware for outdated Linux kernel versions
  • Configure alerting for touchscreen driver-related kernel error messages

How to Mitigate CVE-2025-68777

Immediate Actions Required

  • Update to a patched Linux kernel version that includes the boundary check fix
  • Review system configurations on AM335x-based devices for potentially triggering values
  • If updates are not immediately possible, consider disabling the ti_am335x_tsc driver if touchscreen functionality is not required
  • Monitor affected systems for signs of exploitation or instability

Patch Information

The vulnerability has been addressed through multiple kernel commits that correct the boundary validation logic. The fix changes the comparison operator from > to >= in the wire_order validation check, ensuring array indices remain within the valid range of 0-3.

Relevant kernel patches are available:

  • Kernel Commit 08c0b56
  • Kernel Commit 248d3a73
  • Kernel Commit 40e3042d
  • Kernel Commit 84e4d354
  • Kernel Commit bf95ec55

Workarounds

  • Disable the ti_am335x_tsc module if touchscreen functionality is not required: modprobe -r ti_am335x_tsc
  • Ensure device tree configurations do not specify wire_order values of 4 or higher
  • Implement additional input validation at the device tree configuration level
  • For production systems, apply kernel updates during the next maintenance window
bash
# Configuration example
# Disable the vulnerable touchscreen driver if not needed
echo "blacklist ti_am335x_tsc" >> /etc/modprobe.d/blacklist-ti-tsc.conf

# Verify the module is not loaded
lsmod | grep ti_am335x_tsc

# For systems requiring the driver, update to a patched kernel version
# Check current kernel version
uname -r

# Update kernel packages (example for Debian-based systems)
apt update && apt upgrade linux-image-$(uname -r)

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

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Commit 08c0b56

  • Kernel Commit 248d3a73

  • Kernel Commit 40e3042d

  • Kernel Commit 84e4d354

  • Kernel Commit bf95ec55
  • Related CVEs
  • CVE-2026-23455: Linux Kernel Buffer Overflow Vulnerability

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

  • CVE-2026-3038: Kernel Buffer Overflow Vulnerability

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