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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 05 Jan 2026 12:15:00 +0000


Mon, 05 Jan 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title crypto: starfive - Correctly handle return of sg_nents_for_len
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-01-05T09:32:35.678Z

Reserved: 2025-12-24T10:30:51.034Z

Link: CVE-2025-68763

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-05T10:15:57.467

Modified: 2026-01-05T10:15:57.467

Link: CVE-2025-68763

cve-icon Redhat

Severity :

Publid Date: 2026-01-05T00:00:00Z

Links: CVE-2025-68763 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses

No weakness.