{"id":"CVE-2025-68763","published":"2026-01-05T09:32:35Z","modified":"2026-05-11T21:52:52Z","title":"crypto: starfive - Correctly handle return of sg_nents_for_len","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: starfive - Correctly handle return of sg_nents_for_len\n\nThe return value of sg_nents_for_len was assigned to an unsigned long\nin starfive_hash_digest, causing negative error codes to be converted\nto large positive integers.\n\nAdd error checking for sg_nents_for_len and return immediately on\nfailure to prevent potential buffer overflows.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00279,"percentile":0.13025,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6cd14414394b4f3d6e1ed64b8241d1fcc2271820","tags":[]},{"url":"https://git.kernel.org/stable/c/0c3854d65cc4402cb8c52d4d773450a06efecab6","tags":[]},{"url":"https://git.kernel.org/stable/c/1af5c973dd744e29fa22121f43e8646b7a7a71a7","tags":[]},{"url":"https://git.kernel.org/stable/c/9b3f71cf02e04cfaa482155e3078707fe7f8aef4","tags":[]},{"url":"https://git.kernel.org/stable/c/e9eb52037a529fbb307c290e9951a62dd728b03d","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.6}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7883d1b28a2b0e62edcacea22de6b36a1918b15a, < 6cd14414394b4f3d6e1ed64b8241d1fcc2271820",">= 7883d1b28a2b0e62edcacea22de6b36a1918b15a, < 0c3854d65cc4402cb8c52d4d773450a06efecab6",">= 7883d1b28a2b0e62edcacea22de6b36a1918b15a, < 1af5c973dd744e29fa22121f43e8646b7a7a71a7",">= 7883d1b28a2b0e62edcacea22de6b36a1918b15a, < 9b3f71cf02e04cfaa482155e3078707fe7f8aef4",">= 7883d1b28a2b0e62edcacea22de6b36a1918b15a, < e9eb52037a529fbb307c290e9951a62dd728b03d"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"euvd":{"id":"EUVD-2026-0891","exploited":false,"provenance":"source"}}