{"id":"CVE-2024-26824","summary":"crypto: algif_hash - Remove bogus SGL free on zero-length error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: algif_hash - Remove bogus SGL free on zero-length error path\n\nWhen a zero-length message is hashed by algif_hash, and an error\nis triggered, it tries to free an SG list that was never allocated\nin the first place.  Fix this by not freeing the SG list on the\nzero-length error path.","modified":"2026-05-28T03:54:13.363882144Z","published":"2024-04-17T09:43:50.485Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26824.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24c890dd712f6345e382256cae8c97abb0406b70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/775f3c1882a493168e08fdb8cde0865c8f3a8a29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c82920359b7c1eddaf72069bcfe0ffddf088cd0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26824.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26824"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4"},{"fixed":"9c82920359b7c1eddaf72069bcfe0ffddf088cd0"},{"fixed":"775f3c1882a493168e08fdb8cde0865c8f3a8a29"},{"fixed":"24c890dd712f6345e382256cae8c97abb0406b70"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26824.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.18"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26824.json"}}],"schema_version":"1.7.5"}