{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68763","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-12-24T10:30:51.034Z","datePublished":"2026-01-05T09:32:35.678Z","dateUpdated":"2026-05-11T21:52:52.779Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:52:52.779Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/starfive/jh7110-hash.c"],"versions":[{"version":"7883d1b28a2b0e62edcacea22de6b36a1918b15a","lessThan":"6cd14414394b4f3d6e1ed64b8241d1fcc2271820","status":"affected","versionType":"git"},{"version":"7883d1b28a2b0e62edcacea22de6b36a1918b15a","lessThan":"0c3854d65cc4402cb8c52d4d773450a06efecab6","status":"affected","versionType":"git"},{"version":"7883d1b28a2b0e62edcacea22de6b36a1918b15a","lessThan":"1af5c973dd744e29fa22121f43e8646b7a7a71a7","status":"affected","versionType":"git"},{"version":"7883d1b28a2b0e62edcacea22de6b36a1918b15a","lessThan":"9b3f71cf02e04cfaa482155e3078707fe7f8aef4","status":"affected","versionType":"git"},{"version":"7883d1b28a2b0e62edcacea22de6b36a1918b15a","lessThan":"e9eb52037a529fbb307c290e9951a62dd728b03d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/starfive/jh7110-hash.c"],"versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.63","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.13","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18.2","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.17.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.19"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6cd14414394b4f3d6e1ed64b8241d1fcc2271820"},{"url":"https://git.kernel.org/stable/c/0c3854d65cc4402cb8c52d4d773450a06efecab6"},{"url":"https://git.kernel.org/stable/c/1af5c973dd744e29fa22121f43e8646b7a7a71a7"},{"url":"https://git.kernel.org/stable/c/9b3f71cf02e04cfaa482155e3078707fe7f8aef4"},{"url":"https://git.kernel.org/stable/c/e9eb52037a529fbb307c290e9951a62dd728b03d"}],"title":"crypto: starfive - Correctly handle return of sg_nents_for_len","x_generator":{"engine":"bippy-1.2.0"}}}}