CVE-2025-40127
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-12

Last updated on: 2025-11-12

Assigner: kernel.org

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(+)
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-12
Last Modified
2025-11-12
Generated
2026-05-07
AI Q&A
2025-11-13
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a division by zero error in the Linux kernel's hardware random number generator driver (ks-sa). It occurs because a clock pointer was not initialized before calling clk_get_rate(), which leads to a division by zero when calculating delay values. The fix involved adding clock initialization code before using the clock.


How can this vulnerability impact me? :

The vulnerability can cause a division by zero error in the kernel, which may lead to system instability or crashes when the affected hardware random number generator driver is used.


What immediate steps should I take to mitigate this vulnerability?

Update the Linux kernel to a version that includes the fix for the division by zero in ks_sa_rng_init. The fix involves proper initialization of the clock pointer before its use, preventing the division by zero error. Applying the patch or upgrading to the fixed kernel version will mitigate the vulnerability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart