{"id":"CVE-2025-39804","summary":"lib/crypto: arm64/poly1305: Fix register corruption in no-SIMD contexts","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/crypto: arm64/poly1305: Fix register corruption in no-SIMD contexts\n\nRestore the SIMD usability check that was removed by commit a59e5468a921\n(\"crypto: arm64/poly1305 - Add block-only interface\").\n\nThis safety check is cheap and is well worth eliminating a footgun.\nWhile the Poly1305 functions should not be called when SIMD registers\nare unusable, if they are anyway, they should just do the right thing\ninstead of corrupting random tasks' registers and/or computing incorrect\nMACs.  Fixing this is also needed for poly1305_kunit to pass.\n\nJust use may_use_simd() instead of the original crypto_simd_usable(),\nsince poly1305_kunit won't rely on crypto_simd_disabled_for_test.","modified":"2026-04-02T12:48:09.867993Z","published":"2025-09-15T12:36:46.483Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39804.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/eec76ea5a7213c48529a46eed1b343e5cee3aaab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef74efa598b7bbc5c24509f7f56af2806f81c339"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39804.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39804"},{"type":"PACKAGE","url":"https://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":"a59e5468a921937cb7317892779c67046ad9f5cc"},{"fixed":"ef74efa598b7bbc5c24509f7f56af2806f81c339"},{"fixed":"eec76ea5a7213c48529a46eed1b343e5cee3aaab"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39804.json"}}],"schema_version":"1.7.5"}