Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 927F849481D for ; Fri, 25 Sep 2026 10:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332325; cv=none; b=U8i+fiLbQ+Pp4dXLgvEz1NcArvfd9lZmlZo/GpWaQnKicLzxSYG63YzCD9+rza/IrD7YkN61pyQBjgC81JFNiKU0hSozLX+njanuRGmcNCfdGDFq345LjJH5KnnaP71pjbJnbsRHfx7hTRgjpvu6avnHoGaAjHfsv2gWuEmKpBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332325; c=relaxed/simple; bh=aYU57i03IJXAVBlbORyl1gJ3SX13RjPI/yy+feE3W0k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jYmenyIkQctbwndPm3Xbc0kdEmQLyAxWwHLFlT+U9nCWPi6oD1Oo9MlQbk5yvf049dLqKWPqonf1at1e/MdQVPMTrEE4GOIyIpsAbNov0RNkAvPBiiGaGSiUkdvCuOszssjRrdOZAjizXe8OqMfHGTFN1l27gGkuq6woXoETIlg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NDuM9vxz; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NDuM9vxz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E808D1F000FF; Fri, 25 Sep 2026 10:32:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332324; bh=QSCGP05qYNm2lOn4GeopLrYieCeHtzctAC1nyhz7x3Q=; h=From:To:Cc:Subject:Date:Reply-To; b=NDuM9vxz5Vs5L0qRYbf3FxE1m5ra8VpyX7wOhGKbn2CDYHNjn8dpgUvMldb9wSGaM aNQPuT1EnsdIxtAVjmQzdS3C5MiiVy5E3lZ20fGfWv2zjD9V56Ny3kv2PD6v/0PUqa 6dmNj3qg37301lC5XvKbtew3fVQ+MiWooKJSUf5M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97990: vdpa_sim_net: check TX pull result before RX copy Date: Fri, 25 Sep 2026 12:24:53 +0200 Message-ID: <2026092521-CVE-2026-97990-fd63@gregkh> X-Mailer: git-send-email 2.55.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=2721; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wIONI+rlVMTXmHoZlUiTfspQaPAOPrAhdCbEF6GUcOE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvGNl+z3XeSxR02M5VJNrcNL/aI6hygZfnRwXg1mK/ xlrix50xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQY+BkWbDh1+1nAjj2Kk9xa 4kpOVuv1bdrky7DgqpzXhbDne6xtJl00Dv069ZtBBfNGAA== 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: vdpa_sim_net: check TX pull result before RX copy vringh_iov_pull_iotlb() returns a signed byte count. A failed TX pull is currently added to the unsigned byte counter and then passed as a size_t length to receive_filter() and vringh_iov_push_iotlb(). A negative error can therefore become a large length in the RX path. Handle non-positive pull results before every length use. Count the TX error and complete the consumed TX descriptor with zero bytes. I found this bug myself, though the patch was written with AI assistance. The Linux kernel CVE team has assigned CVE-2026-97990 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit cfe226892913a448e83e7a19db93862baa3cb99c and fixed in 6.12.111 with commit c001abcde865b74231da8f1412c3217dbf66781e Issue introduced in 5.19 with commit cfe226892913a448e83e7a19db93862baa3cb99c and fixed in 6.18.53 with commit 3af20238a09ca180d66623e3bed16b64e9975f39 Issue introduced in 5.19 with commit cfe226892913a448e83e7a19db93862baa3cb99c and fixed in 7.2.7 with commit 2bbf1c1f69991e28787e02b0a2f826289d5fc730 Issue introduced in 5.19 with commit cfe226892913a448e83e7a19db93862baa3cb99c and fixed in 7.3-rc3 with commit 0d195797a80b77f2ec56718cd26d3ee65d0093e8 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-97990 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/vdpa/vdpa_sim/vdpa_sim_net.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/c001abcde865b74231da8f1412c3217dbf66781e https://git.kernel.org/stable/c/3af20238a09ca180d66623e3bed16b64e9975f39 https://git.kernel.org/stable/c/2bbf1c1f69991e28787e02b0a2f826289d5fc730 https://git.kernel.org/stable/c/0d195797a80b77f2ec56718cd26d3ee65d0093e8