CVE-2024-57952 Vulnerability Analysis & Exploit Details

CVE-2024-57952
Vulnerability Scoring

5.5
/10
Significant Risk

Security assessments indicate that CVE-2024-57952 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2024-57952 Details

Status: Analyzed

Last updated: 🕞 14 Feb 2025, 15:52 UTC
Originally published on: 🕑 12 Feb 2025, 14:15 UTC

Time between publication and last update: 2 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVE-2024-57952 Vulnerability Summary

CVE-2024-57952: In the Linux kernel, the following vulnerability has been resolved: Revert "libfs: fix infinite directory reads for offset dir" The current directory offset allocator (based on mtree_alloc_cyclic) stores the next offset value to return in octx->next_offset. This mechanism typically returns values that increase monotonically over time. Eventually, though, the newly allocated offset value wraps back to a low number (say, 2) which is smaller than other already- allocated offset values. Yu Kuai <yukuai3@huawei.com> reports that, after commit 64a7ce76fb90 ("libfs: fix infinite directory reads for offset dir"), if a directory's offset allocator wraps, existing entries are no longer visible via readdir/getdents because offset_readdir() stops listing entries once an entry's offset is larger than octx->next_offset. These entries vanish persistently -- they can be looked up, but will never again appear in readdir(3) output. The reason for this is that the commit treats directory offsets as monotonically increasing integer values rather than opaque cookies, and introduces this comparison: if (dentry2offset(dentry) >= last_index) { On 64-bit platforms, the directory offset value upper bound is 2^63 - 1. Directory offsets will monotonically increase for millions of years without wrapping. On 32-bit platforms, however, LONG_MAX is 2^31 - 1. The allocator can wrap after only a few weeks (at worst). Revert commit 64a7ce76fb90 ("libfs: fix infinite directory reads for offset dir") to prepare for a fix that can work properly on 32-bit systems and might apply to recent LTS kernels where shmem employs the simple_offset mechanism.

Assessing the Risk of CVE-2024-57952

Access Complexity Graph

The exploitability of CVE-2024-57952 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2024-57952

CVE-2024-57952 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2024-57952, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2024-57952, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2024-57952 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2024-57952 poses no threat to data integrity.
  • Availability: High
    CVE-2024-57952 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.042% (probability of exploit)

EPSS Percentile: 5.07% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 94.93% of others.

CVE-2024-57952 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc8:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc8:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2024-57952: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-3275 – The Themesflat Addons For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the TF E Slider widget in all versions up...
  • CVE-2025-1457 – The Element Pack Addons for Elementor – Free Templates and Widgets for Your WordPress Websites plugin for WordPress is vulnerable to Stored Cross-S...
  • CVE-2025-1093 – The AIHub theme for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the generate_image function in all ver...
  • CVE-2025-3284 – The User Registration & Membership – Custom Registration Form, Login Form, and User Profile plugin for WordPress is vulnerable to Cross-Site Reques...
  • CVE-2025-3278 – The UrbanGo Membership plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 1.0.4. This is due to the plugi...