# CVE-2025-39802: lib/crypto: arm/poly1305: Fix register corruption in no-SIMD contexts

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-09-15T12:36:44.792Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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 may_use_simd() instead of the original crypto_simd_usable(),
since poly1305_kunit won't rely on crypto_simd_disabled_for_test.

(As written by CVE List.)

## Affected

- Linux Linux: from 773426f4771bdd82ac5c834bf4c1775315c73a46 before 87bdfba903be7084cb3ee04032b14a81181fe413; from 773426f4771bdd82ac5c834bf4c1775315c73a46 before 52c3e242f4d0043186b70d65460ba1767f27494a; 6.16 (not affected: before 6.16; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.16 before 6.16.4

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/87bdfba903be7084cb3ee04032b14a81181fe413> (patch)
- <https://git.kernel.org/stable/c/52c3e242f4d0043186b70d65460ba1767f27494a> (patch)

## Sources

- CVE List: [CVE-2025-39802](https://www.cve.org/CVERecord?id=CVE-2025-39802), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-39802](https://nvd.nist.gov/vuln/detail/CVE-2025-39802), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39802 · Whole record: https://cve.day/CVE-2025-39802.json · Rebuilt by cve.day 2026-11-25T22:59:04.653Z
