Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5F97426EA7 for ; Wed, 4 Feb 2026 16:19:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770221959; cv=none; b=t2YKkCyzgrFNp9IruLpD5g+V7N4mtnikLO/qH7ZiXErY3SpnqjflbWBMguZhfMpdvHOy8i17g36NjRD4QTfE45SmQ68WLTrSQSiAwVBFza3vJxhyzsPQbZ29FInKiHl22WtQfnAvjFc4OWogrU0bWcaPQbndXidzEAe6Oachxlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770221959; c=relaxed/simple; bh=FdLenfMwVifGl37EMWrs0+7Ei/KMDUw1w4J7/XQf0zo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UzkCGC9Jw4uKMVhGOrLsU6/OAE/+Y6/ERbm+dUnQw0x52ylteQsgJW1hW7Z7Dt99DuX299g6jWw2TmFHKaEYP2ymjAnR5t7AVe6xjOvmHbkjrZTXa60XUX1MSZfkE0RozF1e4q9RCu4AOnQ5aLdRUgwt0/Xvt4lGUffIBeloepo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1og4Sjgz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1og4Sjgz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 544FEC4CEF7; Wed, 4 Feb 2026 16:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770221958; bh=FdLenfMwVifGl37EMWrs0+7Ei/KMDUw1w4J7/XQf0zo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=1og4Sjgz/r15eUdpWk5UZhYqhtNO6wtwpo+V+rV9qZ55tghUhEFDxyrn/aWUkCfUs 4veXZHNFbss2eAgLN4tq3Hp6c3YTLSGOb3EBjiUnYtrFk/KhKQ3ryaDzgTNRcyutAI Iio/5a/ifsBIYkwIdQKeIClbjQcGcedkC9HWCBv0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23069: vsock/virtio: fix potential underflow in virtio_transport_get_credit() Date: Wed, 4 Feb 2026 17:14:28 +0100 Message-ID: <2026020417-CVE-2026-23069-d026@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2874; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=j73T2rfdVY/fo+SZq/FgS/gjvx04ACDh2lCHW1WAozY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBZEHbzlZ3WS8XxnwY96/v42bpj1cGL2K5bH5U1HdM 1MVK35+74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJqEszLDh2rs9P8szRPNs4 i/xL/dYGjf9KuxkWLNknxPBo5sNShc3/v61uP6IRfSVaAwA= 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: vsock/virtio: fix potential underflow in virtio_transport_get_credit() The credit calculation in virtio_transport_get_credit() uses unsigned arithmetic: ret = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); If the peer shrinks its advertised buffer (peer_buf_alloc) while bytes are in flight, the subtraction can underflow and produce a large positive value, potentially allowing more data to be queued than the peer can handle. Reuse virtio_transport_has_space() which already handles this case and add a comment to make it clear why we are doing that. [Stefano: use virtio_transport_has_space() instead of duplicating the code] [Stefano: tweak the commit message] The Linux kernel CVE team has assigned CVE-2026-23069 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 6.6.122 with commit 02f9af192b98d15883c70dd41ac76d1b0217c899 Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 6.12.68 with commit d05bc313788f0684b27f0f5b60c52a844669b542 Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 6.18.8 with commit ec0f1b3da8061be3173d1c39faaf9504f91942c3 Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 6.19-rc7 with commit 3ef3d52a1a9860d094395c7a3e593f3aa26ff012 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-23069 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: net/vmw_vsock/virtio_transport_common.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/02f9af192b98d15883c70dd41ac76d1b0217c899 https://git.kernel.org/stable/c/d05bc313788f0684b27f0f5b60c52a844669b542 https://git.kernel.org/stable/c/ec0f1b3da8061be3173d1c39faaf9504f91942c3 https://git.kernel.org/stable/c/3ef3d52a1a9860d094395c7a3e593f3aa26ff012