Skip to main content

Linux Kernel CVE-2025-39954

MEDIUM
Divide By Zero (CWE-369)
2025-10-09 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local low-priv access on Allwinner SoC
  2. Exploit
    Trigger dual-divider clock rate readback
  3. Impact
    Divide-by-zero kernel fault (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
Exploitation Conditions

Exploitation requires the system to run on Allwinner (sunxi) SoC hardware using the sunxi-ng clock driver with a dual-divider (MP) clock, and the affected .recalc_rate readback path must be reached - a condition tied to the specific hardware clock topology rather than a toggleable setting. Per the CVSS vector it also requires local access with low privileges (AV:L/PR:L), and no user interaction. Limiting factors: impact is confined to availability (no data exposure), it is not remotely reachable, and affected kernels are limited to the 6.17 release candidates listed in the CPE data, so non-Allwinner platforms and unaffected kernel versions are not at risk.

Impact

This is a low-to-moderate, availability-only Linux kernel bug and not a priority for most environments. The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) describes a local, low-privilege attack with no confidentiality or integrity impact - consistent with CWE-369 (divide-by-zero) causing a crash or hang. No EPSS score, KEV listing, or POC was supplied, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the only exploitation signal is the local availability vector. The bug is in the sunxi-ng dual-divider clock readback path, meaning it is only reachable on Allwinner (sunxi) SoC hardware, further narrowing real-world relevance despite the Linux kernel being ubiquitous. Note a data conflict: the input Tags label this 'Information Disclosure,' but the CVSS vector (C:N, A:H) and CWE-369 both indicate a denial-of-service/divide-by-zero condition, not disclosure - the tag appears mislabeled. Affected CPEs are limited to 6.17 release candidates (rc1-rc6), so production-stable deployments may not be impacted - verify fixed/affected ranges against the two kernel.org stable commits.

Exploit ScenarioDerived

A local, low-privileged user on an Allwinner (sunxi) SoC-based system exercises a dual-divider clock whose rate readback hits the unpatched .recalc_rate path, where the omitted P-divider offset can yield a divide-by-zero. This triggers a kernel fault and denial of service (crash/hang) on the device. No public exploit code was provided, and impact is limited to availability on affected hardware.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Divide-by-zero in the Linux kernel's sunxi-ng dual-divider MP clock rate readback can produce bogus or zero clock rates and potentially crash or destabilize Allwinner sunxi systems. It affects Linux kernel 6.17 release candidates (rc1 through rc6) running on hardware that uses the affected MP clock topology, and the assessed vector requires local access with low privileges. No public exploit has been identified at time of analysis.

RemediationAI

Upstream fix is available as kernel commits https://git.kernel.org/stable/c/25fbbaf515acd13399589bd5ee6de5f35740cef2 and https://git.kernel.org/stable/c/40108f69c372af3aea73e7829d6849a44638d662; a released patched version/build is not independently confirmed in the provided data, so verify the commit is present in the kernel build or install a later distributor kernel that includes it. For affected Allwinner systems that cannot be updated promptly, restrict local shell access to trusted users to reduce exposure from the PR:L prerequisite, and if operationally feasible avoid relying on the sunxi-ng MP clock driver on hardware where those clocks are not needed; these are partial mitigations with the trade-off of reduced local access or loss of clock control. Monitor the vendor advisory links for updated fixed kernel builds.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The sunxi-ng clock framework provides clock control for Allwinner SoCs, and dual-divider MP clocks compute an output rate from the parent rate together with M and P divider values. The .recalc_rate callback failed to incorporate the P divider offset, so readback could return an invalid or zero rate and trigger a divide-by-zero condition, classified as CWE-369. The fix adds the missing P divider term into the rate calculation. CPE data identifies Linux kernel 6.17-rc1 through 6.17-rc6 as the affected release-candidate range, with the exposure tied to Allwinner sunxi hardware using these MP clocks rather than to a configurable software feature.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local user on affected sunxi hardware triggers a divide-by-zero kernel fault (PR:L, AV:L), causing crash with no data exposure, so C:N/I:N and A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

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

clk: sunxi-ng: mp: Fix dual-divider clock rate readback

When dual-divider clock support was introduced, the P divider offset was left out of the .recalc_rate readback function. This causes the clock rate to become bogus or even zero (possibly due to the P divider being 1, leading to a divide-by-zero).

Fix this by incorporating the P divider offset into the calculation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
Allwinner sunxi SoC-specific clock driver, only 6.17-rc kernels affected
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy