What’s Vulnerable › Vulnerabilities
CVE-2024-26824: crypto: algif_hash - Remove bogus SGL free on zero-length error path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-17 · updated 2026-08-04
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 products
- Linux kernel: from 6.5 before 6.6.18; from 6.7 before 6.7.6; 6.8-rc1, 6.8-rc2, 6.8-rc3 — fixed in 6.6.18, 6.7.6
How to fix
Upgrade to a fixed version: Linux kernel 6.6.18, 6.7.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/24c890dd712f6345e382256cae8c97abb0406b70
- https://git.kernel.org/stable/c/775f3c1882a493168e08fdb8cde0865c8f3a8a29
- https://git.kernel.org/stable/c/9c82920359b7c1eddaf72069bcfe0ffddf088cd0
- https://git.kernel.org/stable/c/24c890dd712f6345e382256cae8c97abb0406b70
- https://git.kernel.org/stable/c/775f3c1882a493168e08fdb8cde0865c8f3a8a29
- https://git.kernel.org/stable/c/9c82920359b7c1eddaf72069bcfe0ffddf088cd0
Get alerted when CVE-2024-26824 or the next vulnerability affects your stack