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-39802

published high CVSS 3.1 · 7.5

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

Published
15 Sep 2025, 12:36:44 UTC
Updated
05 Aug 2026, 12:05:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux773426f4771bdd82ac5c834bf4c1775315c73a46 to < 87bdfba903be7084cb3ee04032b14a81181fe413 · 773426f4771bdd82ac5c834bf4c1775315c73a46 to < 52c3e242f4d0043186b70d65460ba1767f27494a · 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: 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.

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 through WireGuard, IPsec ESP (rfc7539esp) and kTLS on 32-bit ARM routers, IoT gateways and automotive units, so an off-path attacker's packets are what cause the vulnerable `poly1305_blocks_arch()` invocation. No local access to the target is required. 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(in_hardirq())`/`BUG_ON(irqs_disabled())` in ARM's `kernel_neon_begin()` fires deterministically, and the attacker only has to keep sending traffic that gets MAC-verified. PR:N - For ChaCha20-Poly1305 AEAD the Poly1305 tag computation *is* the authentication step, so it processes an unauthenticated peer's packet before any credential is validated (e.g. WireGuard handshake-initiation and cookie messages accepted from any source address); no account or key on the target is needed. UI:N - Packet reception and the resulting AEAD tag verification happen automatically inside the kernel with no action by any local user or administrator. 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 ARM the `BUG_ON` pair in `kernel_neon_begin()` traps before any NEON instruction executes, so the VFP/NEON register leak the check guards against is not reached in the `have_neon` configuration and no kernel 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(in_hardirq())`/`BUG_ON(irqs_disabled())` raises a kernel BUG from interrupt or IRQ-disabled context, producing a fatal exception in interrupt / panic that takes down the whole system, and it can be re-triggered simply by resending traffic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 773426f4771bdd82ac5c834bf4c1775315c73a46 to < 87bdfba903be7084cb3ee04032b14a81181fe413 (affected · git)773426f4771bdd82ac5c834bf4c1775315c73a46 to < 52c3e242f4d0043186b70d65460ba1767f27494a (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: arm/poly1305: Fix register corruption in no-SIMD contexts

Provenance

Schema
5.2
Searchable
yes
Content hash
cb5aefd1e96baad2510a60cec25366fb4d1fa8aefb0c06463e15bb73f5d235bd
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