NONE · 0

CVE-2025-40127

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 initi...

Vulnerability 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(+)

References

FAQ

What is CVE-2025-40127?

CVE-2025-40127 is a documented vulnerability. 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 initi...

How severe is CVE-2025-40127?

CVSS scoring is not yet available for CVE-2025-40127. Check NVD for updates.

Is there a patch for CVE-2025-40127?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.