What’s Vulnerable › Vulnerabilities

CVE-2024-26824: crypto: algif_hash - Remove bogus SGL free on zero-length error path

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

How to fix

Upgrade to a fixed version: Linux kernel 6.6.18, 6.7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26824 or the next vulnerability affects your stack