# CVE-2025-39804: lib/crypto: arm64/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:46.483Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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

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

Restore the SIMD usability check that was removed by commit a59e5468a921
("crypto: arm64/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 a59e5468a921937cb7317892779c67046ad9f5cc before ef74efa598b7bbc5c24509f7f56af2806f81c339; from a59e5468a921937cb7317892779c67046ad9f5cc before eec76ea5a7213c48529a46eed1b343e5cee3aaab; 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/ef74efa598b7bbc5c24509f7f56af2806f81c339> (patch)
- <https://git.kernel.org/stable/c/eec76ea5a7213c48529a46eed1b343e5cee3aaab> (patch)

## Sources

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

---

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