Linux Kernel
CVE-2025-39954
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal low-priv access on Allwinner SoC
-
ExploitTrigger dual-divider clock rate readback
-
ImpactDivide-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
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
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.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB