crypto: starfive - Correctly handle return of sg_nents_for_len (Linux Linux)

CVE-2025-68763
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 7883d1b28a2b0e62edcacea22de6b36a1918b15a < 6cd14414394b4f3d6e1ed64b8241d1fcc2271820 ; affected 7883d1b28a2b0e62edcacea22de6b36a1918b15a < 0c3854d65cc4402cb8c52d4d773450a06efecab6 ; affected 7883d1b28a2b0e62edcacea22de6b36a1918b15a < 1af5c973dd744e29fa22121f43e8646b7a7a71a7 ; affected 7883d1b28a2b0e62edcacea22de6b36a1918b15a < 9b3f71cf02e04cfaa482155e3078707fe7f8aef4 ; affected 7883d1b28a2b0e62edcacea22de6b36a1918b15a < e9eb52037a529fbb307c290e9951a62dd728b03d
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.120 ≤ 6.6.* ; unaffected 6.12.63 ≤ 6.12.* ; unaffected 6.17.13 ≤ 6.17.* ; unaffected 6.18.2 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD