CVE-2025-39802

Source
https://cve.org/CVERecord?id=CVE-2025-39802
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39802.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39802
Downstream
Published
2025-09-15T12:36:44.792Z
Modified
2026-04-02T12:48:09.732394Z
Summary
lib/crypto: arm/poly1305: Fix register corruption in no-SIMD contexts
Details

In the Linux kernel, the following vulnerability has been resolved:

lib/crypto: arm/poly1305: Fix register corruption in no-SIMD contexts

Restore the SIMD usability check that was removed by commit 773426f4771b ("crypto: arm/poly1305 - Add block-only interface").

This safety check is cheap and is well worth eliminating a footgun. While the Poly1305 functions should not be called when SIMD registers are unusable, if they are anyway, they should just do the right thing instead of corrupting random tasks' registers and/or computing incorrect MACs. Fixing this is also needed for poly1305_kunit to pass.

Just use mayusesimd() instead of the original cryptosimdusable(), since poly1305kunit won't rely on cryptosimddisabledfor_test.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39802.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
773426f4771bdd82ac5c834bf4c1775315c73a46
Fixed
87bdfba903be7084cb3ee04032b14a81181fe413
Fixed
52c3e242f4d0043186b70d65460ba1767f27494a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39802.json"