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

CVE-2026-97914: Linux Kernel ethosu Job Error Handling Fix

CVE-2026-97914 is an error handling flaw in the Linux kernel ethosu accelerator driver that affects return value processing in job operations. 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-97914 Overview

CVE-2026-97914 is a Linux kernel defect in the Arm Ethos-U accelerator driver (accel/ethosu). The ethosu_job_open() function wrapped its error path with a WARN_ON() macro, which returns 0 or 1 rather than propagating the original negative errno. Because the file descriptor open path passes this return value directly to userspace, callers receive an incorrect status when drm_sched_entity_init() fails. The fix removes the WARN_ON() so the real error code reaches userspace. This is a correctness and reliability issue in a kernel accelerator subsystem rather than a memory-safety flaw.

Critical Impact

Userspace receives an incorrect return value from the Ethos-U accelerator driver when job initialization fails, which can mask real errors and cause unpredictable application behavior.

Affected Products

  • Linux kernel versions containing the accel/ethosu driver prior to the fix
  • Systems using the Arm Ethos-U NPU accelerator subsystem
  • Distributions tracking mainline or stable kernels before commits b3c8d4672f7a and e98afe5142ad

Discovery Timeline

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

Technical Details for CVE-2026-97914

Vulnerability Analysis

The Linux kernel accel/ethosu driver provides userspace access to the Arm Ethos-U neural processing unit. When a userspace process opens a job file descriptor, the kernel invokes ethosu_job_open() to initialize scheduling state. That function calls drm_sched_entity_init(), the only possible source of error in the path. The driver wrapped the error check in WARN_ON(), which evaluates its argument and returns a boolean 0 or 1. The function then returned that boolean instead of the original negative errno from drm_sched_entity_init().

Because the open path forwards the return value to userspace, applications observed 1 instead of a specific error such as -ENOMEM or -EINVAL. This breaks standard POSIX error handling, hides the real failure cause, and can trigger misbehavior in applications that branch on specific error codes. The patched code drops the WARN_ON() entirely, allowing the real errno to propagate.

Root Cause

The root cause is misuse of the WARN_ON() macro as a value-returning expression. WARN_ON(x) prints a stack trace when x is nonzero and returns a boolean, not the original value. Returning the macro result discards the negative error code produced by drm_sched_entity_init().

Attack Vector

This is not a remotely exploitable security flaw. The defect affects local correctness of a kernel driver interface. Any local process that opens the Ethos-U job device while initialization fails will receive an incorrect return value. There is no indication of memory corruption, privilege escalation, or information disclosure.

The vulnerability is a logic defect in error propagation. See the upstream commits b3c8d4672f7a and e98afe5142ad for the exact source change.

Detection Methods for CVE-2026-97914

Indicators of Compromise

  • No malicious indicators apply. This is a kernel correctness defect, not an exploited vulnerability.
  • Userspace applications reporting unexpected return value 1 from file descriptor operations against /dev/accel/* nodes bound to the Ethos-U driver.
  • Kernel logs containing WARN_ON stack traces originating from ethosu_job_open on affected kernels.

Detection Strategies

  • Audit running kernel versions against the fix commits b3c8d4672f7a and e98afe5142ad to identify unpatched systems.
  • Review application error logs on hosts using Ethos-U NPU hardware for anomalous open failures.
  • Monitor dmesg output for warnings referencing ethosu_job_open or drm_sched_entity_init failures.

Monitoring Recommendations

  • Centralize kernel log collection from devices with Ethos-U accelerators to surface recurring drm_sched_entity_init() failures.
  • Track kernel package versions across the fleet to confirm patch rollout against the stable branches that received the fix.
  • Correlate accelerator driver errors with workload failures to prioritize kernel updates on affected hosts.

How to Mitigate CVE-2026-97914

Immediate Actions Required

  • Update affected systems to a Linux kernel version that includes commits b3c8d4672f7a8735e2884cefcd89286268e88b2e and e98afe5142add34b70b305408317a325f14c37f5.
  • Inventory devices that use the Arm Ethos-U NPU and the accel/ethosu driver to scope exposure.
  • Apply vendor-provided kernel updates through standard distribution channels.

Patch Information

The fix removes the WARN_ON() wrapper from the error return in ethosu_job_open(), allowing the negative errno produced by drm_sched_entity_init() to reach userspace. Reference the upstream changes at Kernel Git Commit b3c8d4672f7a and Kernel Git Commit e98afe5142ad.

Workarounds

  • No functional workaround exists other than applying the patched kernel.
  • On systems that do not require the Ethos-U accelerator, unload or blacklist the ethosu driver to avoid exercising the affected path.
  • Handle unexpected return codes defensively in userspace applications that open Ethos-U job descriptors until the kernel is updated.
bash
# Verify kernel version and confirm the fix is present
uname -r

# On Debian/Ubuntu, apply the latest kernel update
sudo apt update && sudo apt upgrade linux-image-$(uname -r | cut -d- -f3-)

# Optionally blacklist the ethosu driver if the accelerator is not required
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.