CVE Database›CVE-2024-42305

CVE-2024-42305

kernel: ext4: check dot and dotdot of dx_root before making dir indexed

Loading…

Severity

Moderate

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · August 17, 2024

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's ext4 filesystem. When converting a directory to an indexed format, the system incorrectly assumes the presence of "dot" and "dotdot" entries. A local attacker could create a specially crafted filesystem image that, when processed during a rename operation, triggers an out-of-bounds access. This vulnerability can lead to a system crash, resulting in a Denial of Service (DoS).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

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

CWE-125 · Out-of-bounds Read