All reports
Low

kernel: crypto: algif_hash - Remove bogus SGL free on zero-length error path

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-26824

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-21

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.

A flaw was found in the Linux kernel's crypto subsystem. When processing zero-length messages in the hash algorithm interface (algif_hash), an error condition causes the kernel to attempt to free an unallocated scatter-gather list (SGL) buffer. A local attacker could exploit this vulnerability to trigger memory corruption, potentially leading to a system crash and Denial of Service (DoS).