{"id":"CVE-2026-64315","state":"PUBLISHED","title":"crypto: caam - use print_hex_dump_devel to guard key hex dumps","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - use print_hex_dump_devel to guard key hex dumps\n\nUse print_hex_dump_devel() for dumping sensitive key material in\n*_setkey() to avoid leaking secrets at runtime when CONFIG_DYNAMIC_DEBUG\nis enabled.","publishedAt":"2026-07-25T08:49:45.787Z","updatedAt":"2026-08-17T04:53:15.471Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"1ec775f6a124cce6278ae58b7d1c78a3bc6eef23","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"bcf3cf74dfb6981e18b22cbf561f859a0f7faa26","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"6407dc85d0a4306681cf6c9be7f05e05dcb67a37","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"c8cfe11e48b2a4646fa662fcaa92e14810a28d46","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"8904b425cfcafe6a820c94b9bdf4b10f7d70f9d7","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"d0b8cafd529b4ec759190c6081f7a76efb563a8f","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"59057f5d4e9a195c6dd61695ad3bc4481ddf4f14","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"8005dc808bcce7d6cc2ae015a3cde1683bee602d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi2.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi2.c"]}],"references":["https://git.kernel.org/stable/c/1ec775f6a124cce6278ae58b7d1c78a3bc6eef23","https://git.kernel.org/stable/c/bcf3cf74dfb6981e18b22cbf561f859a0f7faa26","https://git.kernel.org/stable/c/6407dc85d0a4306681cf6c9be7f05e05dcb67a37","https://git.kernel.org/stable/c/c8cfe11e48b2a4646fa662fcaa92e14810a28d46","https://git.kernel.org/stable/c/8904b425cfcafe6a820c94b9bdf4b10f7d70f9d7","https://git.kernel.org/stable/c/d0b8cafd529b4ec759190c6081f7a76efb563a8f","https://git.kernel.org/stable/c/59057f5d4e9a195c6dd61695ad3bc4481ddf4f14","https://git.kernel.org/stable/c/8005dc808bcce7d6cc2ae015a3cde1683bee602d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64315.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64315","state":"PUBLISHED","datePublished":"2026-07-25T08:49:45.787Z","dateUpdated":"2026-08-17T04:53:15.471Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.779Z"},"containers":{"cna":{"title":"crypto: caam - use print_hex_dump_devel to guard key hex dumps","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - use print_hex_dump_devel to guard key hex dumps\n\nUse print_hex_dump_devel() for dumping sensitive key material in\n*_setkey() to avoid leaking secrets at runtime when CONFIG_DYNAMIC_DEBUG\nis enabled."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"1ec775f6a124cce6278ae58b7d1c78a3bc6eef23","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"bcf3cf74dfb6981e18b22cbf561f859a0f7faa26","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"6407dc85d0a4306681cf6c9be7f05e05dcb67a37","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"c8cfe11e48b2a4646fa662fcaa92e14810a28d46","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"8904b425cfcafe6a820c94b9bdf4b10f7d70f9d7","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"d0b8cafd529b4ec759190c6081f7a76efb563a8f","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"59057f5d4e9a195c6dd61695ad3bc4481ddf4f14","versionType":"git"},{"version":"8d818c1055013d355d36188f21c7535687374f6c","status":"affected","lessThan":"8005dc808bcce7d6cc2ae015a3cde1683bee602d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi2.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi2.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1ec775f6a124cce6278ae58b7d1c78a3bc6eef23"},{"url":"https://git.kernel.org/stable/c/bcf3cf74dfb6981e18b22cbf561f859a0f7faa26"},{"url":"https://git.kernel.org/stable/c/6407dc85d0a4306681cf6c9be7f05e05dcb67a37"},{"url":"https://git.kernel.org/stable/c/c8cfe11e48b2a4646fa662fcaa92e14810a28d46"},{"url":"https://git.kernel.org/stable/c/8904b425cfcafe6a820c94b9bdf4b10f7d70f9d7"},{"url":"https://git.kernel.org/stable/c/d0b8cafd529b4ec759190c6081f7a76efb563a8f"},{"url":"https://git.kernel.org/stable/c/59057f5d4e9a195c6dd61695ad3bc4481ddf4f14"},{"url":"https://git.kernel.org/stable/c/8005dc808bcce7d6cc2ae015a3cde1683bee602d"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The exposed keys are obtained through local kernel-log interfaces such as /dev/kmsg or syslog; network consumers can cause key installation, but the secret is not returned remotely.\nAC:H - The DPAA2 CAAM implementation must be selected and its normally disabled dynamic-debug callsite must have been enabled by boot configuration or an administrator, a condition an unprivileged attacker cannot create.\nPR:L - On systems with dmesg_restrict disabled, an ordinary local user can read the global kernel log and can invoke the affected callbacks through AF_ALG without capabilities.\nUI:N - No victim action is required after the vulnerable logging configuration is active; services and protocol stacks install keys during normal operation.\nS:U - The disclosure and resulting compromise of kernel-protected cryptographic sessions remain within the host kernel's security authority.\nC:H - The dumps contain complete encryption and authentication keys, including RFC4106/RFC4543 salt material, enabling decryption of protected IPsec, SMB, or other traffic.\nI:H - Disclosed AEAD or authentication keys permit valid ciphertexts and authentication tags to be forged, enabling unauthorized modification of protected communications.\nA:H - An AF_ALG caller can trigger the unratelimited dumps continuously, potentially stalling systems using slow debug consoles, while stolen authentication keys can also sustain disruption of protected IPsec or SMB sessions."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T04:53:15.471Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}