CVE-2025-40127hwrng: ks-sa - fix division by zero in ks_sa_rng_init
- —Not scoredno CVSS score yet
- 0.22%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: hwrng: ks-sa - fix division by zero in ks_sa_rng_init Fix division by zero in ks_sa_rng_init caused by missing clock pointer initialization. The clk_get_rate() call is performed on an uninitialized clk pointer, resulting in division by zero when calculating delay values. Add clock initialization code before using the clock. drivers/char/hw_random/ks-sa-rng.c | 7 +++++++ 1 file changed, 7 insertions(+)
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < 692a04a1e0cde1d80a33df0078c755cf02cd7268
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < d76b099011fa056950f63d05ebb6160991242f6a
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < eec7e0e19c1fa75dc65e25aa6a21ef24a03849af
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < f4238064379a91e71a9c258996acac43c50c2094
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < 2b6bcce32cb5aff84588a844a4d3f6dd5353b8e2
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < 55a70e1de75e5ff5f961c79a2cdc6a4468cc2bf2
- affected 6d01d8511dceb9cd40f72eb102b7d24f0b2e997b – < 612b1dfeb414dfa780a6316014ceddf9a74ff5c0
- affected 5.5
- unaffected < 5.5
- unaffected 5.10.246 – ≤ 5.10.*
- unaffected 5.15.195 – ≤ 5.15.*
- unaffected 6.1.156 – ≤ 6.1.*
- unaffected 6.6.112 – ≤ 6.6.*
- unaffected 6.12.53 – ≤ 6.12.*
- unaffected 6.17.3 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References7
- https://git.kernel.org/stable/c/692a04a1e0cde1d80a33df0078c755cf02cd7268 (opens in a new tab)
- https://git.kernel.org/stable/c/d76b099011fa056950f63d05ebb6160991242f6a (opens in a new tab)
- https://git.kernel.org/stable/c/eec7e0e19c1fa75dc65e25aa6a21ef24a03849af (opens in a new tab)
- https://git.kernel.org/stable/c/f4238064379a91e71a9c258996acac43c50c2094 (opens in a new tab)
- https://git.kernel.org/stable/c/2b6bcce32cb5aff84588a844a4d3f6dd5353b8e2 (opens in a new tab)
- https://git.kernel.org/stable/c/55a70e1de75e5ff5f961c79a2cdc6a4468cc2bf2 (opens in a new tab)
- https://git.kernel.org/stable/c/612b1dfeb414dfa780a6316014ceddf9a74ff5c0 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-124956 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40127)Record last updated .