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 568791F2BAD for ; Fri, 1 May 2026 14:21:57 +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=1777645317; cv=none; b=GBGUMF6YyeGkhS09xbqilQYpRBGcWtVivl8P2GWmzUCwglJfkXYL+0Mwk0tQvYYEUniCrze4oazOQi1CRyIYGRCQ2pUkvAq4l7x/UV2PaYnWauN/DZ54p0CjmER/2CoIkXT7yXkIJqiDg/SByaWqpN3/TKB9OU3LVqyqeBIZwus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645317; c=relaxed/simple; bh=aAc417FHOZP3JsU+EOBNpOTkwjRnGRtud7EByVQxrS4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j8pWM4qBWp9cXRwVDKwNqotHQQwf9vAOfvWQFLMp0b1RrM7pJ0C98/qCv3UOOYQDTpO/na0CYPBJA1no5Khm9lQjor6W95Jau8ZsoTXRo5ff8+CW+PG9BEKNFH2sGW6a6K6iqSqJF5mUlg8iim0qOz/kwlmYXlYkUDs67+lEXcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BKOMq2ri; 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="BKOMq2ri" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD782C2BCB4; Fri, 1 May 2026 14:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645317; bh=aAc417FHOZP3JsU+EOBNpOTkwjRnGRtud7EByVQxrS4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=BKOMq2rimxF6viF2k7tf04gmjrNiZJXb4KLR+fn9wPRIGTAZs5vLIu5S8gsC+D7cS uRxrhzX4QinLULdQms5IHlP7qwLzU5pgp1xPZDxEWJC9A2Oz/BynsIzXObNF7V+tvW I7Xe5WaO7qUz3tgjQOJyNZbUM4Ix5valRrbG6WS4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43044: crypto: caam - fix DMA corruption on long hmac keys Date: Fri, 1 May 2026 16:16:17 +0200 Message-ID: <2026050104-CVE-2026-43044-36a8@gregkh> X-Mailer: git-send-email 2.54.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=2845; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ktCjAss0yuDsDZ5ArxVCGXE4SM3laNqqBP3t15gzvoA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftmbaHu98dXFz4NwooZ32/8S1qhWC74dFpTyuXH1UV uXvpI/PO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAihi4MC45G7brX9ZuJeZHi 5d1Hlzi9P/J/tzfDPN2XinPnBT/i28Io8+H/PqaJfX97rgMA 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: caam - fix DMA corruption on long hmac keys When a key longer than block size is supplied, it is copied and then hashed into the real key. The memory allocated for the copy needs to be rounded to DMA cache alignment, as otherwise the hashed key may corrupt neighbouring memory. The rounding was performed, but never actually used for the allocation. Fix this by replacing kmemdup with kmalloc for a larger buffer, followed by memcpy. The Linux kernel CVE team has assigned CVE-2026-43044 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 199354d7fb6eaa2cc5bb650af0bca624baffee35 and fixed in 6.6.134 with commit a7ecf06d3ee06e9b3322e1e7b003ea5c6f6e135a Issue introduced in 6.3 with commit 199354d7fb6eaa2cc5bb650af0bca624baffee35 and fixed in 6.12.81 with commit c0c133e0225d87aad326bb90bbce9bdd6fde3cbb Issue introduced in 6.3 with commit 199354d7fb6eaa2cc5bb650af0bca624baffee35 and fixed in 6.18.22 with commit 68feed135a0c7243a9275ae7e6a18260f755f52b Issue introduced in 6.3 with commit 199354d7fb6eaa2cc5bb650af0bca624baffee35 and fixed in 6.19.12 with commit f2af8be110bde26b3e3354efdfdda97f426306a4 Issue introduced in 6.3 with commit 199354d7fb6eaa2cc5bb650af0bca624baffee35 and fixed in 7.0 with commit 5ddfdcbe10dc5f97afc4e46ca22be2be717e8caf 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-43044 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/caam/caamhash.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/a7ecf06d3ee06e9b3322e1e7b003ea5c6f6e135a https://git.kernel.org/stable/c/c0c133e0225d87aad326bb90bbce9bdd6fde3cbb https://git.kernel.org/stable/c/68feed135a0c7243a9275ae7e6a18260f755f52b https://git.kernel.org/stable/c/f2af8be110bde26b3e3354efdfdda97f426306a4 https://git.kernel.org/stable/c/5ddfdcbe10dc5f97afc4e46ca22be2be717e8caf