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

CVE-2026-97912: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97912 is a privilege escalation vulnerability in the Linux kernel ethosu driver that allows improper SRAM access. This post explains its technical details, affected versions, impact, 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-97912 Overview

CVE-2026-97912 affects the Linux kernel accel/ethosu driver, which supports Arm Ethos-U neural processing units. The driver fails to reset the SRAM size to zero when the SRAM mapping operation fails during probe. Since the probe treats SRAM as non-mandatory, it ignores the error return and continues initialization. The non-zero SRAM size then allows subsequent jobs to access memory pointing to physical base address 0x0.

Critical Impact

Jobs submitted to the Ethos-U accelerator may read from or write to physical address 0x0, producing undefined kernel behavior, memory corruption, or information disclosure.

Affected Products

  • Linux kernel versions containing the accel/ethosu driver prior to the referenced fix commits
  • Systems using Arm Ethos-U neural processing unit (NPU) hardware acceleration
  • Platforms relying on the Ethos-U accelerator driver without a hard SRAM requirement

Discovery Timeline

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

Technical Details for CVE-2026-97912

Vulnerability Analysis

The accel/ethosu kernel driver initializes an SRAM region during device probe to support neural processing unit workloads. When the SRAM mapping call fails, the driver does not treat it as a fatal error. SRAM is considered optional, so the probe routine continues even when mapping fails. The flaw is that the stored SRAM size value remains non-zero after a failed mapping. Later code paths use that non-zero size as an indicator that SRAM is available. This mismatch between the stored size and the actual mapping state produces unsafe memory operations against physical address 0x0.

Root Cause

The root cause is incomplete error handling in the driver probe path. The function sets the SRAM size before invoking the mapping call. On mapping failure, the code neither clears the size nor propagates the error. This leaves the driver in an inconsistent state where metadata indicates SRAM is present while the underlying mapping is invalid.

Attack Vector

Exploitation requires the ability to submit jobs to the Ethos-U accelerator on a system where SRAM mapping fails during boot. Any job that references the SRAM region will dereference a pointer resolving to physical address 0x0. This leads to kernel memory corruption, hardware DMA to unintended addresses, or denial of service. The vulnerability depends on hardware configuration and does not provide a direct remote attack path.

The fix clears the SRAM size when the mapping operation fails. Refer to the Linux Kernel Commit e557664 and Linux Kernel Commit f5376d7 for the upstream patches.

Detection Methods for CVE-2026-97912

Indicators of Compromise

  • Kernel log entries indicating SRAM mapping failure for the Ethos-U accelerator during probe
  • Unexpected page faults, DMA errors, or oops events referencing physical address 0x0
  • Workload failures or data corruption in processes dispatching jobs to the Ethos-U NPU

Detection Strategies

  • Audit running kernels for the accel/ethosu driver version and compare against the fixed commits
  • Review dmesg output on affected hardware for probe-time warnings associated with the Ethos-U driver
  • Monitor system stability on devices with Ethos-U NPUs where SRAM reservations may fail

Monitoring Recommendations

  • Collect kernel ring buffer logs from systems using Ethos-U acceleration and forward them to a central log store
  • Alert on kernel oops, panic, or NULL pointer events on affected platforms
  • Track package and kernel update status across Linux fleets to confirm patch deployment

How to Mitigate CVE-2026-97912

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the commits e5576641b79e and f5376d7e0fb7
  • Update to a stable kernel release that includes the fix once distribution vendors publish updates
  • Inventory systems using the accel/ethosu driver and prioritize patching on hardware with Ethos-U NPUs

Patch Information

The upstream fix ensures that the SRAM size is set to zero when the mapping call fails. This prevents later code from treating the invalid mapping as usable memory. The patches are available in the mainline Linux kernel tree via Linux Kernel Commit e557664 and Linux Kernel Commit f5376d7. Distribution maintainers will backport these commits to supported stable kernel branches.

Workarounds

  • Disable the accel/ethosu driver on systems where NPU functionality is not required until the kernel is updated
  • Restrict job submission to the Ethos-U accelerator to trusted workloads on unpatched systems
  • Validate SRAM reservation configuration in device tree or firmware to reduce the likelihood of mapping failures
bash
# Verify whether the accel/ethosu driver is loaded
lsmod | grep ethosu

# Review kernel log for SRAM mapping messages
dmesg | grep -i ethosu

# Blacklist the module as a temporary workaround
echo 'blacklist ethosu' | sudo tee /etc/modprobe.d/blacklist-ethosu.conf
sudo update-initramfs -u

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.