CVE-2024-26840
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26840 is a memory leak vulnerability discovered in the Linux kernel's cachefiles subsystem, specifically in the cachefiles_add_cache() function. The vulnerability was disclosed on April 17, 2024, affecting Linux kernel versions from 2.6.30 up to versions before 4.19.309, 5.4.271, 5.10.212, 5.15.151, 6.1.80, 6.6.19, and 6.7.7 (NVD).

Technical details

The vulnerability manifests as a memory leak that occurs after unbinding /dev/cachefiles, where an unreferenced object of size 192 bytes remains allocated. The issue stems from improper handling of the cache_cred reference count in the cachefiles_daemon_unbind() function and cachefiles_add_cache() error branch. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to memory leaks in the Linux kernel, potentially causing system resource depletion over time. While it doesn't allow for information disclosure or system compromise, it can affect system availability through resource exhaustion (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. The attack complexity is low, but user interaction is not required for exploitation. The scope is unchanged, meaning the impact is limited to the vulnerable component (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding proper reference count handling for cache_cred in both cachefiles_daemon_unbind() and cachefiles_add_cache() functions. The fix has been implemented in various Linux kernel versions through patches. Users should update their Linux kernel to the latest patched version (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-7.0
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg-5.15
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-gcp-fips
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management