CVE-2026-97991
vdpa_sim_blk: reject out-of-range sector starts
Check your servers for CVE-2026-97991
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97991 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.14% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7d189f617f83f780915b737896a696ff605bd19f, before 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018 affected from 7d189f617f83f780915b737896a696ff605bd19f, before 36ef4d8527f71648f00347f6ba759f0b7e5e0977 affected from 7d189f617f83f780915b737896a696ff605bd19f, before 000c6300776ceaf6b715780113f4275b1be4195b affected from 7d189f617f83f780915b737896a696ff605bd19f, before 14acb0d44b7d90a077beb7b92b444b90bafda9d9 affected from 7d189f617f83f780915b737896a696ff605bd19f, before a8a1413a2cfdbedc896249f461d6d92efbbfe21f affected from 7d189f617f83f780915b737896a696ff605bd19f, before d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf affected from 7d189f617f83f780915b737896a696ff605bd19f, before 0a8693f00c408d85f086ad85d29e7030bf1e2055
Other versions: unaffected
|
| Linux |
affected 5.13 unaffected before 5.13 unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97991 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97991
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97991
trivy image --scanners vuln IMAGE | grep CVE-2026-97991
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018 git.kernel.org
- https://git.kernel.org/stable/c/36ef4d8527f71648f00347f6ba759f0b7e5e0977 git.kernel.org
- https://git.kernel.org/stable/c/000c6300776ceaf6b715780113f4275b1be4195b git.kernel.org
- https://git.kernel.org/stable/c/14acb0d44b7d90a077beb7b92b444b90bafda9d9 git.kernel.org
- https://git.kernel.org/stable/c/a8a1413a2cfdbedc896249f461d6d92efbbfe21f git.kernel.org
- https://git.kernel.org/stable/c/d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf git.kernel.org
- https://git.kernel.org/stable/c/0a8693f00c408d85f086ad85d29e7030bf1e2055 git.kernel.org
Source: the record CVE-2026-97991 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse