Bugzilla – Bug 1223081
VUL-0: CVE-2024-26824: kernel: crypto: algif_hash: invalid free when a zero-length message is hashed by algif_hash
Last modified: 2024-07-01 16:13:53 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26824 https://www.cve.org/CVERecord?id=CVE-2024-26824 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/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26824.mbox https://bugzilla.redhat.com/show_bug.cgi?id=2275609
All done, closing.