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

CVE-2025-68754: Linux Kernel Use-After-Free Flaw

CVE-2025-68754 is a use-after-free vulnerability in the Linux kernel's Amlogic-A4 RTC driver caused by improper clock resource management. This article covers the technical details, affected systems, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-68754 Overview

A double free vulnerability has been discovered in the Linux kernel's Amlogic A4 Real-Time Clock (RTC) driver. The issue arises from improper resource management where the clock obtained via devm_clk_get_enabled() is automatically managed by the device resource management (devres) framework and will be disabled and freed on driver detach. However, the driver was also manually calling clk_disable_unprepare() in the error path and remove function, causing a double free condition.

Critical Impact

Memory corruption via double free can lead to system instability, kernel crashes, or potentially exploitable conditions on systems using Amlogic A4 RTC hardware.

Affected Products

  • Linux kernel with Amlogic A4 RTC driver (rtc-amlogic-a4)
  • Devices using Amlogic A4 SoC with RTC functionality
  • Linux distributions running affected kernel versions

Discovery Timeline

  • 2026-01-05 - CVE CVE-2025-68754 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-68754

Vulnerability Analysis

This double free vulnerability occurs in the Amlogic A4 RTC driver due to a misunderstanding of the Linux kernel's device resource management (devm) framework. When a driver uses devm_clk_get_enabled() to obtain and enable a clock, the devm framework takes full responsibility for the clock's lifecycle—including disabling and freeing it when the driver is detached or when an error occurs during probe.

The vulnerable code path incorrectly added explicit calls to clk_disable_unprepare() in both the probe error path and the aml_rtc_remove() function. This results in the clock being freed twice: once by the manual call and again by the devm framework when it performs cleanup.

Double free vulnerabilities can corrupt memory allocator metadata, potentially leading to use-after-free conditions, kernel panics, or in certain scenarios, arbitrary code execution with kernel privileges.

Root Cause

The root cause is redundant resource cleanup code that conflicts with the devm-managed resource lifecycle. The devm_clk_get_enabled() function automatically registers cleanup callbacks with the devres framework. When the driver manually calls clk_disable_unprepare(), it prematurely releases the clock resource, and when devres later attempts its automatic cleanup, the already-freed memory is accessed again.

Attack Vector

The attack vector for this vulnerability is limited. Exploitation would require:

  1. Physical access to a system with Amlogic A4 RTC hardware, or
  2. The ability to trigger driver probe failures or module unloading on an affected system

While the vulnerability's direct exploitability is constrained by these requirements, double free conditions can potentially be chained with other vulnerabilities for privilege escalation. The fix removes the redundant clk_disable_unprepare() calls from the probe error path and aml_rtc_remove() function, allowing the devm framework to exclusively manage the clock lifecycle.

Detection Methods for CVE-2025-68754

Indicators of Compromise

  • Kernel oops or panic messages referencing the rtc-amlogic-a4 driver
  • Memory corruption errors in kernel logs related to RTC subsystem
  • Unexpected system crashes or reboots on Amlogic A4-based devices
  • Double free warnings in kernel memory debugging output (KASAN)

Detection Strategies

  • Enable Kernel Address Sanitizer (KASAN) to detect double free conditions at runtime
  • Monitor kernel logs (dmesg) for memory corruption errors in RTC driver context
  • Audit loaded modules for rtc-amlogic-a4 and verify kernel version against patched releases
  • Use kernel live patching detection tools to verify patch status

Monitoring Recommendations

  • Deploy kernel crash reporting tools (kdump, crash) to capture diagnostic information
  • Implement centralized kernel log monitoring for memory subsystem errors
  • Monitor for unexpected RTC driver module load/unload activity
  • Enable kernel debugging features on development and testing systems

How to Mitigate CVE-2025-68754

Immediate Actions Required

  • Update the Linux kernel to a version containing the fix
  • If kernel update is not immediately possible, consider disabling the rtc-amlogic-a4 module if not required
  • Monitor affected systems for stability issues until patch is applied
  • Review kernel version compatibility with your hardware platform

Patch Information

The fix removes the redundant clk_disable_unprepare() calls from the probe error path and aml_rtc_remove() function, allowing the devm framework to automatically manage the clock lifecycle as intended. Patches are available through the following kernel git commits:

  • Kernel Git Commit 2e1c79
  • Kernel Git Commit 384150
  • Kernel Git Commit 9fed02

Workarounds

  • Blacklist the rtc-amlogic-a4 module if RTC functionality is not critical for your application
  • Use an alternative timekeeping mechanism while awaiting kernel update
  • Avoid triggering module unload/reload cycles on affected systems
  • Consider using a userspace RTC daemon as a temporary alternative
bash
# Blacklist the affected module if not required
echo "blacklist rtc-amlogic-a4" | sudo tee /etc/modprobe.d/blacklist-rtc-amlogic.conf
sudo update-initramfs -u

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 Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit 384150

  • Kernel Git Commit 9fed02
  • Related CVEs
  • CVE-2026-31414: Linux Kernel Use-After-Free Vulnerability

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

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

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