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

CVE-2026-23037: Linux Kernel URB Allocation Vulnerability

CVE-2026-23037 is a URB allocation flaw in the Linux kernel's etas_es58x driver that causes memory leaks when partial allocation occurs. This article covers the technical details, affected versions, and mitigation.

Updated:

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-23037 Overview

CVE-2026-23037 is a memory leak vulnerability in the Linux kernel can: etas_es58x driver. The flaw resides in es58x_alloc_rx_urbs(), which incorrectly treats partial USB Request Block (URB) allocations as fatal errors. When the function allocates some but not all requested URBs, it returns an error code that causes es58x_open() to skip the free_urbs cleanup label. The anchored URBs are then leaked. Maintainer Vincent Mailhol confirmed the driver is designed to handle partial URB allocations gracefully, so this behavior contradicts the intended design.

Critical Impact

Repeated triggering of partial URB allocation in the ES58X CAN driver leaks kernel memory, gradually exhausting resources on systems using ETAS ES58X CAN bus interfaces.

Affected Products

  • Linux kernel versions containing the etas_es58x CAN driver prior to the fix
  • Systems using ETAS ES58X USB-to-CAN interface hardware
  • Stable kernel branches referenced in the patch commits

Discovery Timeline

  • 2026-01-31 - CVE-2026-23037 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2026-23037

Vulnerability Analysis

The vulnerability is a memory leak [CWE-401] in the ETAS ES58X CAN driver within the Linux kernel. The es58x_alloc_rx_urbs() function allocates a set of URBs for receiving CAN frames from the USB device. When allocation of the full requested count fails partway through, the function returns a non-zero error code despite having successfully allocated and anchored some URBs.

The caller es58x_open() checks the return value and exits early on error, bypassing the free_urbs cleanup label. The previously anchored URBs remain pinned in kernel memory with no reference path for release. Each failed open attempt compounds the leak.

The fix modifies es58x_alloc_rx_urbs() to return 0 when at least one URB has been successfully allocated. This aligns the allocator with the driver's documented tolerance for partial allocation and ensures the cleanup path executes correctly on subsequent close operations.

Root Cause

The root cause is incorrect error semantics in es58x_alloc_rx_urbs(). The function reports failure on partial success, violating the calling convention expected by es58x_open(). The anchor mechanism retains references to allocated URBs without exposing them to the cleanup label reached only on full success.

Attack Vector

Triggering the leak requires local access with the ability to interact with the ES58X CAN interface and induce URB allocation failure, typically under memory pressure. The attack vector is local and requires physical or administrative access to the hardware. No remote exploitation path has been documented. The vulnerability does not provide code execution or privilege escalation, only resource exhaustion.

The vulnerability mechanism is described in the upstream patch commits. See the Kernel Git Commit ba45e3d and Kernel Git Commit 97250eb for the canonical fix.

Detection Methods for CVE-2026-23037

Indicators of Compromise

  • Steady growth in kernel slab allocations associated with usb_alloc_urb on hosts using ETAS ES58X devices
  • Repeated failures of es58x_open() in kernel logs under memory pressure conditions
  • Unexplained kernel memory consumption on systems with CAN bus workloads

Detection Strategies

  • Inspect /proc/slabinfo for unbounded growth in URB-related slab caches on affected hosts
  • Audit installed kernel versions against the fixed commits listed in the kernel.org references
  • Monitor dmesg output for ES58X driver initialization errors followed by repeated open attempts

Monitoring Recommendations

  • Track kernel memory usage trends on industrial and automotive systems using ES58X hardware
  • Alert on kernel warnings originating from the can subsystem and USB anchor operations
  • Correlate CAN interface bring-up failures with subsequent memory consumption anomalies

How to Mitigate CVE-2026-23037

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the kernel.org commits to all affected hosts
  • Inventory systems using ETAS ES58X USB-to-CAN adapters and prioritize them for kernel updates
  • Restrict local access to systems where the CAN interface cannot be immediately patched

Patch Information

The vulnerability is resolved by upstream commits including Kernel Git Commit 611e839d, Kernel Git Commit 6c5124a, Kernel Git Commit 97250eb, Kernel Git Commit aec888f, Kernel Git Commit b197977, and Kernel Git Commit ba45e3d. Update to a stable kernel release containing these fixes.

Workarounds

  • Unload the etas_es58x module when the ES58X interface is not in active use
  • Avoid running the driver under sustained memory pressure that triggers partial URB allocation failure
  • Reboot affected systems periodically to reclaim leaked kernel memory until patches are applied
bash
# Verify whether the etas_es58x module is loaded and unload if unused
lsmod | grep etas_es58x
sudo modprobe -r etas_es58x

# Confirm running kernel version against fixed releases
uname -r

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.