Critical Vulnerability in Linux Kernel: Removal of Bogus SGL Free on Zero-Length Error Path

linux Updated 02 Oct 2025

Summary

17/04/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26824: 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 t... Affects linux versions < 6.7.7-1. Fixed in 6.7.7-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing system resources and hardware interactions. It provides essential services for all other parts of the operating system, including process management, memory management, and device control. The kernel is highly modular and supports a wide range of hardware architectures. However, like any complex software, it is susceptible to vulnerabilities that can affect system stability and security.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the crypto subsystem, specifically within the algif_hash implementation. When a zero-length message is hashed, an error can occur that leads to an attempt to free a scatter-gather (SG) list that was never allocated. This flaw could potentially lead to undefined behavior or system crashes, compromising the integrity and reliability of the kernel. The vulnerability is classified as DEBIAN-CVE-2024-26824 and affects both Debian 13 and 14 versions of the Linux package.

How To Fix

Minimum fixed version

6.7.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

The vulnerability identified as DEBIAN-CVE-2024-26824 in the Linux kernel poses significant risks to system stability and security. Users are strongly advised to update their kernel to the fixed version 6.7.7-1 to mitigate potential threats. Regular monitoring and timely updates are essential for maintaining a secure system.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

DEBIAN-CVE-2024-26824 is a vulnerability in the Linux kernel that affects the handling of zero-length messages in the crypto subsystem.

This vulnerability could lead to undefined behavior or system crashes, potentially compromising system stability and security.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Yes, a patch is available in version 6.7.7-1 of the Linux kernel. Users should update to this version to mitigate the vulnerability.

While there are no specific workarounds, it is crucial to prioritize updating your kernel to the patched version as soon as possible to ensure system security.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback