{"id":"CVE-2026-99544","summary":"Drivers: hv: vmbus: Bounds check the shared ring buffer indices","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: vmbus: Bounds check the shared ring buffer indices\n\nIn a CoCo VM the host is untrusted. Since the VMBus ring buffer read and\nwrite indices live in shared memory, the guest has to treat both as\npotentially malicious.\n\nhv_ringbuffer_write() copies into the ring at write_index with no bounds\nchecking, so the host can make the guest write packet data at any offset\nup to 4 GiB past the start of the ring buffer. read_index matters too:\nthe available space derived from both indices is the only bound on how\nmuch is copied, and an out-of-range index can make it far larger than\nthe ring.\n\nThe fix is to validate both indices before use and to use the validated\nsnapshot instead of re-accessing. For invalid indices,\nhv_ringbuffer_write() logs and returns -EIO.\n\nOne re-read of write_index is left unchecked in this patch:\nhv_get_ring_bufferindices() fetches it again for the prev_indices\ntrailer. The value is only returned to the host and is not used as an\noffset or length for indexing. Since this is not a security issue, it is\naddressed later in the series.\n\nOpen-coding the bytes available arithmetic keeps the fix free of\nprerequisites; a later patch refactors it into a helper function.","modified":"2026-11-19T17:01:26.990217453Z","published":"2026-11-19T14:45:02.316Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99544.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1611ce4dc6cbace75f27db6a559af8d391a06118"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1d287c17cc5bfd6386fe0770999be410b248d021"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdb9126a79b608b4331dfdc03beb05be8d2563be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f204bb7c5d10482067e095af567c391bc88ecb44"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99544.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99544"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3e7ee4902fe6996048f03433dd111426db3cfa92"},{"fixed":"cdb9126a79b608b4331dfdc03beb05be8d2563be"},{"fixed":"f204bb7c5d10482067e095af567c391bc88ecb44"},{"fixed":"1611ce4dc6cbace75f27db6a559af8d391a06118"},{"fixed":"1d287c17cc5bfd6386fe0770999be410b248d021"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99544.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.32"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99544.json"}}],"schema_version":"1.9.2"}