What’s Vulnerable › Vulnerabilities

CVE-2025-68763: crypto: starfive - Correctly handle return of sg_nents_for_len

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: starfive - Correctly handle return of sg_nents_for_len The return value of sg_nents_for_len was assigned to an unsigned long in starfive_hash_digest, causing negative error codes to be converted to large positive integers. Add error checking for sg_nents_for_len and return immediately on failure to prevent potential buffer overflows.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.19. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-68763 or the next vulnerability affects your stack