CVE-2025-68763

published 5 Jan 2026 · updated 11 May 2026

crypto: starfive - Correctly handle return of sg_nents_for_len

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0c3854d65cc4402cb8c52d4d773450a06efecab6, Kernel 1af5c973dd744e29fa22121f43e8646b7a7a71a7, Kernel 6cd14414394b4f3d6e1ed64b8241d1fcc2271820 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.5, >=7883d1b28a2b0e62edcacea22de6b36a1918b15a <0c3854d65cc4402cb8c52d4d773450a06efecab6, >=7883d1b28a2b0e62edcacea22de6b36a1918b15a <1af5c973dd744e29fa22121f43e8646b7a7a71a7, >=7883d1b28a2b0e62edcacea22de6b36a1918b15a <6cd14414394b4f3d6e1ed64b8241d1fcc2271820, >=7883d1b28a2b0e62edcacea22de6b36a1918b15a <9b3f71cf02e04cfaa482155e3078707fe7f8aef4, >=7883d1b28a2b0e62edcacea22de6b36a1918b15a <e9eb52037a529fbb307c290e9951a62dd728b03d0c3854d65cc4402cb8c52d4d773450a06efecab6, 1af5c973dd744e29fa22121f43e8646b7a7a71a7, 6cd14414394b4f3d6e1ed64b8241d1fcc2271820, 9b3f71cf02e04cfaa482155e3078707fe7f8aef4, e9eb52037a529fbb307c290e9951a62dd728b03d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68763 severity on Zeptric[![CVE-2025-68763](https://zeptric.io/badge/cve/CVE-2025-68763.svg)](https://zeptric.io/cve/CVE-2025-68763)