Skip to main content
Network Thinking Solutions Logo

CVE-2024-40938

Linux kernel: landlock: Fix d_parent walk

All CVEs
CVE-2024-40938Published 7/12/2024

Linux kernel: landlock: Fix d_parent walk

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: landlock: Fix d_parent walk The WARN_ON_ONCE() in collect_domain_accesses() can be triggered when trying to link a root mount point. This cannot work in practice because this directory is mounted, but the VFS check is done after the call to security_path_link(). Do not use source directory's d_parent when the source directory is the mount point. [mic: Fix commit message]

Published
7/12/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.19, < 6.1.95

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.35

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.6

Verify advisory

Source
linux kernel
linux
6.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ b91c3e4ea756b12b7d992529226edce1cfd854d7, < b6e5e696435832b33e40775f060ef5c95f4fda1f

Verify advisory

Source
Linux
Linux
≥ b91c3e4ea756b12b7d992529226edce1cfd854d7, < cc30d05b34f9a087a6928d09b131f7b491e9ab11

Verify advisory

Source
Linux
Linux
≥ b91c3e4ea756b12b7d992529226edce1cfd854d7, < c7618c7b0b8c45bcef34410cc1d1e953eb17f8f6

Verify advisory

Source
Linux
Linux
≥ b91c3e4ea756b12b7d992529226edce1cfd854d7, < 88da52ccd66e65f2e63a6c35c9dff55d448ef4dc

Verify advisory

Source
Linux
Linux
5.19

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.