Bug 2427123 (CVE-2025-68763) - CVE-2025-68763 kernel: crypto: starfive - Correctly handle return of sg_nents_for_len
Summary: CVE-2025-68763 kernel: crypto: starfive - Correctly handle return of sg_nents...
Keywords:
Status: NEW
Alias: CVE-2025-68763
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-05 10:02 UTC by OSIDB Bzimport
Modified: 2026-01-05 10:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-05 10:02:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.