7.8

CVE-2026-97991

vdpa_sim_blk: reject out-of-range sector starts

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < 2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018
Status affected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < 36ef4d8527f71648f00347f6ba759f0b7e5e0977
Status affected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < 000c6300776ceaf6b715780113f4275b1be4195b
Status affected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < 14acb0d44b7d90a077beb7b92b444b90bafda9d9
Status affected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < a8a1413a2cfdbedc896249f461d6d92efbbfe21f
Status affected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf
Status affected
Version 7d189f617f83f780915b737896a696ff605bd19f
Version < 0a8693f00c408d85f086ad85d29e7030bf1e2055
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.13
Status affected
Version 0
Version < 5.13
Status unaffected
Version <= 5.15.*
Version 5.15.222
Status unaffected
Version <= 6.1.*
Version 6.1.189
Status unaffected
Version <= 6.6.*
Version 6.6.158
Status unaffected
Version <= 6.12.*
Version 6.12.111
Status unaffected
Version <= 6.18.*
Version 6.18.53
Status unaffected
Version <= 7.2.*
Version 7.2.7
Status unaffected
Version <= *
Version 7.3-rc3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.017
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.1 6
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/14acb0d44b7d90a077beb7b92b444b90bafda9d9
https://git.kernel.org/stable/c/a8a1413a2cfdbedc896249f461d6d92efbbfe21f
https://git.kernel.org/stable/c/d6dac17e20fd2abd0eb8c09d69fccf7426e12bcf
https://git.kernel.org/stable/c/0a8693f00c408d85f086ad85d29e7030bf1e2055
https://git.kernel.org/stable/c/000c6300776ceaf6b715780113f4275b1be4195b
https://git.kernel.org/stable/c/2ff2a8d063fdfa1e1479fb1fe2e3356a2ce89018
https://git.kernel.org/stable/c/36ef4d8527f71648f00347f6ba759f0b7e5e0977