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 ADDCF3A1A29 for ; Sun, 19 Jul 2026 15:01:48 +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=1784473309; cv=none; b=FRw5BTR5Er3Q5b1dkYeO96UKC7zzv98iTaUhUB2ep4rV4yyUTz0dHcsRwSITE/gpE9oaz2ST+FUSrxSvJxVIMrNKrMggW5XyLfqfUZXUovV+a+EHJO6zyS9NHwyhOUAC2k7K+raqmKyanozU8aLFtXWYObX9636PHZqC7PgE5V4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473309; c=relaxed/simple; bh=9nuZlIrg/rwF0YsrnSENpGEyaOUQskiPeC6JwzOyH3Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YJPOrfLIMC6oS86ma6BTiEMGn8Jd5s+yHYdEvn+jCOuCEGNvcOS6iei0sFspgLRrZv8V6DrOR9jIwpITmPSz3vtMuYPFPYeZnrRZtoY4j+FJ1Jft1HWtBEovSSZSaRcVSfZCrgTvw0NpRuXi5DrEG2nWvHNOoTQxhlMIcr1V+HI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ECVUIRkv; 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="ECVUIRkv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D4BE1F000E9; Sun, 19 Jul 2026 15:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473308; bh=dn2VOg/O+kx8d/dtcTJtzSyAcLKAx1WaoeVX0lw05cQ=; h=From:To:Cc:Subject:Date:Reply-To; b=ECVUIRkvoBJeeWGDpYTieg/hiK0tFygRWGbUYlgfcZWs2LG+hnkW4MCYkOyYYcVeM AKhMIMsTpwYLduD11y1/mBO7yBgkfi82rgVfuyxd6KyFAq+TEwh4yxFa64LtXLFvfI yjCCd8d4go44BOjkexvQnwHYw/UbBnfTDjV3VWpc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63970: vsock/virtio: bind uarg before filling zerocopy skb Date: Sun, 19 Jul 2026 16:57:10 +0200 Message-ID: <2026071959-CVE-2026-63970-1142@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=2702; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PCwbRNmlxKuW1bvSJ0bv2r8K8G+jDLxRI1nuwxG3kH8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT+v/r7Nmey0szMUXuyQgMZR7h8Tu1buTTVrduRY2l /ltWrmrI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZiw8Iwm0WCR9t05eGqsJSX Cm0hHp/kmMRXMizY4vOs5/RBlpzLPauyLpicV1in/l0WAA== 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: bind uarg before filling zerocopy skb virtio_transport_send_pkt_info() allocates or reuses the zerocopy uarg before entering the send loop, but virtio_transport_alloc_skb() still fills the skb before it inherits that uarg. When fixed-buffer vectored zerocopy hits MAX_SKB_FRAGS, io_sg_from_iter() may partially attach managed frags and return -EMSGSIZE. The rollback path call kfree_skb() to free an skb that carries SKBFL_MANAGED_FRAG_REFS but no uarg, so skb_release_data() falls through to ordinary frag unref. Pass the uarg into virtio_transport_alloc_skb() and bind it immediately before virtio_transport_fill_skb(). This keeps control or no-payload skbs untouched while ensuring success and rollback share one lifetime rule. The Linux kernel CVE team has assigned CVE-2026-63970 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 581512a6dc939ef122e49336626ae159f3b8a345 and fixed in 6.18.35 with commit b62e2b2b4a50953ca952f3cd3f77dd62dc50fd5d Issue introduced in 6.7 with commit 581512a6dc939ef122e49336626ae159f3b8a345 and fixed in 7.0.12 with commit 5d317573f1d48e76cce5fb6250452b6e4102e0fb Issue introduced in 6.7 with commit 581512a6dc939ef122e49336626ae159f3b8a345 and fixed in 7.1 with commit 1e584c304cfb94a759417130b1fc6d30b30c4cce 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-63970 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/b62e2b2b4a50953ca952f3cd3f77dd62dc50fd5d https://git.kernel.org/stable/c/5d317573f1d48e76cce5fb6250452b6e4102e0fb https://git.kernel.org/stable/c/1e584c304cfb94a759417130b1fc6d30b30c4cce