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 E05681DD525 for ; Thu, 11 Sep 2025 16:57:10 +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=1757609831; cv=none; b=AOKxcSGhUPPpeT2/FLjYpi1CpGyBfC27rbwvSEs93iaAqrun/0GBkszrz4kWsU+LfBPKpWLTyXKVOs3kVY5KpjlLBDPzRZXuvHYM6HtNHOuPnTI6l1W0gqMZfsxCUVwhYyO2BZhAO7IBU59/ZNmUiRAtdgsIJnctOMoQ74cX0Zw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757609831; c=relaxed/simple; bh=afWNeH2jcdZ09OojTg/zMDBq7dzX+92qqqVKJ6ezD4M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eOvA0wQ2SK9re7m8yR5lopLGkOi3vWJpdhNu7W0GciRvtIiAeBUnI7hrpsz2rNR3zbLInIRZOo7ZE6nqPE8UBK2wQZ10IgJRlmvqGlulU/JQIxG5ilRjR49vu+7RvYUjmWpZrU6JdXmRo8hh6rHqhXPGK7e4/GJoZYLpNd7Zi08= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vtodkiC/; 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="vtodkiC/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68DF3C4CEF0; Thu, 11 Sep 2025 16:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757609830; bh=afWNeH2jcdZ09OojTg/zMDBq7dzX+92qqqVKJ6ezD4M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vtodkiC/SzmhsUWOAiWiGdchTZz04Ya8vED27bF6zYBVrhRQUhhoOlo3P8AMsNDIK Y9Bj/TLFIr72SW0hX2vObk07rz/7K+WBa2pAtqVCtql+mqQ7A7RpASFujniLhQa7vR 6ZqyK38Jo8ZHApaqjzuffQgVKvkx3BlDSX/nnPZ8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39777: crypto: acomp - Fix CFI failure due to type punning Date: Thu, 11 Sep 2025 18:56:56 +0200 Message-ID: <2025091148-CVE-2025-39777-49b7@gregkh> X-Mailer: git-send-email 2.51.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=1998; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1g+LGz1Y+qRoK9nRai+1qPV0PI6y2rN7ZvLbaRsyHQc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmH/gfM99genc9y68TOqb42Ufx7UlbONNOekTZ5yere+ feLF0yV6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJJKsxLJjtWbZvpaWmou6J hN8xf7P0bVYYT2OYn1OzwFmeNeHcDg6Rhx8qT7lEOMVdBwA= 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: crypto: acomp - Fix CFI failure due to type punning To avoid a crash when control flow integrity is enabled, make the workspace ("stream") free function use a consistent type, and call it through a function pointer that has that same type. The Linux kernel CVE team has assigned CVE-2025-39777 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 42d9f6c774790d290c175e8775ce9f1366438098 and fixed in 6.16.4 with commit 7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf Issue introduced in 6.16 with commit 42d9f6c774790d290c175e8775ce9f1366438098 and fixed in 6.17-rc1 with commit 962ddc5a7a4b04c007bba0f3e7298cda13c62efd 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-39777 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: crypto/deflate.c crypto/zstd.c include/crypto/internal/acompress.h 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/7ec68c59461ca846aab9b7c2b39f63ac7c8a43cf https://git.kernel.org/stable/c/962ddc5a7a4b04c007bba0f3e7298cda13c62efd