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

CVE-2025-68822: Linux Kernel ALPS Use-After-Free Bug

CVE-2025-68822 is a use-after-free vulnerability in the Linux kernel ALPS touchpad driver caused by improper handling of delayed work during device detachment. This article covers technical details, affected systems, and mitigation.

Updated: January 22, 2026

CVE-2025-68822 Overview

A use-after-free vulnerability has been identified in the Linux kernel's ALPS touchpad input driver. The flaw exists in the dev3_register_work delayed work item handling during device detachment, where a race condition between the cleanup path and delayed work execution can lead to memory access after the alps_data structure has been deallocated.

Critical Impact

This use-after-free vulnerability in the Linux kernel's ALPS input driver could allow an attacker to potentially execute arbitrary code or cause system instability through exploitation of the race condition during device detachment.

Affected Products

  • Linux kernel with ALPS touchpad driver support
  • Systems utilizing ALPS touchpad with external PS/2 device connectivity
  • Linux kernel versions prior to the security patch commits

Discovery Timeline

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

Technical Details for CVE-2025-68822

Vulnerability Analysis

The vulnerability resides in the ALPS touchpad driver's handling of the dev3_register_work delayed work item. When a device is being detached, the psmouse_disconnect() function calls flush_workqueue() to ensure completion of pending work items. However, this operation only waits for work items already queued before its invocation—any work items submitted afterward are not awaited.

The core issue is that after flush_workqueue() completes, dev3_register_work can still be scheduled through alps_report_bare_ps2_packet(). Although the psmouse state is set to PSMOUSE_CMD_MODE in psmouse_disconnect(), this does not prevent the scheduling of dev3_register_work.

When the race condition is triggered, the delayed work item accesses the priv structure (via container_of()) and its dev3 member after the structure has already been freed by kfree(priv) in alps_disconnect(). This constitutes a classic use-after-free scenario that was identified through static analysis.

Root Cause

The root cause is improper synchronization between the device cleanup path and the delayed work scheduling mechanism. The original implementation relied on flush_workqueue() to ensure all pending work is completed before freeing resources, but this approach fails to account for work items that may be queued after the flush operation begins. The dev3_register_work delayed work item initialization in alps_reconnect() and its subsequent scheduling upon receipt of PS/2 packets creates a timing window where the work can be queued after cleanup has commenced.

Attack Vector

The attack vector involves triggering the race condition between two CPU execution paths:

CPU 0 (Cleanup Path):

  1. psmouse_disconnect() is called during device detachment
  2. psmouse_set_state() sets the state to PSMOUSE_CMD_MODE
  3. flush_workqueue() waits for currently queued work items
  4. alps_disconnect() calls kfree(priv) to free the alps_data structure

CPU 1 (Delayed Work Path):

  1. alps_report_bare_ps2_packet() is called for incoming PS/2 packet
  2. psmouse_queue_work() schedules dev3_register_work
  3. alps_register_bare_ps2_mouse() executes the work item
  4. The work item accesses priv via container_of() after it has been freed
  5. Access to priv->dev3 triggers use-after-free

The race window exists between the flush_workqueue() call and the kfree(priv) call, during which an external PS/2 packet can trigger the scheduling of the delayed work item.

Detection Methods for CVE-2025-68822

Indicators of Compromise

  • Kernel panic or oops messages referencing the ALPS driver or alps_register_bare_ps2_mouse function
  • System crashes during PS/2 device hot-plug/unplug operations with ALPS touchpads
  • Memory corruption indicators in kernel logs related to the input subsystem

Detection Strategies

  • Monitor kernel logs for use-after-free warnings from KASAN (Kernel Address Sanitizer) related to ALPS driver
  • Deploy kernel debugging tools to detect memory access violations in the input driver subsystem
  • Implement system monitoring for unexpected crashes during device attachment/detachment events

Monitoring Recommendations

  • Enable KASAN in development/testing environments to detect use-after-free conditions
  • Configure crash dump collection to capture kernel state during ALPS driver-related crashes
  • Monitor system stability metrics on systems with ALPS touchpads and external PS/2 devices

How to Mitigate CVE-2025-68822

Immediate Actions Required

  • Update to a patched Linux kernel version containing the fix commits
  • Consider disabling external PS/2 device support on ALPS touchpads if updates cannot be immediately applied
  • Monitor affected systems for signs of exploitation or instability

Patch Information

The vulnerability has been resolved by adding disable_delayed_work_sync() in alps_disconnect() to ensure that dev3_register_work is properly canceled and prevented from executing after the alps_data structure has been deallocated.

Patch commits are available from the kernel Git repositories:

  • Kernel Git Commit a9c115e017b2c633d25bdfe6709dda6fc36f08c2
  • Kernel Git Commit bf40644ef8c8a288742fa45580897ed0e0289474
  • Kernel Git Commit ed8c61b89be0c45f029228b2913d5cf7b5cda1a7

Workarounds

  • If kernel updates cannot be applied immediately, avoid hot-plugging PS/2 devices on systems with ALPS touchpads
  • Disable the ALPS driver module (psmouse.alps_protocol=bare) if ALPS touchpad functionality is not required
  • Implement kernel live patching solutions to apply the fix without requiring a full system reboot
bash
# Check current kernel version and ALPS driver status
uname -r
lsmod | grep psmouse

# If using a package manager, update to latest kernel
# For Debian/Ubuntu:
sudo apt update && sudo apt upgrade linux-image-generic

# For RHEL/CentOS:
sudo yum update kernel

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit Log

  • Kernel Git Commit Log

  • Kernel Git Commit Log
  • Related CVEs
  • CVE-2026-23427: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23428: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23443: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23322: Linux Kernel Use-After-Free 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