7.8high
crypto: algif_hash - Remove bogus SGL free on zero-length error path
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: algif_hash - Remove bogus SGL free on zero-length error path When a zero-length message is hashed by algif_hash, and an error is triggered, it tries to free an SG list that was never allocated in the first place. Fix this by not freeing the SG list on the zero-length error path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 before 9c82920359b7c1eddaf72069bcfe0ffddf088cd0, from b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 before 775f3c1882a493168e08fdb8cde0865c8f3a8a29, from b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 before 24c890dd712f6345e382256cae8c97abb0406b70, 6.5 Not affected: before 6.5, from 6.6.18 up to 6.6.*, from 6.7.6 up to 6.7.*, from 6.8 up to * | CVE List |
| linux linux_kernel | from 6.5 before 6.6.18, from 6.7 before 6.7.6, 6.8 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: crypto: algif_hash - Remove bogus SGL free on zero-length error path When a zero-length message is hashed by algif_hash, and an error is triggered, it tries to free an SG list that was never allocated in the first place. Fix this by not freeing the SG list on the zero-length error path.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: algif_hash - Eliminar SGL falso libre en ruta de error de longitud cero Cuando algif_hash codifica un mensaje de longitud cero y se activa un error, intenta liberar una lista de SG que nunca fue asignado en primer lugar. Solucione este problema al no liberar la lista SG en la ruta de error de longitud cero.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26824 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-26824 changed 2026-08-04 | Public domain |