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

CVE-2026-97990: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-97990 is a buffer overflow vulnerability in the Linux kernel vdpa_sim_net component that can cause large incorrect lengths in the RX path. This article covers the technical details, affected versions, impact, 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-97990 Overview

CVE-2026-97990 is a Linux kernel vulnerability in the vdpa_sim_net virtio data path acceleration (vDPA) network simulator. The flaw stems from improper handling of the signed return value from vringh_iov_pull_iotlb() during transmit (TX) descriptor processing. A failed TX pull returns a negative error code that is then added to an unsigned byte counter and passed as a size_t length to receive_filter() and vringh_iov_push_iotlb(). The negative value becomes a very large positive length in the receive (RX) path, enabling out-of-bounds memory access.

Critical Impact

A local, low-privileged user interacting with the vDPA simulator can trigger memory corruption or kernel instability by forcing a TX pull failure that converts into an oversized RX copy length.

Affected Products

  • Linux kernel versions containing the vdpa_sim_net driver prior to the fix commits
  • Linux stable branches patched via commits 0d195797, 2bbf1c1f, 3af20238, and c001abcd
  • Systems with CONFIG_VDPA_SIM_NET enabled and the simulator loaded

Discovery Timeline

  • 2026-09-25 - CVE-2026-97990 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97990

Vulnerability Analysis

The vdpa_sim_net driver simulates a vDPA network device for development and testing. During packet processing, the driver calls vringh_iov_pull_iotlb() to pull data from a TX descriptor into a buffer. The function returns a signed ssize_t where negative values signal an error condition such as a translation failure or exhausted iotlb mapping.

The vulnerable code adds this signed return value directly to an unsigned byte counter without checking for a negative result. The accumulated count is then passed as a size_t length argument to downstream functions in the RX forwarding path. Because size_t is unsigned, a small negative error such as -EINVAL is reinterpreted as a value near the maximum of the unsigned range.

The oversized length flows into receive_filter() and vringh_iov_push_iotlb(), where it drives read and write operations on simulator buffers. This produces an out-of-bounds read and write condition inside kernel memory, which can corrupt adjacent kernel structures or trigger a kernel panic.

Root Cause

The root cause is a signed-to-unsigned type confusion combined with missing error validation. The upstream fix enforces a check for non-positive pull results before any length is consumed. On failure, the patch counts the TX error, completes the consumed TX descriptor with zero bytes, and skips the RX copy entirely.

Attack Vector

Exploitation requires local access with permission to interact with the vDPA simulator interface. An attacker with access to the simulated device queue can craft TX descriptors or iotlb mappings that force vringh_iov_pull_iotlb() to fail. The resulting negative return value is converted into a large unsigned length, driving kernel memory corruption in the RX path. The vulnerability does not require user interaction and executes within kernel context, enabling scope change beyond the attacker's initial privilege level.

No verified public proof-of-concept code is available. Refer to the upstream patches for the exact code paths: Linux Kernel Commit 0d19579 and Linux Kernel Commit 2bbf1c1.

Detection Methods for CVE-2026-97990

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing vdpa_sim_net, vringh_iov_pull_iotlb, or receive_filter in dmesg output
  • KASAN or SLUB corruption reports naming vDPA simulator buffers or iotlb regions
  • Spikes in TX error counters on simulated vDPA interfaces coinciding with abnormal RX activity

Detection Strategies

  • Audit loaded kernel modules for vdpa_sim_net on hosts where the simulator is not required and flag unexpected presence
  • Enable KASAN on test and staging kernels to surface out-of-bounds reads and writes originating in the vDPA simulator path
  • Monitor kernel ring buffer logs for recurring warnings or BUG entries referencing vringh helpers

Monitoring Recommendations

  • Forward kernel logs to a centralized logging platform and alert on kernel crash signatures tied to vDPA components
  • Track module load events for vdpa_sim, vdpa_sim_net, and vhost_vdpa using auditd rules
  • Correlate vDPA module activity with low-privilege user sessions to identify abnormal interaction patterns

How to Mitigate CVE-2026-97990

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable tree commits as soon as they are available in your distribution
  • Unload the vdpa_sim_net module on production hosts where it is not required using modprobe -r vdpa_sim_net
  • Restrict access to /dev/vhost-vdpa-* character devices to trusted administrative users only

Patch Information

The fix is distributed across four stable kernel commits. Each commit adds a check for a non-positive return from vringh_iov_pull_iotlb() before the value is added to the byte counter or passed to the RX path. On error the TX descriptor is completed with a zero byte count and the error is tallied. See Linux Kernel Commit 3af2023 and Linux Kernel Commit c001abc for the backports to supported stable branches.

Workarounds

  • Blacklist the vdpa_sim_net module via /etc/modprobe.d/ on systems that do not use the simulator for development or testing
  • Enforce strict file permissions and SELinux or AppArmor policies on vDPA device nodes to prevent low-privilege access
  • Disable CONFIG_VDPA_SIM_NET at kernel build time for production images that have no requirement for the simulator
bash
# Configuration example
# Prevent the vulnerable module from loading at boot
echo "blacklist vdpa_sim_net" | sudo tee /etc/modprobe.d/blacklist-vdpa-sim-net.conf

# Unload the module from a running system
sudo modprobe -r vdpa_sim_net

# Verify the module is no longer loaded
lsmod | grep vdpa_sim_net

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.