1. Home
  2. Vulnerabilities
  3. CVE-2025-68763

CVE-2025-68763

crypto: starfive - Correctly handle return of sg_nents_for_len

Published 5 Jan 2026 · modified 14 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 13/100

Summary

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 and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 6.5 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated