Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39804

published high CVSS 3.1 · 7.5

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

Published
15 Sep 2025, 12:36:46 UTC
Updated
05 Aug 2026, 12:05:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa59e5468a921937cb7317892779c67046ad9f5cc to < ef74efa598b7bbc5c24509f7f56af2806f81c339 · a59e5468a921937cb7317892779c67046ad9f5cc to < eec76ea5a7213c48529a46eed1b343e5cee3aaab · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - Poly1305 is the MAC half of ChaCha20-Poly1305 and is driven directly by remote peer data in WireGuard, IPsec ESP (rfc7539esp) and kTLS on arm64 routers, phones and cloud servers, so an off-path attacker's packets are what cause the vulnerable `poly1305_blocks_arch()` invocation. AC:L - There is no race to win and no memory layout to groom; once the MAC computation runs in a context where SIMD is unusable the `BUG_ON(!may_use_simd())` in `kernel_neon_begin()` fires deterministically, and the attacker only has to send traffic that is MAC-verified. PR:N - For ChaCha20-Poly1305 AEAD the Poly1305 tag computation is itself the authentication step, so it processes an unauthenticated peer's packet before any credential is validated; no account or key on the target is needed. UI:N - Packet reception and the resulting AEAD tag verification happen automatically in the kernel with no action by any local user. S:U - The fault and its consequences are entirely within the kernel's own security authority; no VM, IOMMU or sandbox boundary is crossed. C:N - On arm64 the `BUG_ON` in `kernel_neon_begin()` traps before any NEON instruction executes, so the FPSIMD-register leak that the check guards against cannot be reached in the `have_neon` configuration and no memory is disclosed. I:N - The trap gives the attacker no write primitive, and a Poly1305 tag computed from a disturbed state fails closed on verification rather than allowing forged data to be accepted. A:H - Hitting `BUG_ON(!may_use_simd())` raises a kernel BUG from interrupt context, producing a fatal exception in interrupt / panic that takes down the whole system, and it can be re-triggered by simply resending traffic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a59e5468a921937cb7317892779c67046ad9f5cc to < ef74efa598b7bbc5c24509f7f56af2806f81c339 (affected · git)a59e5468a921937cb7317892779c67046ad9f5cc to < eec76ea5a7213c48529a46eed1b343e5cee3aaab (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
4092e3dfd3a9cda51ef2d179ad87ece071d1e136038e7a33428ae5186eae667a
Ingested
23 Sep 2026, 08:47:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected