Menu

Star on GitHub · 3.2k

CVE-2024-49870

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: cachefiles: fix dentry leak in cachefiles_open_file() A dentry leak may be caused when a lookup cookie and a cull are concurren…

Published Oct 21, 2024CWE-401EPSS 0.24%

Overview

CVE-2024-49870 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

cachefiles: fix dentry leak in cachefiles_open_file()

A dentry leak may be caused when a lookup cookie and a cull are concurrent:

P1 | P2

-----------------------------------------------------------

cachefiles_lookup_cookie

cachefiles_look_up_object

lookup_one_positive_unlocked

// get dentry

cachefiles_cull

inode->i_flags |= S_KERNEL_FILE;

cachefiles_open_file

cachefiles_mark_inode_in_use

__cachefiles_mark_inode_in_use

can_use = false

if (!(inode->i_flags & S_KERNEL_FILE))

can_use = true

return false

return false

// Returns an error but doesn't put dentry

After that the following WARNING will be triggered when the backend folder

is umounted:

==================================================================

BUG: Dentry 000000008ad87947{i=7a,n=D

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-49870?

CVE-2024-49870 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-49870?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-49870?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-49870?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-49870 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all