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 37554351C36 for ; Fri, 3 Apr 2026 15:27:41 +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=1775230062; cv=none; b=W9W/NKuqIVXuvqd17U8G4x6fIr4tETaQnyRAuQzbuOJxM2zwUBkf/h/Abj12XEWQBUmD6vXqTfi8dOmWZIrwpupAfhjdg2QWf14bxHA+bOYDSbXcQtyWHTQlegC7yC7uKvaeGAf/3gd/M0Uo8WUdH88nawJA6GYyPOvNpphr5Jc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775230062; c=relaxed/simple; bh=fhNY6qIxgFixdosDIC0qOkpAHSyaKBWMpSsg8KyFNaM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ICtXTxIzXvPyh0nEHSy1nzlAs8TEmRPCeVfJ48kVBbZ3Abv4Mt3+IVs9fwLsgYL1xt4OHazLl1p7XsjBqk31FzO5QdILLsIC6cMGj6QBABXW67mXAvKNHwTy3llBvbHKTWBZQJdd7ShtK5trMBTphqBW0ezHXgIqY2LZKlopO4I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gQwDvyiL; 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="gQwDvyiL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CCB2C4CEF7; Fri, 3 Apr 2026 15:27:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775230061; bh=fhNY6qIxgFixdosDIC0qOkpAHSyaKBWMpSsg8KyFNaM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=gQwDvyiLu5mQdsjQYAkx68Es7Q0qZ+MYueZBXFuJpBP6iFMgATJRYwynjJStv1ljk Qb56PGlEsviZE4nUR5z+NilGjVN+dHjfdxYlNKOxeOHX+cBWr5YjJQE8P/5ycQ7O16 dU8oVP3BwBsHR2+XN9VWCdf6xJWDLu8EBpfG16rE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31391: crypto: atmel-sha204a - Fix OOM ->tfm_count leak Date: Fri, 3 Apr 2026 17:18:59 +0200 Message-ID: <2026040324-CVE-2026-31391-4b86@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=2758; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eMXYemacNwoa+rOPvYqKOfVc5MXOHtgrxGyCtVGX03o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnbzkkz0yqFdhoJR93hN/9x+TH5i9PcRtPO5YUXn1/a oPpLbkZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARnUKGBS2+msuiO1a2Jk9l 5Nsadlfteb7WXIZ59kcloiTPTqt5b6q97n7YutXLL080AQA= 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: atmel-sha204a - Fix OOM ->tfm_count leak If memory allocation fails, decrement ->tfm_count to avoid blocking future reads. The Linux kernel CVE team has assigned CVE-2026-31391 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.1.167 with commit 66ee9c1c3575b5d6afc340faca00fd40ed5b7ad9 Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.6.130 with commit 2bfc83cee05f8b9604502df27d94e8e2b4a3dbf1 Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.12.78 with commit 1ab70c260cf16f931a728b2cb63fff5f38c814d8 Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.18.20 with commit 6f502049a96b368ea6646c49d9520d6f69a101fa Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.19.10 with commit fd262dc6d758232511127372eba866b7600739ba Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 7.0-rc3 with commit d240b079a37e90af03fd7dfec94930eb6c83936e 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-2026-31391 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/atmel-sha204a.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/66ee9c1c3575b5d6afc340faca00fd40ed5b7ad9 https://git.kernel.org/stable/c/2bfc83cee05f8b9604502df27d94e8e2b4a3dbf1 https://git.kernel.org/stable/c/1ab70c260cf16f931a728b2cb63fff5f38c814d8 https://git.kernel.org/stable/c/6f502049a96b368ea6646c49d9520d6f69a101fa https://git.kernel.org/stable/c/fd262dc6d758232511127372eba866b7600739ba https://git.kernel.org/stable/c/d240b079a37e90af03fd7dfec94930eb6c83936e