lib/crypto: chacha: Zeroize permuted_state before it leaves scope
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.253, Kernel 5.15.203, Kernel 6.1.169 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.2 <5.10.253, >=5.11 <5.15.203, >=5.16 <6.1.169, >=6.13 <6.18.22, >=6.19 <6.19.12, >=6.2 <6.6.135, >=6.7 <6.12.82, =7.0, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <1933249263c3a98df79992f61a566476e4163bcc, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <1d761e5a7340c46479fb2399598f331e4fe2c633, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <91999af43ca2125e3b2c18fcfc02912ada02efc3, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <b416a4245f04a450c67a13e6d96056c37c5b33fe, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <bd62d9b44464a6c20a34a74068e7a784d0afa04a, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <e5046823f8fa3677341b541a25af2fcb99a5b1e0, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <e90ee961af515a484f091678ce58a4c3f7b73b02, =4.2, >=c08d0e647305c3f8f640010a56c9e4bafb9488d3 <066c760acead1fb743bae294dbd89f479ae43b9b | 5.10.253, 5.15.203, 6.1.169, 6.18.22, 6.19.12, 6.6.135, 6.12.82, 1933249263c3a98df79992f61a566476e4163bcc, 1d761e5a7340c46479fb2399598f331e4fe2c633, 91999af43ca2125e3b2c18fcfc02912ada02efc3, b416a4245f04a450c67a13e6d96056c37c5b33fe, bd62d9b44464a6c20a34a74068e7a784d0afa04a, e5046823f8fa3677341b541a25af2fcb99a5b1e0, e90ee961af515a484f091678ce58a4c3f7b73b02, 066c760acead1fb743bae294dbd89f479ae43b9b |
| linux-kernel: Kernel | >=4.2.0 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.169, >=6.13.0 <6.18.22, >=6.19.0 <6.19.12, >=6.2.0 <6.6.135, >=6.7.0 <6.12.82 | 5.10.253, 5.15.203, 6.1.169, 6.18.22, 6.19.12, 6.6.135, 6.12.82 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket