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

CVE-2026-93279: Linux Kernel Use-After-Free Vulnerability

CVE-2026-93279 is a use-after-free vulnerability in the Linux kernel's staging octeon driver that could allow memory corruption. This article covers the technical details, affected versions, and mitigation strategies.

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

CVE-2026-93279 is a use-after-free vulnerability in the Linux kernel's staging/octeon Ethernet driver. The flaw resides in cvm_oct_tx_shutdown(), which fails to call tasklet_kill() during device teardown. A TX cleanup tasklet scheduled by the watchdog IRQ handler can execute after cvm_oct_remove() frees the net_device structures. When cvm_oct_tx_do_cleanup() subsequently iterates the cvm_oct_device[] array of netdevice pointers, it dereferences freed memory. The upstream fix adds tasklet_kill() after free_irq() to ensure the tasklet is neither scheduled nor running before teardown proceeds.

Critical Impact

A pending TX cleanup tasklet can run after netdevice structures are freed, resulting in a kernel use-after-free on Octeon MIPS platforms using the staging Ethernet driver.

Affected Products

  • Linux kernel versions containing the drivers/staging/octeon Ethernet driver prior to the fix
  • Stable branches referenced by kernel commits 03d12490, 2c0c9956, 32efcb6d, 41a79bd9, a77efd85, b6365e41, b9af44b0, and d15226338
  • Cavium Octeon MIPS-based network platforms using this driver

Discovery Timeline

  • 2026-09-24 - CVE-2026-93279 published to the National Vulnerability Database (NVD)
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-93279

Vulnerability Analysis

The vulnerability affects the Octeon Ethernet driver in the Linux kernel staging tree. The driver registers a watchdog IRQ handler that can schedule a TX cleanup tasklet, cvm_oct_tx_do_cleanup. During device shutdown, cvm_oct_tx_shutdown() releases driver resources but does not drain pending tasklets. If the watchdog fires near teardown, a tasklet entry can remain queued or in flight.

When cvm_oct_remove() subsequently frees the per-port net_device structures, the queued tasklet retains stale pointers. On execution, cvm_oct_tx_do_cleanup() walks the global cvm_oct_device[] array and operates on freed objects. This produces a classic use-after-free [CWE-416] condition in kernel context.

Root Cause

The root cause is missing synchronization during driver teardown. The shutdown path invokes free_irq() to stop new IRQ-driven scheduling but omits tasklet_kill(), which blocks until any pending or running instance of the tasklet completes. Without this call, a race window exists between IRQ deregistration and memory release.

Attack Vector

The vulnerability is triggered during module unload or device teardown on affected Octeon hardware. An attacker requires local access and the ability to initiate driver removal, which typically requires elevated privileges. Successful exploitation can cause a kernel crash, denial of service, or memory corruption that could be chained toward privilege escalation depending on heap state. No public proof-of-concept exploit is available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The current EPSS probability is 0.196%.

See the upstream fix commits for technical details, including Kernel Commit 03d12490 and Kernel Commit d15226338.

Detection Methods for CVE-2026-93279

Indicators of Compromise

  • Kernel oops or panic messages referencing cvm_oct_tx_do_cleanup or cvm_oct_device in dmesg or /var/log/kern.log
  • KASAN use-after-free reports naming the Octeon TX cleanup tasklet when kernel address sanitizer is enabled
  • Unexpected network interface teardown events on Octeon hardware followed by kernel instability

Detection Strategies

  • Audit running kernel versions against the fixed stable releases referenced by the upstream commits
  • Enable CONFIG_KASAN on test systems to surface use-after-free conditions in the Octeon driver during stress testing
  • Correlate module unload events (rmmod octeon*) with subsequent kernel error messages

Monitoring Recommendations

  • Forward kernel ring buffer and syslog data to a centralized logging platform for anomaly review
  • Alert on kernel panic, oops, or BUG messages originating from staging drivers on Octeon devices
  • Monitor for unexpected privileged operations such as kernel module load or unload activity on production systems

How to Mitigate CVE-2026-93279

Immediate Actions Required

  • Identify all systems using the Octeon MIPS Ethernet driver and inventory kernel versions in use
  • Apply the stable kernel update that includes the tasklet_kill() call in cvm_oct_tx_shutdown()
  • Restrict CAP_SYS_MODULE and administrative access to prevent unprivileged users from triggering driver teardown

Patch Information

The fix adds a tasklet_kill() call after free_irq() in cvm_oct_tx_shutdown() to ensure no cleanup tasklet is pending or executing before net_device structures are freed. Patches have been backported across multiple stable branches. Reference the upstream commits: Kernel Commit 2c0c9956, Kernel Commit 32efcb6d, Kernel Commit 41a79bd9, Kernel Commit a77efd85, Kernel Commit b6365e41, and Kernel Commit b9af44b0.

Workarounds

  • Avoid unloading or reloading the Octeon Ethernet driver on production systems until the patch is applied
  • Blacklist the staging driver module where the hardware is unused and alternative drivers are available
  • Limit local privileged access to systems running the vulnerable driver to reduce teardown-triggered race opportunities

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.