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 3792533E367 for ; Wed, 18 Feb 2026 14:54:54 +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=1771426494; cv=none; b=FvIEULCyOVl4UHmkG14Agh8kJqr9v+K+wLM8+jJamhSvtxwRJkKBPy4B99A8lk1NiQsQW0DDhPgsmA7ZT6nkObjtvSxqrO1fjzGX/lIv2DGKJyDIrZfbFeoyq9PUhQOyMmA0x9Y1XzZvIEIJpFhPZ2+aK9gEhKr52Yo5EXE10XI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426494; c=relaxed/simple; bh=kV37Fad2gFjVx+DrcuFKoj7rcOq6vIHbpIjRz0ZhTpQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rgdPJIXQfNh84Q2wIky7PCsoSFItVJOJ2CKS35q+a/DMMwj72hHOXD9cHRaa+lEzo6PHWj//zcYnx+YK+xKlqKOan2CVk7Cuc+1FDPhLTVDW3Ydey/Fb4Rjq1Rty4p+7jH+1E26reOh6i+xNNm4LUJSa8AsyE3CRfTJoZMn2tbE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NpedUr4Q; 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="NpedUr4Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE4E0C116D0; Wed, 18 Feb 2026 14:54:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426494; bh=kV37Fad2gFjVx+DrcuFKoj7rcOq6vIHbpIjRz0ZhTpQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=NpedUr4QE/qvNbrfx4vNJguFCf9HXTKHYZkXyx8BnX48VH+mzfC7e8x4yplhMSJxf FNndyow5ucwLI1sjt2zVBrWX0eFJWL2dzK4f1uY5n+clcDGRyMphJ+1i46xoPP7eZy AUhF44zetMHDN45Y4nRnI11Pu65ovxz30CgfU1G0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71231: crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode Date: Wed, 18 Feb 2026 15:54:02 +0100 Message-ID: <2026021805-CVE-2025-71231-5cc3@gregkh> X-Mailer: git-send-email 2.53.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=2241; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rTKaYI7jBIYptoIJy8wwpBvs+oiXGrSJy0H7zDcLIWk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/V2asuWnvdbVnHwT+9kRkXTcxzK1/sKNZ8+297K8 6Yp8PvajlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI3Y8Mc/hXMKwVnbTCaX2G zvRjFVOqW+t+5jPMT9v409Qk5iXLQ56TnNasjzdXLRaRBQA= 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: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode The local variable 'i' is initialized with -EINVAL, but the for loop immediately overwrites it and -EINVAL is never returned. If no empty compression mode can be found, the function would return the out-of-bounds index IAA_COMP_MODES_MAX, which would cause an invalid array access in add_iaa_compression_mode(). Fix both issues by returning either a valid index or -EINVAL. The Linux kernel CVE team has assigned CVE-2025-71231 to this issue. Affected and fixed versions =========================== Fixed in 6.12.72 with commit c77b33b58512708bd5603f48465f018c8b748847 Fixed in 6.18.11 with commit d75207465eed20bc9b0daa4a0927de9568996067 Fixed in 6.19.1 with commit de16f5bca05cace238d237791ed1b6e9d22dab60 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-71231 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/crypto/intel/iaa/iaa_crypto_main.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/c77b33b58512708bd5603f48465f018c8b748847 https://git.kernel.org/stable/c/d75207465eed20bc9b0daa4a0927de9568996067 https://git.kernel.org/stable/c/de16f5bca05cace238d237791ed1b6e9d22dab60 https://git.kernel.org/stable/c/48329301969f6d21b2ef35f678e40f72b59eac94