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=1792759498; b=5EdG7UpUSIXMNXw7uzsIttUSPACAjw+qOMMYuV+PshseVI6Kzk2rryPLKEgJvhL3ETA/ orZdVZU2iwC3NRm/r8K90qJwJVdf7EW6p9l70Ytn8c0TzLOWrBrb5DmqOEzt7nApgjl6D ImnR5+vdf/3UWb7oJA4RJXAlvqVXYuixTyeyu6pJJHPsOBUyYehdWwtko/2kSOps9Fu4O hvvwbmGJAVhgTQqrNXRHTdvq3rvq4y5RccaOMFbEN2tD/6QpsT/j23emiIdhi0+kRy2Hh tcgiHBlGWE/e6EYTUC8eIe9rVS9NB9H1Ah6senPFeiwBPmF8ETEg4IeE1RVlpFQpMqQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759498; 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=5V5MkulIpUxQuzDFeWZHUSAljcIO5AjtWLn5P6xFqwU=; b=poDZnbVn5KYJnuXkzs1jOXbeqoVPvh9UE//Hi825nHso198svysiCsItjncQhnkwDa6u 5vc0xzKmol4sdUZLN5THg0ZZ44kEVfFyNqe2gclcSzNuI1WmzwyGhu/Yt0L3yi8ikOunf ACp+bJH1pvVv77870/7KWDM7XlF0D2DpBYbvnRwBhxtP9XXidTUjgl0Rg4eNXEQoeNfxi 8fPfRMkio4bFiOnmFTm9GYnJSTv+NQeZmg80nmiYd7jVnKLWYGTYXRxAQcEMI6PM2CF6d /JeN0kuoAVcHkrBLq7cwbGLNnrC0C2KrS+SY9ntkrGULlF99xmmoGTpTbPnxKKz9apQ== 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=0dT6f9lP; 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 A8C1B606A31D for ; Fri, 23 Oct 2026 12:44:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=0dT6f9lP Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3FA91F01828; Fri, 23 Oct 2026 12:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759497; bh=5V5MkulIpUxQuzDFeWZHUSAljcIO5AjtWLn5P6xFqwU=; h=From:To:Cc:Subject:Date:Reply-To; b=0dT6f9lPCqIZTfqxzqrwi2MwDqBKIDuQNNw5vQP8or/G6jTO0ZZINAu2F+L9nponI CqUHt0HCUPxskE/YHJYBFbvGntcQmtk3qr87xQo2gszf9LLSeISHXLe/qbOrE1SzNJ Co1vLuMdS3UZ1Sw/Z7Uc7KgiBva/Z9dGy24yUkF8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99057: xen/netfront: don't leak the skb when xennet_fill_frags() fails Date: Fri, 23 Oct 2026 14:20:59 +0200 Message-ID: <2026102330-CVE-2026-99057-9b53@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=3324; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=a00vI6LnUl5tkaHOUJ7pK6agXt7yfNqVI1rhNhPiepU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3Ay5dZWBRe/nn/JKXXT/nnXmXttVoY9+mTWc6Q74wZ e7gDklV74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJyP1kWDC/rqiCp09NMn62 nzTz2ttBGXwHPRjm8D2++Zj/3AK3S9lTTKLmeZqkf3A2BwA= 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: xen/netfront: don't leak the skb when xennet_fill_frags() fails When a response chain has more slots than fit in the skb's frags, xennet_fill_frags() returns an error and xennet_poll() jumps to its error path. That path moves what's left on tmpq to errq to be freed, but the skb being filled was already dequeued from tmpq, so it's never freed. Each chain that overflows leaks the skb and the pages attached to it as frags, and the backend decides how many slots it sends. Put the skb back on tmpq before taking the error path, like the xennet_set_skb_gso() failure just above it does. The Linux kernel CVE team has assigned CVE-2026-99057 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c and fixed in 6.6.160 with commit 5051df031144753d3e18862514969146b601d089 Issue introduced in 4.19 with commit ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c and fixed in 6.12.113 with commit 99011a11c97340ef7290df7dc199305c73fab2f2 Issue introduced in 4.19 with commit ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c and fixed in 6.18.57 with commit 086944c1c2cbb683543bc3ff08637847b03c8009 Issue introduced in 4.19 with commit ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c and fixed in 7.2.11 with commit 84e3ea6502b5f14ce8d499d0b6e0e38386274cf0 Issue introduced in 4.19 with commit ad4f15dc2c70b1de5e0a64d27335962fbc9cf71c and fixed in 7.3 with commit 93ccaf1c26e2133396173b76a071e59024daa622 Issue introduced in 4.4.159 with commit bd1468048aa3e2af865da92990539946d4483989 Issue introduced in 4.9.130 with commit 29a6193c0d74390c004808441061ac1812cf6f51 Issue introduced in 4.14.73 with commit 7eced4478f4ec6ff0a603ddfd6e24a5d3831fca7 Issue introduced in 4.18.11 with commit b73a161e9beff24bf1803ba393dff95a255268f9 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-99057 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/net/xen-netfront.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/5051df031144753d3e18862514969146b601d089 https://git.kernel.org/stable/c/99011a11c97340ef7290df7dc199305c73fab2f2 https://git.kernel.org/stable/c/086944c1c2cbb683543bc3ff08637847b03c8009 https://git.kernel.org/stable/c/84e3ea6502b5f14ce8d499d0b6e0e38386274cf0 https://git.kernel.org/stable/c/93ccaf1c26e2133396173b76a071e59024daa622