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

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

CVE-2026-97484 is a use-after-free flaw in the Linux kernel's USB/IP vhci_hcd driver that causes NULL pointer dereference. 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-97484 Overview

CVE-2026-97484 is a NULL pointer dereference vulnerability in the Linux kernel's usbip subsystem, specifically within the vhci_hcd driver. The flaw resides in the status_show_vhci() function, which reads the per-controller status entry exposed via sysfs. When a Virtual Host Controller Interface (VHCI) probe fails — for example, due to USB bus number exhaustion — platform_get_drvdata() returns NULL. The function checked for a NULL pdev but not for a NULL hcd. Passing NULL to hcd_to_vhci_hcd() returns a pointer offset of 0x260 rather than NULL, which triggers a dereference crash when later accessed.

Critical Impact

A local user reading the vhci sysfs status entry after a failed VHCI probe can trigger a kernel NULL pointer dereference, resulting in denial of service.

Affected Products

  • Linux kernel builds including the usbip and vhci_hcd driver
  • Systems exposing /sys/devices/platform/vhci_hcd.*/status via sysfs
  • Hosts where VHCI probes may fail (for example, USB bus number exhaustion scenarios)

Discovery Timeline

  • 2026-09-24 - CVE-2026-97484 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-97484

Vulnerability Analysis

The usbip subsystem provides USB device sharing over IP networks, and vhci_hcd is the client-side virtual host controller driver. Each VHCI platform device exposes a status sysfs attribute, served by status_show_vhci(). During normal operation, platform_get_drvdata() returns a valid struct usb_hcd pointer that is converted into a struct vhci_hcd via hcd_to_vhci_hcd().

When the probe routine fails before setting driver data, platform_get_drvdata() returns NULL. The function validated the platform device pointer but never confirmed the returned hcd was non-NULL. hcd_to_vhci_hcd() performs pointer arithmetic rather than dereferencing, so it returns an invalid pointer at offset 0x260. Subsequent field accesses dereference this invalid address, oopsing the kernel.

The upstream fix adds a NULL check on hcd before calling hcd_to_vhci_hcd() and reorders status_show_not_ready() above status_show_vhci() so it can be invoked from the new error path without a forward declaration.

Root Cause

The root cause is a missing NULL check [CWE-476] on the return value of platform_get_drvdata() inside status_show_vhci(). The transformation macro hcd_to_vhci_hcd() masks the NULL by producing a nonzero but invalid pointer, defeating later sanity checks.

Attack Vector

Exploitation requires local access and the ability to read the affected sysfs entry while a VHCI controller is in a failed-probe state. An unprivileged local user with read permissions on /sys/devices/platform/vhci_hcd.*/status can trigger the dereference and crash the kernel. The issue is not reachable from a remote network path and does not grant code execution.

See the upstream fix commits for exact source changes: Kernel Git Commit 046a94f, Kernel Git Commit bc15078, and Kernel Git Commit dacd7c3.

Detection Methods for CVE-2026-97484

Indicators of Compromise

  • Kernel oops or panic messages referencing status_show_vhci or vhci_hcd in dmesg and /var/log/kern.log.
  • Repeated process crashes or hangs when userland tooling reads /sys/devices/platform/vhci_hcd.*/status.
  • Logged VHCI probe failures citing USB bus number exhaustion prior to the oops.

Detection Strategies

  • Compare running kernel versions against the fixed commits listed in the upstream stable tree to identify unpatched hosts.
  • Audit systems that load the vhci_hcd module and determine whether usbip functionality is actually required.
  • Correlate kernel oops telemetry with recent sysfs reads of the vhci_hcd status path.

Monitoring Recommendations

  • Forward kernel ring buffer events to a centralized logging or SIEM pipeline and alert on BUG: unable to handle or Oops entries referencing vhci_hcd.
  • Monitor loaded kernel modules across the fleet and flag unexpected vhci_hcd or usbip_core presence.
  • Track process access patterns to /sys/devices/platform/vhci_hcd.* from non-administrative accounts.

How to Mitigate CVE-2026-97484

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in commits 046a94f, bc15078, and dacd7c3 or install a distribution kernel update that incorporates them.
  • If usbip is not required, unload the vhci_hcd module and blacklist it to remove the attack surface entirely.
  • Restrict access to the affected sysfs entries using filesystem permissions or mandatory access control policies on multi-user systems.

Patch Information

The fix adds a NULL check on hcd before calling hcd_to_vhci_hcd() in status_show_vhci() and moves status_show_not_ready() above it to support the new error path. The patch is available in the stable kernel tree via Kernel Git Commit 046a94f, Kernel Git Commit bc15078, and Kernel Git Commit dacd7c3.

Workarounds

  • Blacklist the vhci_hcd module on systems that do not use USB/IP by adding blacklist vhci_hcd to /etc/modprobe.d/.
  • Tighten permissions on /sys/devices/platform/vhci_hcd.*/status so only root can read the attribute until the kernel is patched.
  • Avoid creating conditions that exhaust USB bus numbers, which prevents the failed-probe state that enables the dereference.
bash
# Configuration example: disable vhci_hcd if usbip is not needed
echo 'blacklist vhci_hcd' | sudo tee /etc/modprobe.d/disable-vhci.conf
sudo modprobe -r vhci_hcd 2>/dev/null || true
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.