Description
In the Linux kernel, the following vulnerability has been resolved:

vdpa_sim_blk: reject out-of-range sector starts

vdpasim_blk_check_range() logs an invalid start sector but continues
validating the request. The subsequent unsigned capacity subtraction can
underflow and let an out-of-range buffer offset reach the data path.

The invalid offset is used by three request paths. VIRTIO_BLK_T_OUT
copies guest data to blk->buffer + offset through
vringh_iov_pull_iotlb(), causing an out-of-bounds write in
_copy_from_iter() or memcpy(). VIRTIO_BLK_T_IN copies from
blk->buffer + offset to the guest through vringh_iov_push_iotlb(),
causing an out-of-bounds read in _copy_to_iter().
VIRTIO_BLK_T_WRITE_ZEROES passes blk->buffer + offset to memset(),
causing an out-of-bounds write.

Reject starts at or beyond the capacity before the subtraction. Treat the
capacity boundary as invalid because the IN and OUT paths round byte counts
down to sectors for validation but later copy the original byte counts. A
sub-sector request at the capacity boundary would otherwise still access
past the end of the buffer.

I found this bug myself, though the patch was written with AI assistance.
Published: 2026-09-25
Score: 7.8 High
EPSS: n/a
KEV: No
Impact: Kernel out‑of‑bounds read/write that can lead to privilege escalation to root
Action: Apply Update
AI Analysis

Impact

The vdpa_sim_blk driver performs a range check for virtual block device requests, but when the start sector is invalid, the check logs a warning and proceeds with validation. The subsequent unsigned subtraction can underflow, allowing an offset value larger than the allocated buffer to be computed. This faulty offset is then used by three request types—VIRTIO_BLK_T_OUT, VIRTIO_BLK_T_IN, and VIRTIO_BLK_T_WRITE_ZEROES—resulting in out‑of‑bounds writes or reads that corrupt kernel memory.

Affected Systems

All Linux kernel implementations that include the vdpa_sim_blk driver and have not yet incorporated the patch that rejects out‑of‑range sector starts are affected. The vulnerability spans all distributions using the upstream Linux kernel where the commit introducing the fix is not present. Any system exposing a virtio‑blk interface to guest virtual machines is potentially vulnerable.

Risk and Exploitability

The CVSS score is not provided and the EPSS is unavailable, so the concrete risk assessment relies on the severity implied by a kernel memory corruption. The vulnerability is not yet listed in CISA’s KEV catalog, indicating no confirmed widespread exploitation. Nonetheless, the attack vector is likely from a guest virtual machine communicating with a virtio‑blk device; an attacker could craft a request that uses a start sector beyond the device capacity, causing the kernel to read or write past the buffer limit and potentially achieve privilege escalation to the host.

Generated by OpenCVE AI on September 25, 2026 at 14:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patched vdpa_sim_blk driver.
  • If a distribution’s kernel update is not yet available, apply the vendor‑provided patch commit (for example, merge the changes from commit 0a8693f00c408d85f086ad85d29e7030bf1e2055) to the kernel source and rebuild.
  • Restrict trusted workloads from using virtio‑blk devices or apply hypervisor isolation policies that separate untrusted guests from the host’s virtio‑blk backend.

Generated by OpenCVE AI on September 25, 2026 at 14:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Fri, 25 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787
CWE-788

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: vdpa_sim_blk: reject out-of-range sector starts vdpasim_blk_check_range() logs an invalid start sector but continues validating the request. The subsequent unsigned capacity subtraction can underflow and let an out-of-range buffer offset reach the data path. The invalid offset is used by three request paths. VIRTIO_BLK_T_OUT copies guest data to blk->buffer + offset through vringh_iov_pull_iotlb(), causing an out-of-bounds write in _copy_from_iter() or memcpy(). VIRTIO_BLK_T_IN copies from blk->buffer + offset to the guest through vringh_iov_push_iotlb(), causing an out-of-bounds read in _copy_to_iter(). VIRTIO_BLK_T_WRITE_ZEROES passes blk->buffer + offset to memset(), causing an out-of-bounds write. Reject starts at or beyond the capacity before the subtraction. Treat the capacity boundary as invalid because the IN and OUT paths round byte counts down to sectors for validation but later copy the original byte counts. A sub-sector request at the capacity boundary would otherwise still access past the end of the buffer. I found this bug myself, though the patch was written with AI assistance.
Title vdpa_sim_blk: reject out-of-range sector starts
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T14:41:48.545Z

Reserved: 2026-09-25T10:18:58.209Z

Link: CVE-2026-97991

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:27.220

Modified: 2026-09-25T15:18:03.453

Link: CVE-2026-97991

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T14:30:14Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write

  • CWE-788

    Access of Memory Location After End of Buffer