# CVE-2026-99544: Drivers: hv: vmbus: Bounds check the shared ring buffer indices

- Severity: Critical 9.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-11-19T14:45:02.316Z
- Modified: 2026-11-23T08:17:56.383Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 3e7ee4902fe6996048f03433dd111426db3cfa92 before 97b0aa62197b4ffb4d6a9c3905ce581ac9ec4a2c; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before c2657e0671fae29e66204da3201c0eb51dd42744; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before 2955188276124e71d540dc7f5e9ce369b664b5a5; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before 4bc0832dfbddec0440152ee3ec7e7dd31857e231; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before cdb9126a79b608b4331dfdc03beb05be8d2563be; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before f204bb7c5d10482067e095af567c391bc88ecb44; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before 1611ce4dc6cbace75f27db6a559af8d391a06118; from 3e7ee4902fe6996048f03433dd111426db3cfa92 before 1d287c17cc5bfd6386fe0770999be410b248d021; 2.6.32 (not affected: before 2.6.32; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

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

## Sources

- CVE List: [CVE-2026-99544](https://www.cve.org/CVERecord?id=CVE-2026-99544), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99544](https://nvd.nist.gov/vuln/detail/CVE-2026-99544), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99544 · Whole record: https://cve.day/CVE-2026-99544.json · Rebuilt by cve.day 2026-11-25T22:59:52.110Z
