CVE-2025-68763 Details
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.
A vulnerability in the Linux kernel's handling of the Starfive crypto component has been addressed. The issue arose because the return value of the 'sg_nents_for_len' function was improperly assigned to an unsigned long in the 'starfive_hash_digest' function. This misassignment allowed negative error codes to be interpreted as large positive integers, potentially leading to buffer overflow vulnerabilities. The patch adds proper error checking for 'sg_nents_for_len' and ensures that the function returns immediately upon encountering a failure, thereby mitigating the risk of buffer overflows.
Users can apply the latest patches from the Linux kernel stable tree to address this vulnerability. The patched version includes the necessary error checks to prevent negative return values from 'sg_nents_for_len' and to avoid potential buffer overflows.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0c3854d65cc4402cb8c52d4d773450a06efecab6 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/1af5c973dd744e29fa22121f43e8646b7a7a71a7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6cd14414394b4f3d6e1ed64b8241d1fcc2271820 | kernel.org | |
| https://git.kernel.org/stable/c/9b3f71cf02e04cfaa482155e3078707fe7f8aef4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e9eb52037a529fbb307c290e9951a62dd728b03d | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| StarFive JH7110 Hash | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 11, 2026 | CVE Modified | kernel.org |
| Jan 5, 2026 | New CVE Received | kernel.org |
Volerion