CVE-2026-64316: crypto: caam - use print_hex_dump_devel to guard key hex dumps
Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:48:53 +0200
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026072510-CVE-2026-64316-3c43@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: crypto: caam - use print_hex_dump_devel to guard key hex dumps Use print_hex_dump_devel() for dumping sensitive key material in *_setkey() and gen_split_key() to avoid leaking secrets at runtime when CONFIG_DYNAMIC_DEBUG is enabled. The Linux kernel CVE team has assigned CVE-2026-64316 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 5.10.261 with commit 45c0e3615e5bca5f1fc93357af8d19975c092d4f Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 5.15.212 with commit 8b56ba10105ca34a4b75f7e33d41d96a63815591 Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 6.1.178 with commit 9a53dc0a0ae0486e164e5af3de5f99ab42c5a23e Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 6.6.145 with commit ebd37eef6e4f435e18829c0c0c9ba3a6618cb2dd Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 6.12.96 with commit cea7302d5d05df74cfb4107897b1ca34163c06b9 Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 6.18.39 with commit 6f7b8e0321f3a8fbbd267d2ac15c671ab59e919e Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 7.1.4 with commit 8cf5fb0503129e53052fe29302379cf83891d0fb Issue introduced in 5.3 with commit 6e005503199b9bf1b385949c05897fd6567b5af4 and fixed in 7.2-rc1 with commit 3f57657b6ea23f933371f2c2846322f441773cee 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-64316 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/caamalg.c drivers/crypto/caam/caamalg_qi.c drivers/crypto/caam/caamhash.c drivers/crypto/caam/key_gen.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/45c0e3615e5bca5f1fc93357af8d19975c092d4f https://git.kernel.org/stable/c/8b56ba10105ca34a4b75f7e33d41d96a63815591 https://git.kernel.org/stable/c/9a53dc0a0ae0486e164e5af3de5f99ab42c5a23e https://git.kernel.org/stable/c/ebd37eef6e4f435e18829c0c0c9ba3a6618cb2dd https://git.kernel.org/stable/c/cea7302d5d05df74cfb4107897b1ca34163c06b9 https://git.kernel.org/stable/c/6f7b8e0321f3a8fbbd267d2ac15c671ab59e919e https://git.kernel.org/stable/c/8cf5fb0503129e53052fe29302379cf83891d0fb https://git.kernel.org/stable/c/3f57657b6ea23f933371f2c2846322f441773cee