CVE Database›CVE-2024-40938

CVE-2024-40938

kernel: landlock: Fix d_parent walk

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · July 12, 2024

Updated · November 21, 2025

Description

A vulnerability was found in the Linux kernel's Landlock security module. This issue could trigger a WARN_ON_ONCE() when trying to link a root mount point, as the VFS check was incorrectly done after security_path_link(). This issue was resolved by fixing the d_parent walk in collect_domain_accesses().

Statement

Red Hat Enterprise Linux is not vulnerable to this CVE, as it does not affect the versions or configurations of the Linux kernel used in its distributions.

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 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')