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

CVE-2026-97952: Linux Kernel sunvdc Driver DoS Vulnerability

CVE-2026-97952 is a denial of service flaw in the Linux kernel sunvdc driver that causes resource exhaustion through LDC mapping leaks. This post covers the technical details, affected systems, and mitigation.

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

CVE-2026-97952 is a resource leak vulnerability in the Linux kernel's sunvdc virtual disk client driver for SPARC Logical Domains (LDoms). The flaw lives in __send_request(), where failed descriptor transmissions leave Logical Domain Channel (LDC) cookies mapped and descriptors stuck in the VIO_DESC_READY state. Each failure permanently consumes entries from the fixed 8192-entry per-channel map table. Under sustained load, fragmentation causes multi-segment I/O requests to fail, eventually rendering the virtual disk inoperable until reboot.

Critical Impact

Repeated __vdc_tx_trigger() failures exhaust the LDC map table, causing permanent I/O errors on SPARC virtual disks that only a reboot can clear.

Affected Products

  • Linux kernel sunvdc driver (SPARC virtual disk client)
  • Linux stable branches referenced in the upstream patches (0c6da21, 57835952, ab81a5c1, f3322baa)
  • SPARC Logical Domains guest environments using virtual disks

Discovery Timeline

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

Technical Details for CVE-2026-97952

Vulnerability Analysis

The sunvdc driver sends block I/O requests to the service domain through an LDC channel. In __send_request(), the driver maps the request's scatter-gather pages into the channel's map table using ldc_map_sg(), populates the descriptor, and marks it VIO_DESC_READY. The driver then rings the doorbell by calling __vdc_tx_trigger().

When __vdc_tx_trigger() fails, the error path only logs a message. The descriptor remains in the READY state and the mapped cookies are never released. The driver normally frees mappings in vdc_end_one() when the peer completes the descriptor, but a descriptor whose doorbell never fired will never complete. Because dr->prod is not advanced on failure, the reset path vdc_requeue_inflight() walks the range [cons, prod) and skips the orphaned entry entirely.

Root Cause

The root cause is missing rollback logic on the send failure path. Since commit a11f6ca9aef9 changed the driver to stop spinning on -EAGAIN from vio_ldc_send(), trigger failures occur in practice under load. Every resulting I/O error leaks one request's worth of map table entries. Retry-based recovery compounds the problem: requeuing on -EAGAIN remaps the pages on each attempt, overwriting desc->cookies and orphaning the previous mapping.

Attack Vector

The vulnerability is triggered by legitimate I/O load against SPARC virtual disks, not by crafted attacker input. However, a local workload that generates heavy block I/O on an affected guest can intentionally exhaust the fixed-size 8192-entry map table. As the table drains, large multi-segment requests fail first due to fragmentation, until ldc_map_sg() fails permanently and the disk becomes unusable until reboot. This produces a denial-of-service condition against storage availability.

No verified public exploitation code exists. The behavior was first observed in October 2025 during testing of a requeue-based recovery approach.

Detection Methods for CVE-2026-97952

Indicators of Compromise

  • Kernel log entries from sunvdc reporting __vdc_tx_trigger() send failures or repeated -EAGAIN returns from vio_ldc_send()
  • ldc_map_sg() failures for large multi-segment requests while smaller requests still succeed
  • Virtual disk I/O errors on SPARC LDoms guests that persist until reboot

Detection Strategies

  • Monitor kernel ring buffer and journalctl output for sunvdc error messages indicating trigger or mapping failures
  • Baseline normal sunvdc error rates and alert on sustained increases that correlate with high I/O load
  • Track block I/O error counters on virtual disks and correlate with dmesg events to identify progressive degradation

Monitoring Recommendations

  • Centralize SPARC guest kernel logs in a SIEM for pattern-based alerting on sunvdc and LDC subsystem errors
  • Alert on virtual disk request failure rates that grow over time without recovering, which indicates map table exhaustion
  • Correlate pre-reboot I/O failure clusters with workload spikes to confirm exposure to this defect

How to Mitigate CVE-2026-97952

Immediate Actions Required

  • Apply the upstream kernel patches that unmap LDC cookies and mark the descriptor FREE when the send fails
  • Identify SPARC LDoms guests running vulnerable sunvdc versions and schedule maintenance windows for patched kernels
  • Reboot any guest already exhibiting persistent virtual disk I/O errors to reset the LDC channel and map table

Patch Information

Upstream fixes are available in the following kernel commits: Kernel Patch 0c6da21, Kernel Patch 57835952, Kernel Patch ab81a5c1, and Kernel Patch f3322baa. The fix rolls back on failure by unmapping cookies, resetting the descriptor to FREE, and clearing the request entry. When the trigger fails with -ENOTCONN, the port has already been reset and no rollback is performed on the stale descriptor.

Workarounds

  • Reduce sustained concurrent I/O load against SPARC virtual disks to lower the frequency of __vdc_tx_trigger() failures
  • Schedule periodic reboots of affected guests to reclaim leaked map table entries until patches are deployed
  • Avoid retry logic in user-space workloads that would amplify requeue behavior and accelerate map table drainage
bash
# Verify running kernel and check for sunvdc errors on SPARC guests
uname -r
dmesg | grep -iE 'sunvdc|ldc_map_sg|vdc_tx_trigger'

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.