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 18BE13002DB for ; Tue, 19 Aug 2025 17:23:20 +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=1755624200; cv=none; b=UikkqN9GS6I8LfX8m4vgR4P2C6wyG9Nx6K+NtVyMEIwSlzIk8urJ/PHbLsU6YbfqPHz1ZLbEAJ7OvdKFQxaTwfUhULo8CeoV0wh/JnbUdRCLr72228Vhhzl2Fm6Wp0wv84WuQO4BIEDpzuzhFWhcmgefBF9Fjb7PlRT8R0HXQlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755624200; c=relaxed/simple; bh=CZKW1ArQLWEHzBtHB4C4AUkl6Qg8Hu+tdJFNXVhNtRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I9wZwbBoqS0OAL6MBbpBqsW1gOgsNYExpKCSdl9f6IjZlYsVnKLvmlNM57VaaRWncZZaiBjAtx584bmAwOBMDzIr/uSD8ZUdnsfU15mvI4+YTzTZmLpvWz9P8SbFojU10g7IfImz2RsKZrIDcxcLg5kc8ACmf4W56gHCeBsUq1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dRvwjJSG; 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="dRvwjJSG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61408C4CEF1; Tue, 19 Aug 2025 17:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755624200; bh=CZKW1ArQLWEHzBtHB4C4AUkl6Qg8Hu+tdJFNXVhNtRw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dRvwjJSGHPG39x/eICZOU3BV/i4x+Ith8m+e3MTSfr9+PRYqrusRDTyPj350SPubE 3dhv8QhogyvvJcghS0zo/dpgi54NuLbci88iujdvr/eg2OjiHMFYSRtHUMwEMqvzRr aT93DPmSPlbsygNpbMZMzwpMWc37MqSiNrnicv9I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38611: vmci: Prevent the dispatching of uninitialized payloads Date: Tue, 19 Aug 2025 19:18:57 +0200 Message-ID: <2025081923-CVE-2025-38611-e9f6@gregkh> X-Mailer: git-send-email 2.50.1 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=3337; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nQMNEMPPr1fzMZ26jugXIEY13ckViPt2qTWmKQ1f/P0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlLNj54+vV975uk41duBy+eJ3f7VtuqFa+bjlqkr/o7Y Rd/3e7zdzpiWRgEmRhkxRRZvmzjObq/4pCil6HtaZg5rEwgQxi4OAVgIoUaDAumbyqY/eayq5JF umbCiwPvn22+sFKRYZ7y4acRM/c+OW/qV+brIKmZuObAsWUA 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: vmci: Prevent the dispatching of uninitialized payloads The reproducer executes the host's unlocked_ioctl call in two different tasks. When init_context fails, the struct vmci_event_ctx is not fully initialized when executing vmci_datagram_dispatch() to send events to all vm contexts. This affects the datagram taken from the datagram queue of its context by another task, because the datagram payload is not initialized according to the size payload_size, which causes the kernel data to leak to the user space. Before dispatching the datagram, and before setting the payload content, explicitly set the payload content to 0 to avoid data leakage caused by incomplete payload initialization. The Linux kernel CVE team has assigned CVE-2025-38611 to this issue. Affected and fixed versions =========================== Issue introduced in 3.9 with commit 28d6692cd8fb2a900edba5e5983be4478756ef6f and fixed in 6.1.148 with commit bfd6b211fe8aae79acbedd19e8d5bea5d062a41b Issue introduced in 3.9 with commit 28d6692cd8fb2a900edba5e5983be4478756ef6f and fixed in 6.6.102 with commit 6696a46f4ebdc7314ff23a2fb0e93a95da2c45ee Issue introduced in 3.9 with commit 28d6692cd8fb2a900edba5e5983be4478756ef6f and fixed in 6.12.42 with commit 87f8f8654e55cf9327cc63746595085a041699dc Issue introduced in 3.9 with commit 28d6692cd8fb2a900edba5e5983be4478756ef6f and fixed in 6.15.10 with commit 7624fe66a0832eb6fe4e465fcdd4f9104fb9b339 Issue introduced in 3.9 with commit 28d6692cd8fb2a900edba5e5983be4478756ef6f and fixed in 6.16.1 with commit 94112b0d443e0b6b5bb17854f97c1498064cc9ed Issue introduced in 3.9 with commit 28d6692cd8fb2a900edba5e5983be4478756ef6f and fixed in 6.17-rc1 with commit bfb4cf9fb97e4063f0aa62e9e398025fb6625031 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-2025-38611 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/misc/vmw_vmci/vmci_context.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/bfd6b211fe8aae79acbedd19e8d5bea5d062a41b https://git.kernel.org/stable/c/6696a46f4ebdc7314ff23a2fb0e93a95da2c45ee https://git.kernel.org/stable/c/87f8f8654e55cf9327cc63746595085a041699dc https://git.kernel.org/stable/c/7624fe66a0832eb6fe4e465fcdd4f9104fb9b339 https://git.kernel.org/stable/c/94112b0d443e0b6b5bb17854f97c1498064cc9ed https://git.kernel.org/stable/c/bfb4cf9fb97e4063f0aa62e9e398025fb6625031