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 894C138B for ; Tue, 19 Nov 2024 01:33:36 +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=1731980016; cv=none; b=AzpLvWxzuRYTkdOpQyTBP7sMFzFQp5SxO1AC1P3FTk4AP0Bj8KadWObTMMsucSjHF1EP7eKSF6H0cwzBLLQO6BLZvGRRSyrEJ0xGOKcb1EzD1THgwORN7dSAw0hSp9jUu6kRiXdvdcRFYP7KCPBWFgGk6+RaMamHIVkWvqS2k7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731980016; c=relaxed/simple; bh=xvBCu/uORWkQSDPPTxNlTHZ4EYncJOGZXeqBgrzTgGo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KgUgj7cR25T5jFx15uhDuRgV8dU2SGoWCESFbZNZ5nelbXiMilF5kLK8RVPkaZDDwKNPnnl6BdPKMFVTsgI/Dpx2tqzvv/wAhoYo0CC0LNIndPrwN2qNZwl+VzN3q9qUhHII3Fu72aWZtyfXir8mEqSuqJbGa9R/kk588lEjR34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JQWH/dyo; 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="JQWH/dyo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DA32C4CED0; Tue, 19 Nov 2024 01:33:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731980016; bh=xvBCu/uORWkQSDPPTxNlTHZ4EYncJOGZXeqBgrzTgGo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JQWH/dyo0gru4QYI53BRyAuJSMY+61aurxCoOlxqQGLtV818GxZ3fAlXNa47+oC/F zMTxpRb/dNM4LOoG9Y4j1EPlte0ySyEM+VKFp0KRo9sYzI235Zm7Fv8IZX6qcOgABY Vahp2dEUzf6jihTFDOENdfIFPbV16TUwe626ZBoA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50264: vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans Date: Tue, 19 Nov 2024 02:32:19 +0100 Message-ID: <2024111920-CVE-2024-50264-0889@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2911; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xvBCu/uORWkQSDPPTxNlTHZ4EYncJOGZXeqBgrzTgGo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOnWr5ascmfKeSjguXPyvAmqPIsnWSzt2vx0dagba7ztl z/MlU89OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi6j0Ms9nyhY568Dk6btxi sUrZfccjR/WNExgWTDkV4MG5kzXCbmnr2/nN5X6hskdKAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans During loopback communication, a dangling pointer can be created in vsk->trans, potentially leading to a Use-After-Free condition. This issue is resolved by initializing vsk->trans to NULL. The Linux kernel CVE team has assigned CVE-2024-50264 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 4.19.324 with commit 5f092a4271f6 Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 5.4.286 with commit fd8ae346692a Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 5.10.230 with commit eb1bdcb7dfc3 Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 5.15.172 with commit 2a6a4e69f255 Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 6.1.117 with commit 44d29897eafd Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 6.6.61 with commit b110196fec44 Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 6.11.8 with commit 5f970935d099 Issue introduced in 4.8 with commit 06a8fc78367d and fixed in 6.12 with commit 6ca575374dd9 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-2024-50264 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/5f092a4271f6dccf88fe0d132475a17b69ef71df https://git.kernel.org/stable/c/fd8ae346692a56b4437d626c5460c7104980f389 https://git.kernel.org/stable/c/eb1bdcb7dfc30b24495ee4c5533af0ed135cb5f1 https://git.kernel.org/stable/c/2a6a4e69f255b7aed17f93995691ab4f0d3c2203 https://git.kernel.org/stable/c/44d29897eafd0e1196453d3003a4d5e0b968eeab https://git.kernel.org/stable/c/b110196fec44fe966952004bd426967c2a8fd358 https://git.kernel.org/stable/c/5f970935d09934222fdef3d0e20c648ea7a963c1 https://git.kernel.org/stable/c/6ca575374dd9a507cdd16dfa0e78c2e9e20bd05f