# CVE-2026-97991: vdpa\_sim\_blk: reject out-of-range sector starts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.12% (percentile 1, 2026-11-28)
- **Published:** 2026-09-25T10:23:23.863Z
- **Modified:** 2026-10-19T10:17:50.470Z

## Who should check

- Anyone running Linux \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 36ef4d8527f71648f00347f6ba759f0b7e5e0977; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 000c6300776ceaf6b715780113f4275b1be4195b; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 14acb0d44b7d90a077beb7b92b444b90bafda9d9; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< a8a1413a2cfdbedc896249f461d6d92efbbfe21f; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 0a8693f00c408d85f086ad85d29e7030bf1e2055
- Anyone running Linux 5.13

## 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.

## Affected and fixed versions

- Linux: \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 36ef4d8527f71648f00347f6ba759f0b7e5e0977; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 000c6300776ceaf6b715780113f4275b1be4195b; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 14acb0d44b7d90a077beb7b92b444b90bafda9d9; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< a8a1413a2cfdbedc896249f461d6d92efbbfe21f; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 0a8693f00c408d85f086ad85d29e7030bf1e2055 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 0a8693f00c408d85f086ad85d29e7030bf1e2055 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97991. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97991.md
Affected: Linux >= 7d189f617f83f780915b737896a696ff605bd19f, < 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018; >= 7d189f617f83f780915b737896a696ff605bd19f, < 36ef4d8527f71648f00347f6ba759f0b7e5e0977; >= 7d189f617f83f780915b737896a696ff605bd19f, < 000c6300776ceaf6b715780113f4275b1be4195b; >= 7d189f617f83f780915b737…
Fixed in: Linux 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018, Linux 36ef4d8527f71648f00347f6ba759f0b7e5e0977, Linux 000c6300776ceaf6b715780113f4275b1be4195b, Linux 14acb0d44b7d90a077beb7b92b444b90bafda9d9, Linux 0a8693f00c408d85f086ad85d29e7030bf1e2055

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97991 being exploited?

There is no confirmed exploitation: CVE-2026-97991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.12% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-97991?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-97991?

Linux \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 36ef4d8527f71648f00347f6ba759f0b7e5e0977; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 000c6300776ceaf6b715780113f4275b1be4195b; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 14acb0d44b7d90a077beb7b92b444b90bafda9d9; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< a8a1413a2cfdbedc896249f461d6d92efbbfe21f; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf; \>= 7d189f617f83f780915b737896a696ff605bd19f, \< 0a8693f00c408d85f086ad85d29e7030bf1e2055; Linux 5.13.

### Is there a fix for CVE-2026-97991?

Yes. Fixed in Linux 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018, Linux 36ef4d8527f71648f00347f6ba759f0b7e5e0977, Linux 000c6300776ceaf6b715780113f4275b1be4195b, Linux 14acb0d44b7d90a077beb7b92b444b90bafda9d9, Linux 0a8693f00c408d85f086ad85d29e7030bf1e2055. Upgrade Linux to 0a8693f00c408d85f086ad85d29e7030bf1e2055 or later.

### How do I check if I'm affected by CVE-2026-97991?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018>
- other: <https://git.kernel.org/stable/c/36ef4d8527f71648f00347f6ba759f0b7e5e0977>
- other: <https://git.kernel.org/stable/c/000c6300776ceaf6b715780113f4275b1be4195b>
- other: <https://git.kernel.org/stable/c/14acb0d44b7d90a077beb7b92b444b90bafda9d9>
- other: <https://git.kernel.org/stable/c/a8a1413a2cfdbedc896249f461d6d92efbbfe21f>
- other: <https://git.kernel.org/stable/c/d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf>
- other: <https://git.kernel.org/stable/c/0a8693f00c408d85f086ad85d29e7030bf1e2055>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97991>

HTML: <https://flawdb.com/CVE-2026-97991> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97991>
