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 23EC52EC553 for ; Tue, 30 Dec 2025 12:25:12 +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=1767097512; cv=none; b=Y5EnXr1/1xlE3PYijjYJMGmZ+s321zhjW2nSqAQN44apAXD0F1zJBSIxm5WhBFh9lK1Lx3IPdGm9LJvVZ3y7JQDgpL976GtTQ1lXtIBlzy0BfB6GKGloRLE5EGzyQXLf9d6YmJfXjrs/7QSuIi2ykdsgDHRXBRNyW4wWdjZsuFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097512; c=relaxed/simple; bh=gYZHoFjPAyAW6hjAenNy+fQLmAw6zy2YStEPHX8Khv8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gpYS10tzMXQNnHR6yiDZf26mWbembYv3dFTC329qXOEowNi2BOj7FVAagevpAgOTaoqTV3zlFBaz+pzADy5vWexoRqvG7Z/6cqRB/K8SHYhJQoeXtkHxMKwIJjhsnmZlGHgi5dQJ7TPYYfaQ0HqaCEVATIMYZt5pHF21dzZUPWQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hFBYxuqr; 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="hFBYxuqr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4097C4CEFB; Tue, 30 Dec 2025 12:25:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097512; bh=gYZHoFjPAyAW6hjAenNy+fQLmAw6zy2YStEPHX8Khv8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=hFBYxuqr1iaIuD4/70zXzhPnLnJ4T0hd7O6F4WiGc7/E8tkoWP7nBDvQ88Rfuu6Sj +OXz1N4pGm6JIpUOMBrP2oFinnepiNb34fKsTUTTpug8OEKzYLDUfAYkGPlX/Zl7JD RtOZ5qNlgK6+ZxR7ZDIBUIyaNIrFK3tlJgVewjB0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54309: tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation Date: Tue, 30 Dec 2025 13:24:02 +0100 Message-ID: <2025123035-CVE-2023-54309-4435@gregkh> X-Mailer: git-send-email 2.52.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=3374; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Q4mrUQDASlcMQO3rXG+gviHh1ujmQdRRmjNgOrIsvww=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBR9wf+R/ziHz4webHlP8PI4pTPl2Lafy06pGWUY6JR mEqt/rnjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI7OUMC7a+D1Jj2KswKS4m Z9fGxkrL1KgYbYYF7VvfGV5cJblBMvGI+RMTU9uLNfrHAQ== 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: tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation /dev/vtpmx is made visible before 'workqueue' is initialized, which can lead to a memory corruption in the worst case scenario. Address this by initializing 'workqueue' as the very first step of the driver initialization. The Linux kernel CVE team has assigned CVE-2023-54309 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 4.14.322 with commit 509d21f1c4bb9d35d397fca3226165b156a7639f Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 4.19.291 with commit 04e8697d26613ccea760cf57eb20a5a27f788c0f Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 5.4.251 with commit 86b9820395f226b8f33cbae9599deebf8af1ce72 Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 5.10.188 with commit 9ff7fcb3a2ed0e9b895bb5b4c13872d584a8815b Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 5.15.121 with commit e08295290c53a3cf174c236721747a01b9550ae2 Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 6.1.40 with commit 99b998fb9d7d2d2d9dbb3e19db2d0ade02f5a604 Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 6.4.5 with commit 092db954e2c3c5ba6c0ce990c7da72cf8f3b9c51 Issue introduced in 4.8 with commit 6f99612e250041a2402d3b1694bccb149cd424a4 and fixed in 6.5 with commit f4032d615f90970d6c3ac1d9c0bce3351eb4445c 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-2023-54309 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/char/tpm/tpm_vtpm_proxy.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/509d21f1c4bb9d35d397fca3226165b156a7639f https://git.kernel.org/stable/c/04e8697d26613ccea760cf57eb20a5a27f788c0f https://git.kernel.org/stable/c/86b9820395f226b8f33cbae9599deebf8af1ce72 https://git.kernel.org/stable/c/9ff7fcb3a2ed0e9b895bb5b4c13872d584a8815b https://git.kernel.org/stable/c/e08295290c53a3cf174c236721747a01b9550ae2 https://git.kernel.org/stable/c/99b998fb9d7d2d2d9dbb3e19db2d0ade02f5a604 https://git.kernel.org/stable/c/092db954e2c3c5ba6c0ce990c7da72cf8f3b9c51 https://git.kernel.org/stable/c/f4032d615f90970d6c3ac1d9c0bce3351eb4445c