Not scored
crypto: starfive - Correctly handle return of sg_nents_for_len
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7883d1b28a2b0e62edcacea22de6b36a1918b15a before 6cd14414394b4f3d6e1ed64b8241d1fcc2271820, from 7883d1b28a2b0e62edcacea22de6b36a1918b15a before 0c3854d65cc4402cb8c52d4d773450a06efecab6, from 7883d1b28a2b0e62edcacea22de6b36a1918b15a before 1af5c973dd744e29fa22121f43e8646b7a7a71a7, from 7883d1b28a2b0e62edcacea22de6b36a1918b15a before 9b3f71cf02e04cfaa482155e3078707fe7f8aef4, from 7883d1b28a2b0e62edcacea22de6b36a1918b15a before e9eb52037a529fbb307c290e9951a62dd728b03d, 6.5 Not affected: before 6.5, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.*, from 6.18.2 up to 6.18.*, from 6.19 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: crypto: starfive - Manejar correctamente el retorno de sg_nents_for_len El valor de retorno de sg_nents_for_len fue asignado a un unsigned long en starfive_hash_digest, causando que los códigos de error negativos se convirtieran en grandes enteros positivos. Añadir comprobación de errores para sg_nents_for_len y retornar inmediatamente en caso de fallo para prevenir posibles desbordamientos de búfer.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68763 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-68763 changed 2026-10-14 | Public domain |