CVE-2024-26824

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

State
Published
Severity
7.8 High
Published
Apr 17, 2024
Updated
Aug 5, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 to before 9c82920359b7c1eddaf72069bcfe0ffddf088cd0Affected
  • b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 to before 775f3c1882a493168e08fdb8cde0865c8f3a8a29Affected
  • b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 to before 24c890dd712f6345e382256cae8c97abb0406b70Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.18 through 6.6.*Not affected
  • 6.7.6 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.