Skip to main content
Vulnerability Database/CVE-2026-97970

CVE-2026-97970: Linux Kernel Watchdog DOS Vulnerability

CVE-2026-97970 is a denial of service vulnerability in the Linux kernel msc313e watchdog driver caused by potential division by zero. This post explains its impact, affected versions, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97970 Overview

CVE-2026-97970 is a division-by-zero flaw in the Linux kernel msc313e watchdog driver. The driver calls clk_get_rate() to obtain the clock rate used in watchdog timer calculations. When clk_get_rate() returns 0, the subsequent division operation triggers a kernel panic. The issue affects systems using the MStar MSC313e watchdog hardware. Upstream maintainers have resolved the flaw across multiple stable kernel branches.

Critical Impact

A zero return value from clk_get_rate() causes a divide-by-zero kernel panic, resulting in denial of service on affected Linux systems.

Affected Products

  • Linux kernel versions containing the msc313e watchdog driver prior to the fix
  • Devices based on MStar/SigmaStar MSC313e SoCs using the kernel watchdog subsystem
  • Downstream distributions shipping unpatched stable kernel branches

Discovery Timeline

  • 2026-09-25 - CVE-2026-97970 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97970

Vulnerability Analysis

The msc313e watchdog driver depends on a clock source to compute timer intervals. During driver initialization or operation, the kernel invokes clk_get_rate() to retrieve the clock frequency. The returned value is used as a divisor when programming the watchdog timeout. When the clock subsystem returns 0, the arithmetic operation produces a divide-by-zero exception in kernel context, which the kernel handles as a panic. This maps to a denial-of-service condition on hardware that depends on the affected driver.

Root Cause

The root cause is missing validation of the return value from clk_get_rate() before using it as a divisor. The driver assumed a non-zero clock rate. The upstream fix adds a check that prevents the division when the rate is 0, avoiding the panic path.

Attack Vector

The condition is reached during driver bring-up or operation when the underlying clock is unavailable or misconfigured. There is no documented remote attack vector. Triggering requires local hardware or driver conditions that cause clk_get_rate() to return 0. See the upstream patches for implementation details: Linux Kernel commit 3ae8eb30f8a0, commit 3c73a37f5e40, commit 47eae41c630b, and commit 5788a6747eda.

// No verified exploit code is available for this CVE.
// Refer to the upstream commits for the exact source changes.

Detection Methods for CVE-2026-97970

Indicators of Compromise

  • Unexpected kernel panic messages referencing divide error within the msc313e watchdog driver call path
  • System reboot loops on MSC313e-based hardware shortly after watchdog driver initialization
  • Kernel log entries indicating clk_get_rate returning 0 for the watchdog clock source

Detection Strategies

  • Review dmesg and persistent kernel logs for divide-by-zero traces originating in the watchdog subsystem
  • Inventory running kernel versions across MSC313e hardware and compare against patched stable branches
  • Correlate unexpected reboots on affected devices with watchdog driver load events

Monitoring Recommendations

  • Forward kernel logs from embedded Linux devices to a centralized log store for panic trace analysis
  • Alert on repeated unplanned reboots of MSC313e-based systems within short time windows
  • Track kernel package versions through configuration management to confirm patch coverage

How to Mitigate CVE-2026-97970

Immediate Actions Required

  • Identify Linux systems running the msc313e watchdog driver and record their kernel versions
  • Apply the upstream stable kernel updates that include the validation fix
  • Validate watchdog clock configuration in device trees for MSC313e platforms

Patch Information

The fix is available in upstream stable branches through the following commits: 3ae8eb30f8a0, 3c73a37f5e40, 47eae41c630b, and 5788a6747eda. Rebuild and deploy kernels incorporating these commits, or install the vendor-provided stable kernel package that references them.

Workarounds

  • Disable the msc313e watchdog driver on affected systems if the hardware watchdog is not required
  • Ensure the clock source feeding the watchdog is correctly configured and reports a non-zero rate
  • Restrict driver loading until patched kernel builds are deployed
bash
# Verify running kernel version and watchdog driver status
uname -r
lsmod | grep msc313e
dmesg | grep -i watchdog

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.