lib/crypto: chacha: Zeroize permuted_state before it leaves scope (Linux Linux)

CVE-2026-43336
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.43 % · centile 37 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c08d0e647305c3f8f640010a56c9e4bafb9488d3 < e90ee961af515a484f091678ce58a4c3f7b73b02 ; affected c08d0e647305c3f8f640010a56c9e4bafb9488d3 < b416a4245f04a450c67a13e6d96056c37c5b33fe ; affected c08d0e647305c3f8f640010a56c9e4bafb9488d3 < bd62d9b44464a6c20a34a74068e7a784d0afa04a ; affected c08d0e647305c3f8f640010a56c9e4bafb9488d3 < 066c760acead1fb743bae294dbd89f479ae43b9b ; affected c08d0e647305c3f8f640010a56c9e4bafb9488d3 < 1d761e5a7340c46479fb2399598f331e4fe2c633 ; affected c08d0e647305c3f8f640010a56c9e4bafb9488d3 < 1933249263c3a98df79992f61a566476e4163bcc
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.169 ≤ 6.1.* ; unaffected 6.6.135 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD