CVE-2024-49870
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-49870 is a vulnerability discovered in the Linux kernel's cachefiles subsystem. The issue involves a dentry leak in the cachefiles_open_file() function that occurs when a lookup cookie and a cull operation are concurrent. This vulnerability affects Linux kernel versions from 5.17 up to (excluding) 6.1.113, 6.2 up to (excluding) 6.6.55, 6.7 up to (excluding) 6.10.14, and 6.11 up to (excluding) 6.11.3 (NVD).

Technical details

The vulnerability stems from a race condition between cachefiles_lookup_cookie and cachefiles_cull operations. When lookup_one_positive_unlocked obtains a dentry reference, and cachefiles_cull sets the S_KERNEL_FILE flag on the inode, cachefiles_open_file may return false without properly releasing the dentry reference. This results in a dentry leak that becomes apparent when attempting to unmount the backend folder, triggering a kernel warning (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 MEDIUM with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition through resource exhaustion when the affected system attempts to unmount the backend folder. This is evidenced by the kernel warning message indicating a dentry still in use during unmount operations (Kernel Patch).

Exploitability

The vulnerability requires local access and can be triggered through specific filesystem operations involving the cachefiles subsystem. It has been confirmed to be exploitable through concurrent operations between cachefiles_lookup_cookie and cachefiles_cull (Kernel Patch).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that properly manages the dentry reference count in cachefiles_look_up_object(). The fix involves releasing the reference count obtained by lookup_positive_unlocked() in the correct location. Users should upgrade to Linux kernel versions 6.1.113, 6.6.55, 6.10.14, or 6.11.3 or later to address this vulnerability (NVD, 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-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 12, 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