CVE-2025-68763
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-01-05

Last updated on: 2026-01-11

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-05
Last Modified
2026-01-11
Generated
2026-05-07
AI Q&A
2026-01-05
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
starfive linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel's starfive crypto module involves improper handling of the return value from the function sg_nents_for_len. The return value was assigned to an unsigned long, which caused negative error codes to be misinterpreted as large positive integers. This lack of proper error checking could lead to potential buffer overflows. The fix involved adding error checking for sg_nents_for_len and returning immediately on failure to prevent these overflows.


How can this vulnerability impact me? :

The vulnerability can lead to potential buffer overflows in the Linux kernel's starfive crypto module. Buffer overflows can cause system crashes, data corruption, or allow attackers to execute arbitrary code, potentially compromising system security and stability.


What immediate steps should I take to mitigate this vulnerability?

Apply the updated Linux kernel patch that correctly handles the return value of sg_nents_for_len in the starfive_hash_digest function. This patch adds error checking and prevents potential buffer overflows by returning immediately on failure.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart