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

CVE-2026-97538: Linux Kernel Information Disclosure Vulnerability

CVE-2026-97538 is an information disclosure flaw in the Linux kernel hwmon ASUS ROG Ryujin driver that exposes uninitialized memory through sysfs. This post explains its technical details, 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-97538 Overview

CVE-2026-97538 is an uninitialized memory use vulnerability in the Linux kernel's asus_rog_ryujin hwmon driver. The rog_ryujin_raw_event() function parses Human Interface Device (HID) response headers and payload fields without first confirming those bytes exist in the received report. A short HID report causes the driver to consume uninitialized bytes from the transport buffer and expose them as sensor values through sysfs. Kernel maintainers resolved the issue by validating the response header and the fields consumed by each response type before parsing them.

Critical Impact

A malicious or malfunctioning USB HID device can trigger the driver to leak uninitialized kernel buffer contents through hwmon sysfs sensor attributes, potentially exposing sensitive memory to user space.

Affected Products

  • Linux kernel versions containing the asus_rog_ryujin hwmon driver prior to the fix
  • Systems using ASUS ROG Ryujin AIO liquid coolers with the vulnerable kernel driver
  • Linux stable branches pending backport of commits 1caa5f9 and 8042312

Discovery Timeline

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

Technical Details for CVE-2026-97538

Vulnerability Analysis

The asus_rog_ryujin driver handles HID reports produced by ASUS ROG Ryujin AIO coolers through the rog_ryujin_raw_event() callback. The callback inspects response header bytes and dispatches on response type, reading additional payload fields such as fan speed, pump speed, and liquid temperature. The vulnerable implementation performs these reads without checking that the report buffer is long enough to contain the required bytes.

When a shorter-than-expected HID report arrives, the driver dereferences offsets that fall beyond the valid report length. The bytes read in that region are uninitialized memory from the HID transport buffer. The driver then stores those bytes as cached sensor values that unprivileged users can read through hwmon sysfs entries. This provides a repeatable primitive for leaking stale kernel data to user space.

Root Cause

The root cause is missing input validation on HID report length [CWE-908: Use of Uninitialized Resource]. The handler assumes every incoming report contains a full header and the payload corresponding to its response type. There is no bounds check comparing the report size against the fixed offsets accessed during parsing. The upstream fix adds explicit length validation for the common response header and for each response type before any field is read.

Attack Vector

Exploitation requires an attacker to supply crafted HID reports to the driver. The most practical path is physical or close-proximity attachment of a malicious USB device that advertises itself as an ASUS ROG Ryujin cooler and emits truncated reports. In environments that expose USB passthrough to untrusted virtual machines or containers, a guest can issue the malformed reports to the host driver. A successful attack does not grant code execution but turns sysfs sensor reads into an oracle for uninitialized kernel memory.

No verified public proof-of-concept is available. See the upstream commits Kernel Git Commit 1caa5f9 and Kernel Git Commit 8042312 for the exact validation logic added to the driver.

Detection Methods for CVE-2026-97538

Indicators of Compromise

  • Attachment of unexpected USB HID devices identifying themselves as ASUS ROG Ryujin coolers on systems where no such hardware is installed.
  • Unprivileged processes repeatedly reading hwmon sysfs attributes associated with the asus_rog_ryujin driver.
  • Kernel log entries from the hwmon subsystem referencing short or malformed HID reports from the Ryujin device.

Detection Strategies

  • Inventory kernel modules on Linux hosts and flag systems loading asus_rog_ryujin on kernels that predate the fix commits.
  • Monitor udev and USB subsystem events for new HID devices binding to the vulnerable driver outside of expected hardware changes.
  • Audit access patterns to /sys/class/hwmon/* entries from non-administrative accounts, since legitimate consumers are typically limited to monitoring daemons.

Monitoring Recommendations

  • Enable kernel audit rules on USB device add and remove events to attribute HID activity to specific sessions.
  • Alert on new modules loaded by modprobe or kmod that match asus_rog_ryujin on servers and workstations without the physical cooler.
  • Correlate hwmon sysfs reads with process lineage to identify unexpected consumers of sensor data.

How to Mitigate CVE-2026-97538

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced by commits 1caa5f9 and 8042312 or upgrade to a distribution kernel that includes them.
  • On systems without ASUS ROG Ryujin hardware, blacklist the asus_rog_ryujin module to prevent it from binding to spoofed USB devices.
  • Restrict physical and virtual USB access on multi-tenant hosts, including USB passthrough configurations for virtual machines and containers.

Patch Information

The fix adds explicit length validation to rog_ryujin_raw_event() for the HID response header and for each response type before any payload field is parsed. Reports shorter than the required length are rejected rather than parsed. Patch details are available at Kernel Git Commit 1caa5f9 and Kernel Git Commit 8042312.

Workarounds

  • Unload the asus_rog_ryujin module with modprobe -r asus_rog_ryujin on hosts that do not require it.
  • Add a modprobe.d blacklist entry to prevent automatic loading at boot.
  • Enforce USB device allow-listing through tools such as USBGuard to block unauthorized HID devices.
bash
# Configuration example
# Prevent the vulnerable driver from loading on hosts without ROG Ryujin hardware
echo 'blacklist asus_rog_ryujin' | sudo tee /etc/modprobe.d/blacklist-asus-rog-ryujin.conf
sudo modprobe -r asus_rog_ryujin 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.