Drivers: hv: vmbus: Bounds check the shared ring buffer indices (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.17 % · centile 7 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Bounds check the shared ring buffer indices In a CoCo VM the host is untrusted. Since the VMBus ring buffer read and write indices live in shared memory, the guest has to treat both as potentially malicious. hv_ringbuffer_write() copies into the ring at write_index with no bounds checking, so the host can make the guest write packet data at any offset up to 4 GiB past the start of the ring buffer. read_index matters too: the available space derived from both indices is the only bound on how much is copied, and an out-of-range index can make it far larger than the ring. The fix is to validate both indices before use and to use the validated snapshot instead of re-accessing. For invalid indices, hv_ringbuffer_write() logs and returns -EIO. One re-read of write_index is left unchecked in this patch: hv_get_ring_bufferindices() fetches it again for the prev_indices trailer. The value is only returned to the host and is not used as an offset or length for indexing. Since this is not a security issue, it is addressed later in the series. Open-coding the bytes available arithmetic keeps the fix free of prerequisites; a later patch refactors it into a helper function.
Références
- https://git.kernel.org/stable/c/97b0aa62197b4ffb4d6a9c3905ce581ac9ec4a2c
- https://git.kernel.org/stable/c/c2657e0671fae29e66204da3201c0eb51dd42744
- https://git.kernel.org/stable/c/2955188276124e71d540dc7f5e9ce369b664b5a5
- https://git.kernel.org/stable/c/4bc0832dfbddec0440152ee3ec7e7dd31857e231
- https://git.kernel.org/stable/c/cdb9126a79b608b4331dfdc03beb05be8d2563be
- https://git.kernel.org/stable/c/f204bb7c5d10482067e095af567c391bc88ecb44
- https://git.kernel.org/stable/c/1611ce4dc6cbace75f27db6a559af8d391a06118
- https://git.kernel.org/stable/c/1d287c17cc5bfd6386fe0770999be410b248d021
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-130268
- GCVE · GCVE-0-2026-99544
Avis du CERT-FR
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < 97b0aa62197b4ffb4d6a9c3905ce581ac9ec4a2c affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < c2657e0671fae29e66204da3201c0eb51dd42744 affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < 2955188276124e71d540dc7f5e9ce369b664b5a5 affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < 4bc0832dfbddec0440152ee3ec7e7dd31857e231 affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < cdb9126a79b608b4331dfdc03beb05be8d2563be affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < f204bb7c5d10482067e095af567c391bc88ecb44 affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < 1611ce4dc6cbace75f27db6a559af8d391a06118 affectée : ≥ 3e7ee4902fe6996048f03433dd111426db3cfa92 < 1d287c17cc5bfd6386fe0770999be410b248d021 Autres versions : non affectée |
| Linux · Linux | affectée : 2.6.32 non affectée : ≥ 0 < 2.6.32 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |