Use After Free Affecting torvalds/linux package, versions [6.5,6.6.18)[6.7,6.7.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20695250
  • published9 Oct 2026
  • disclosed17 Apr 2024
  • creditUnknown

Introduced: 17 Apr 2024

CVE-2024-26824  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.6.18, 6.7.6 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the algif_hash process. An attacker can achieve heap corruption, use-after-free, and arbitrary kernel memory disclosure or modification by triggering a zero-length message hash operation that leads to freeing an uninitialized pointer. This is accomplished by exhausting the socket's optmem so that hash_alloc_result fails, allowing the attacker to control the uninitialized pointer and manipulate kernel memory through local syscalls on an AF_ALG socket.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1