What’s Vulnerable › Vulnerabilities

CVE-2026-43336: lib/crypto: chacha: Zeroize permuted_state before it leaves scope

Description

In the Linux kernel, the following vulnerability has been resolved: lib/crypto: chacha: Zeroize permuted_state before it leaves scope Since the ChaCha permutation is invertible, the local variable 'permuted_state' is sufficient to compute the original 'state', and thus the key, even after the permutation has been done. While the kernel is quite inconsistent about zeroizing secrets on the stack (and some prominent userspace crypto libraries don't bother at all since it's not guaranteed to work anyway), the kernel does try to do it as a best practice, especially in cases involving the RNG. Thus, explicitly zeroize 'permuted_state' before it goes out of scope.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.253, 5.15.203, 6.1.169, 6.12.82. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-43336 or the next vulnerability affects your stack