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 1EF6A35CEC4 for ; Thu, 11 Sep 2025 16:57:46 +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=1757609866; cv=none; b=RJbet9PDW3aPk9YqtYk6Jl10A3ZbjFJy5y7wTswpDPUcfLtaA1J0rbA/tSJEDIF6orDKssrO3aAMeB1kArH1eka7oTI/CGsmmBN6d8r/Q0X1+dOKaNLEovVkXH1cZTVXfBgLOiTrB8MaNylPA3z6oErJrRcTirNwQP61oRlTnlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757609866; c=relaxed/simple; bh=0h3toa9F7Q70yyK4/hkHLdt/qyStCV52BBL/C2ZFABg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A4GBY4c2kVUoejDCfE9YioyKvVsj2y1ZlVUOGC9BKrRC2+xBDkYpXHXzZX6Y+uvaZtg//yTL/Ttx8GlnXWLg5mQhFgQ4muQsLQIA2M11X3eZD1d9W+O3OLjS3BXTPeQyH5IsKVU519ujLczwqSQJPvDIaykcs/HApf+ySouQSF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0Yhr9hi/; 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="0Yhr9hi/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B0E6C4CEF0; Thu, 11 Sep 2025 16:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757609866; bh=0h3toa9F7Q70yyK4/hkHLdt/qyStCV52BBL/C2ZFABg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0Yhr9hi/3To5XhN3y5s4j3sZSOCcrfFF2I+jKDhtEDtPQBG4B8OYYHYj74t1S21O4 e/6UNLIC9obzQJg0tybugD4LeAZatnFn9R9POnvBMG1nR8D0Og37EuQv2jSoyPUS+O WeMaHCYNHn2hlTRoHwTTxCfJ0E3joGGduqwAzHIo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39789: crypto: x86/aegis - Add missing error checks Date: Thu, 11 Sep 2025 18:57:07 +0200 Message-ID: <2025091152-CVE-2025-39789-8cdc@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=1868; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Gb6BSuBE3rCq7U1zUhabfaEckMGc5FPfXugk5c8HttE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmH/ofcialvkmBdoVq+yfCopWqSzPav9cHvs+u+/BFJW Gq44EFKRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE7C3DfLfs5wU7tLxmVjXI v9z8Ref8g/KZZgzzY1nYnm09FHy6YfpvfcuzjFsm7nvcDQA= 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: x86/aegis - Add missing error checks The skcipher_walk functions can allocate memory and can fail, so checking for errors is necessary. The Linux kernel CVE team has assigned CVE-2025-39789 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit 1d373d4e8e15b358f08de52956b32e0e38a11f84 and fixed in 6.16.4 with commit 475104178f4d30e749ee4f5473c87f692b93bebb Issue introduced in 4.18 with commit 1d373d4e8e15b358f08de52956b32e0e38a11f84 and fixed in 6.17-rc1 with commit 3d9eb180fbe8828cce43bce4c370124685b205c3 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-39789 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: arch/x86/crypto/aegis128-aesni-glue.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/475104178f4d30e749ee4f5473c87f692b93bebb https://git.kernel.org/stable/c/3d9eb180fbe8828cce43bce4c370124685b205c3