Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100730; b=4lsmYALnT6a5COWmQfcoFXWx4/qlmeJ1o1lvYHJZ4vripIb0k3X1aoK56SuHfEZ91zAx LpNnM+ilb8YWwE4TaG3W5m3PmMW4mkdnXMH+cGPp/quShhoVSFJeKb8JL/alIPKu447nQ 5N2Fc+iO0uuqKr2pMCKQ9Lj2rbBc6bP4dbCxIETpcOkVtXNLRwwd5vgcUY2rZtNZwuh7h F/0oHm2nqLRfVDpjfvr2TzSh29OVRROOwAm0SQ9STqDGtNfKNrMtCCT/UAKxB8vrBx0Sm QjsvvhbjQpnvTvH6esIBYAsdxRsTHNeUVkC/851MMKMob2wRytUaGUhIe9iv4XgPlvg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100730; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Lvxi/UpakroPXiX+1mlh0thLz0r/7UKND07mC/5WYm8=; b=qoC0RG8x6gGQm+ln8ZNVs/Cw5hSKPdLkIGEfrq8ROPVvLcli6jAx6Mhg9RD2zi2XSk7b LMuZzqkAzveekboYUbBJFNNM4NZFAnXC3Yn3cOIXtIiXP2/e1gCINSpN06+inn3Nn/9FB yxT63+xyUMeYeudJJd2XQhzojZNd85crdd8wmoyMnW9ffBSe3qhGC/Wa3lB0LNQJ4VpP4 q4qyZ8K4DgVX5022e52ZVMIYUjESAgyZWzjU9RyacFgFkGcuaaPMNM9eIZ5zQgB1lnzGd NN2SVhFTW1Za2t7OUA9Y7zWq+KcXCpJrc2TjtmrHwAtir/ImGCQo9fR2dgXuueMT6MA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SFUsMJmF; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF1E5606A338 for ; Thu, 19 Nov 2026 15:05:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SFUsMJmF Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0C371F000C7; Thu, 19 Nov 2026 15:05:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100730; bh=Lvxi/UpakroPXiX+1mlh0thLz0r/7UKND07mC/5WYm8=; h=From:To:Cc:Subject:Date:Reply-To; b=SFUsMJmFZHag7/sgWhMyYJTGeUYjNrT1hyHTQ3FXo3JiBRf4YvMnkaTnU4i9DRBRo bx+CYXsCli3Uqz1pn5slqrG1z/URAfSh+S5booUMp8Ul6bLdivhkZCsuV6KJlefxXk dlFpBtvdL/KlRo5JQ7Akiy90cwvUTJoNHwPlRPmY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99544: Drivers: hv: vmbus: Bounds check the shared ring buffer indices Date: Thu, 19 Nov 2026 15:27:22 +0100 Message-ID: <2026111924-CVE-2026-99544-01ff@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3400; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=osa/GISRD+5aO6pUTuUybvcxhmeURocNojCJcl5fmmA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2WYoa/GtvbLPv/PpysYDJ+7/syvp3KtWsW7Szra9s +7XJyYu64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJTPnHsGBu+gSW5jaV6TfY 9l27Kryr2W9VCC/Dgguuq+7WPVquFjdF8V9a/eO9x9dynwEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99544 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.32 with commit 3e7ee4902fe6996048f03433dd111426db3cfa92 and fixed in 6.12.117 with commit cdb9126a79b608b4331dfdc03beb05be8d2563be Issue introduced in 2.6.32 with commit 3e7ee4902fe6996048f03433dd111426db3cfa92 and fixed in 6.18.61 with commit f204bb7c5d10482067e095af567c391bc88ecb44 Issue introduced in 2.6.32 with commit 3e7ee4902fe6996048f03433dd111426db3cfa92 and fixed in 7.3.2 with commit 1611ce4dc6cbace75f27db6a559af8d391a06118 Issue introduced in 2.6.32 with commit 3e7ee4902fe6996048f03433dd111426db3cfa92 and fixed in 7.4-rc1 with commit 1d287c17cc5bfd6386fe0770999be410b248d021 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99544 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/hv/ring_buffer.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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