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 E8477318140 for ; Wed, 14 Jan 2026 15:08:14 +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=1768403295; cv=none; b=YCRczr1jqDJTsOdYL+qw3pOebx5XdFle1McdGvgBpW5EFrD3TgHgYjJ28Gz2ubGxNs38qP2bTmiJJG+5ySRxISVD/2Usg+JcyzDhCKBDB5mxAfK/+oT66Ke3PWJ9w2dpLuG0Oa+Fe+V3nrPdPd96M4DFJlwwpBxuUI5UzxMGDCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403295; c=relaxed/simple; bh=6cEcnc62abk7+yUKS2dLkb0YncDUeV8dNvnbVMZwbHU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YJF0I0Qa5hpe52/6N5cmpQb5ELL1vKMMHTKzczpUGOva+QackNlbeBrRCgJD81R0LhrmXmYlWKaQjbpTtyDrZjO/SXSAjqYvHWFVx8NDaIPoyUYfUPgdOpQO+SKBG81KUUQeSC8LsrSY9TPsT5Qq9kKC7KzRdWG/wPer7ORHSww= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bKkJyaXi; 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="bKkJyaXi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A19FFC19422; Wed, 14 Jan 2026 15:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403294; bh=6cEcnc62abk7+yUKS2dLkb0YncDUeV8dNvnbVMZwbHU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=bKkJyaXieZq2mXTdSCYZmFsZk0RW3ksK8foaB1yV1LrbYXF7BUe0brQKrZEl6F/A7 HjfxtgiRjXnoywaiVLAPQ/97bDXQ318kJ9v5Yy4xqYF6se3ZPd+xSvT6hQT6bM0hId IzOHd7nPdvJzIUB5MeHSH64hFCOcaOUDRHyGvdfU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71131: crypto: seqiv - Do not use req->iv after crypto_aead_encrypt Date: Wed, 14 Jan 2026 16:07:55 +0100 Message-ID: <2026011452-CVE-2025-71131-c844@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=2746; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BAONMKU+a0sRUGlDOamCc6lt6zi6GTLqpivpST+9cjM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpGz1c7SoXPzwd5pyuINZotOi9BsMKpx223UfvxAd7T Fr33sisI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaytophvof8saS4o+VVf9ct mrowyMe61v1WDMOCzW/DP87/obnnf9mjbZGir+pTK/xPAAA= 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: seqiv - Do not use req->iv after crypto_aead_encrypt As soon as crypto_aead_encrypt is called, the underlying request may be freed by an asynchronous completion. Thus dereferencing req->iv after it returns is invalid. Instead of checking req->iv against info, create a new variable unaligned_info and use it for that purpose instead. The Linux kernel CVE team has assigned CVE-2025-71131 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.1.160 with commit 50f196d2bbaee4ab2494bb1b0d294deba292951a Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.6.120 with commit 0279978adec6f1296af66b642cce641c6580be46 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.12.64 with commit ccbb96434d88e32358894c879457b33f7508e798 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.18.4 with commit 5476f7f8a311236604b78fcc5b2a63b3a61b0169 Issue introduced in 2.6.25 with commit 0a270321dbf948963aeb0e8382fe17d2c2eb3771 and fixed in 6.19-rc4 with commit 50fdb78b7c0bcc550910ef69c0984e751cac72fa 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-71131 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/seqiv.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/50f196d2bbaee4ab2494bb1b0d294deba292951a https://git.kernel.org/stable/c/0279978adec6f1296af66b642cce641c6580be46 https://git.kernel.org/stable/c/ccbb96434d88e32358894c879457b33f7508e798 https://git.kernel.org/stable/c/5476f7f8a311236604b78fcc5b2a63b3a61b0169 https://git.kernel.org/stable/c/50fdb78b7c0bcc550910ef69c0984e751cac72fa